Merge branch 'dev-water-xu' into dev

liujun-2024-05-23-接口漏洞修复
water_xu 2024-04-19 18:07:58 +08:00
commit a088c7c173
1 changed files with 7 additions and 0 deletions

View File

@ -219,6 +219,10 @@
<if test="pd.USER_ID != null and pd.USER_ID != ''"><!-- 关键词检索 --> <if test="pd.USER_ID != null and pd.USER_ID != ''"><!-- 关键词检索 -->
and f.USER_ID = #{pd.USER_ID} and f.USER_ID = #{pd.USER_ID}
</if> </if>
<if test="pd.STARTTIME != null and pd.STARTTIME != '' and pd.ENDTIME != null and pd.ENDTIME != ''"><!-- 日期范围检索 -->
and DATE(f.SIGNTIME) between DATE(#{pd.STARTTIME}) and DATE(#{pd.ENDTIME})
</if>
AND f.ISPROMISE_PEOPLE = '0' AND f.ISPROMISE_PEOPLE = '0'
ORDER BY f.SIGNTIME desc ORDER BY f.SIGNTIME desc
</select> </select>
@ -241,6 +245,9 @@
<if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 --> <if test="pd.KEYWORDS != null and pd.KEYWORDS != ''"><!-- 关键词检索 -->
and f.PROMISE_NAME LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%') and f.PROMISE_NAME LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%')
</if> </if>
<if test="pd.STARTTIME != null and pd.STARTTIME != '' and pd.ENDTIME != null and pd.ENDTIME != ''"><!-- 日期范围检索 -->
and DATE(f.SIGNTIME) between DATE(#{pd.STARTTIME}) and DATE(#{pd.ENDTIME})
</if>
AND f.ISPROMISE_PEOPLE = '0' AND f.ISPROMISE_PEOPLE = '0'
ORDER BY f.SIGNTIME desc ORDER BY f.SIGNTIME desc
</select> </select>