修改灾害分页列表查询条件-liyuchen

This commit is contained in:
李宇辰 2023-04-25 16:14:51 +08:00
parent d7dc4eb2e1
commit 839a033a64
1 changed files with 4 additions and 1 deletions

View File

@ -216,7 +216,10 @@
and d.chief_id = #{callForHelpVo.chiefIdEquals}
</if>
<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>
</where>
order by d.upload_time desc