bug修复
This commit is contained in:
parent
cc82eea09e
commit
daec444f42
|
|
@ -1133,7 +1133,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
LEFT JOIN sys_dict_data sd on sd.dict_value = mm.ma_status and sd.dict_type = "ma_machine_status"
|
LEFT JOIN sys_dict_data sd on sd.dict_value = mm.ma_status and sd.dict_type = "ma_machine_status"
|
||||||
AND bu.del_flag = '0'
|
AND bu.del_flag = '0'
|
||||||
LEFT JOIN ma_type_repair mtr ON mm.type_id = mtr.type_id
|
LEFT JOIN ma_type_repair mtr ON mm.type_id = mtr.type_id
|
||||||
WHERE sai.`status`=0 and mm.ma_status = '2'
|
WHERE sai.`status`=0 and mm.ma_status = '2' and sai.is_slt = 0
|
||||||
<if test="userId != null">
|
<if test="userId != null">
|
||||||
and mtr.user_id = #{userId}
|
and mtr.user_id = #{userId}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue