设备类型下拉选增加单位字段

This commit is contained in:
hayu 2025-03-08 10:41:19 +08:00
parent 22e961a6b1
commit 279fc309b3
2 changed files with 5 additions and 1 deletions

View File

@ -13,4 +13,6 @@ public class SelectVo {
/** 名称*/
private String name;
private String unit;
}

View File

@ -52,10 +52,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="getMaTypeDataById" resultType="com.bonus.sgzb.material.domain.SelectVo">
SELECT type_id AS id,
type_name AS `name`
type_name AS `name`,
unit_name as unit
FROM ma_type
WHERE del_flag = '0'
AND parent_id = #{id}
and level = '4'
</select>
<!--数据字典下拉选-->
<select id="getDictByPidCbx" resultType="com.bonus.sgzb.material.domain.SelectVo">