设备故障描述选择修改

master
Yangwl 7 days ago
parent 719d1e1636
commit 36258b867a

@ -22,7 +22,10 @@
</resultMap>
<sql id="selectEquFaultDescriptionVo">
select fault_id, fault_code, fault_type, fault_subclass, fault_remark, factory_code, attr1, attr2, attr3, del_flag, create_by, create_time, update_by, update_time from equ_fault_description
select efd.fault_id, efd.fault_code, efd.fault_type, efd.fault_subclass, efd.fault_remark,
efd.factory_code, efd.attr1, efd.attr2, efd.attr3, efd.del_flag, efd.create_by, efd.create_time,
efd.update_by, efd.update_time from equ_fault_description efd
LEFT JOIN equ_faultdes_dict efdi ON efd.fault_id= efdi.fault_id
</sql>
<select id="selectEquFaultDescriptionList" parameterType="EquFaultDescription"
@ -36,7 +39,7 @@
</if>
<if test="faultRemark != null and faultRemark != ''">and fault_remark = #{faultRemark}</if>
<if test="factoryCode != null and factoryCode != ''">and factory_code = #{factoryCode}</if>
<if test="attr1 != null and attr1 != ''">and attr1 = #{attr1}</if>
<if test="attr1 != null and attr1 != ''">and efdi.dict_value = #{attr1}</if>
<if test="attr2 != null and attr2 != ''">and attr2 = #{attr2}</if>
<if test="attr3 != null and attr3 != ''">and attr3 = #{attr3}</if>
<if test="delFlag != null and delFlag != ''">and del_flag = #{delFlag}</if>

Loading…
Cancel
Save