Explorar o código

模板状态查询

he2802 %!s(int64=4) %!d(string=hai) anos
pai
achega
99408b9fa6

+ 6 - 0
zhongzheng-system/src/main/resources/mapper/modules/recruit/RecruitTemplateMapper.xml

@@ -47,6 +47,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="companyName != null and companyName != ''">
             AND vtc.company_name like concat('%', #{companyName}, '%')
         </if>
+        <if test="status != null and status.size()!=0 ">
+            AND rt.status in
+            <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
         ORDER BY
         rt.id DESC
     </select>