隐患治理 - 一般隐患台账搜索条件增加是否相关方

pet-图片单独上传接口-2024.8.28-徐绎丰
water_xu 2024-07-15 16:12:03 +08:00
parent 1e92be6166
commit 9709c99b30
1 changed files with 4 additions and 0 deletions

View File

@ -341,6 +341,7 @@
<select id="getListdatalistPage" parameterType="page" resultType="pd"> <select id="getListdatalistPage" parameterType="page" resultType="pd">
SELECT SELECT
f.HIDDEN_ID, f.HIDDEN_ID,
f.ISRELEVANT,
f.SOURCE, f.SOURCE,
f.HIDDENDESCR, f.HIDDENDESCR,
f.RECTIFICATIONTYPE, f.RECTIFICATIONTYPE,
@ -389,6 +390,9 @@
<if test="pd.CORPINFO_ID != null and pd.CORPINFO_ID != ''"><!-- 企业ID --> <if test="pd.CORPINFO_ID != null and pd.CORPINFO_ID != ''"><!-- 企业ID -->
and f.CORPINFO_ID = #{pd.CORPINFO_ID} and f.CORPINFO_ID = #{pd.CORPINFO_ID}
</if> </if>
<if test="pd.isrelevant != null and pd.isrelevant != ''"><!-- 是否相关方 -->
and f.ISRELEVANT = #{pd.isrelevant}
</if>
<if test="pd.hiddendescr != null and pd.hiddendescr != ''"><!-- 隐患描述 --> <if test="pd.hiddendescr != null and pd.hiddendescr != ''"><!-- 隐患描述 -->
and (f.HIDDENDESCR LIKE CONCAT(CONCAT('%', #{pd.hiddendescr}),'%')) and (f.HIDDENDESCR LIKE CONCAT(CONCAT('%', #{pd.hiddendescr}),'%'))
</if> </if>