This commit is contained in:
马三炮 2025-04-29 09:24:41 +08:00
parent b5c57acfa5
commit 14e678c32f
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@
FROM sys_distinct sd
LEFT JOIN sys_distinct sd2 ON sd.p_id = sd2.id
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.pro_status
where tp.is_active = '1'
<if test="departName != '' and departName != null">and td.depart_name like concat('%', #{departName}, '%')</if>
<if test="proName != '' and proName != null"> and tp.pro_name like concat('%', #{proName}, '%')</if>