소스 검색

fix 照片需求城市查找

he2802 4 년 전
부모
커밋
1e85d9080b
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/recruit/RecruitNeedsMapper.xml

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/recruit/RecruitNeedsMapper.xml

@@ -56,6 +56,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="companyId != null and companyId != ''" >
             AND rn.companyId = #{companyId}
         </if>
+        <if test="city != null and city != ''">
+            AND rn.city like concat('%', #{city}, '%')
+        </if>
         <if test="job != null and job != ''">
             AND rn.job like concat('%', #{job}, '%')
         </if>