Przeglądaj źródła

fix 照片需求城市查找

he2802 4 lat temu
rodzic
commit
1e85d9080b

+ 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>