线路工程管理

This commit is contained in:
马三炮 2025-04-25 14:16:54 +08:00
parent 4411ed49cb
commit 1c38205ade
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@
WHERE sd2.dict_code = 'pro_status' AND sd.del_flag = 0 WHERE sd2.dict_code = 'pro_status' AND sd.del_flag = 0
) B ON B.dict_value = tp.voltage_level ) B ON B.dict_value = tp.voltage_level
where tp.is_active = '1' where tp.is_active = '1'
<if test="departName != '' and departName != null">and td.depart_name = #{departName}</if> <if test="departName != '' and departName != null">and td.depart_name like concat('%', #{departName}, '%')</if>
<if test="proName != '' and proName != null"> and tp.pro_name = #{proName}</if> <if test="proName != '' and proName != null"> and tp.pro_name = #{proName}</if>
<if test="proStatus != '' and proStatus != null"> and tp.pro_status = #{proStatus}</if> <if test="proStatus != '' and proStatus != null"> and tp.pro_status = #{proStatus}</if>
</select> </select>