Browse Source

增加查询条件

dev_shibei_match
sunyuchao 4 years ago
parent
commit
1b5f8787b8
  1. 6
      epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcPlacePatrolRecordDao.xml

6
epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcPlacePatrolRecordDao.xml

@ -43,6 +43,12 @@
<if test="ninePlaceVal != null and ninePlaceVal.trim() != ''"> <if test="ninePlaceVal != null and ninePlaceVal.trim() != ''">
AND a.nine_place_val = #{ninePlaceVal} AND a.nine_place_val = #{ninePlaceVal}
</if> </if>
<if test="firstResult != null and firstResult.trim() != ''">
AND a.first_result = #{firstResult}
</if>
<if test="finalResult != null and finalResult.trim() != ''">
AND a.final_result = #{finalResult}
</if>
<if test="placeOrgName != null and placeOrgName.trim() != ''"> <if test="placeOrgName != null and placeOrgName.trim() != ''">
AND a.place_org_id IN (select id from ic_place_org where place_org_name like concat('%', #{placeOrgName}, '%')) AND a.place_org_id IN (select id from ic_place_org where place_org_name like concat('%', #{placeOrgName}, '%'))
</if> </if>

Loading…
Cancel
Save