|
@@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="deptId" column="dept_id" />
|
|
|
<result property="applyStatus" column="apply_status" />
|
|
|
+ <result property="applyStatusString" column="apply_status_string" />
|
|
|
<result property="apNo" column="ap_no" />
|
|
|
<result property="processId" column="process_id" />
|
|
|
<result property="applicant" column="applicant" />
|
|
@@ -81,6 +82,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="saiApplyId != null "> and sai_apply_id = #{saiApplyId}</if>
|
|
|
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
|
|
<if test="applyStatus != null and applyStatus != ''"> and apply_status = #{applyStatus}</if>
|
|
|
+ <if test="applyStatusString != null and applyStatusString != ''">
|
|
|
+ and
|
|
|
+ apply_status in
|
|
|
+ <foreach collection="applyStatusString.split(',')" item="item" index="index"
|
|
|
+ open="(" close=")" separator=",">
|
|
|
+ #{item}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
<if test="apNo != null and apNo != ''"> and ap_no = #{apNo}</if>
|
|
|
<if test="processId != null and processId != ''"> and process_id = #{processId}</if>
|
|
|
<if test="applicant != null and applicant != ''"> and applicant = #{applicant}</if>
|