This commit is contained in:
glj 2023-04-25 18:34:42 +08:00
commit 1056c903fd
1 changed files with 4 additions and 1 deletions

View File

@ -217,7 +217,10 @@
and d.chief_id = #{callForHelpVo.chiefIdEquals} and d.chief_id = #{callForHelpVo.chiefIdEquals}
</if> </if>
<if test="callForHelpVo.disasterType != null and callForHelpVo.disasterType != ''"> <if test="callForHelpVo.disasterType != null and callForHelpVo.disasterType != ''">
and bdb.dict_value like concat('%', #{callForHelpVo.disasterType},'%') and d.disaster_type = #{callForHelpVo.disasterType}
</if>
<if test="callForHelpVo.disasterCountry != null and callForHelpVo.disasterCountry != ''">
and d.disaster_country like concat('%', #{callForHelpVo.disasterCountry},'%')
</if> </if>
</where> </where>
order by d.upload_time desc order by d.upload_time desc