fix(mapper): 修复关键项目查询参数传递问题

dev
zhaokai 2026-07-22 11:37:58 +08:00
parent 780dce2294
commit dc89f788c1
1 changed files with 4 additions and 4 deletions

View File

@ -579,11 +579,11 @@
WHERE kp.delete_enum = 'FALSE' WHERE kp.delete_enum = 'FALSE'
AND kp.apply_status IN (2, 4, 5) AND kp.apply_status IN (2, 4, 5)
<if test="corpinfoId != null"> <if test="params.corpinfoId != null">
AND kp.corpinfo_id = #{corpinfoId} AND kp.corpinfo_id = #{params.corpinfoId}
</if> </if>
<if test="portArea != null"> <if test="params.portArea != null">
AND cp.port_area = #{portArea} AND cp.port_area = #{params.portArea}
</if> </if>
ORDER BY kp.apply_status ASC, kp.create_time DESC ORDER BY kp.apply_status ASC, kp.create_time DESC
</select> </select>