设备类型下拉选增加单位字段
This commit is contained in:
parent
22e961a6b1
commit
279fc309b3
|
|
@ -13,4 +13,6 @@ public class SelectVo {
|
|||
|
||||
/** 名称*/
|
||||
private String name;
|
||||
|
||||
private String unit;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue