|
@@ -46,26 +46,26 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<select id="selectTProgressList" parameterType="TProgress" resultMap="TProgressResult">
|
|
<select id="selectTProgressList" parameterType="TProgress" resultMap="TProgressResult">
|
|
<include refid="selectTProgressVo"/>
|
|
<include refid="selectTProgressVo"/>
|
|
<where>
|
|
<where>
|
|
- <if test="questionnaireId != null "> and questionnaire_id = #{questionnaireId}</if>
|
|
|
|
- <if test="chapName != null and chapName != ''"> and chap_name like concat('%', #{chapName}, '%')</if>
|
|
|
|
- <if test="subChapName != null and subChapName != ''"> and sub_chap_name like concat('%', #{subChapName}, '%')</if>
|
|
|
|
- <if test="secSubChapName != null and secSubChapName != ''"> and sec_sub_chap_name like concat('%', #{secSubChapName}, '%')</if>
|
|
|
|
- <if test="content != null and content != ''"> and content = #{content}</if>
|
|
|
|
- <if test="personInCharge != null "> and person_in_charge = #{personInCharge}</if>
|
|
|
|
- <if test="supporter != null "> and supporter = #{supporter}</if>
|
|
|
|
- <if test="startDate != null "> and start_date = #{startDate}</if>
|
|
|
|
- <if test="targetDate != null "> and target_date = #{targetDate}</if>
|
|
|
|
- <if test="finishDate != null "> and finish_date = #{finishDate}</if>
|
|
|
|
- <if test="preparation != null and preparation != ''"> and preparation = #{preparation}</if>
|
|
|
|
- <if test="progress != null and progress != ''"> and progress = #{progress}</if>
|
|
|
|
- <if test="applyStatus != null and applyStatus != ''"> and apply_status = #{applyStatus}</if>
|
|
|
|
- <if test="remarks != null and remarks != ''"> and remarks = #{remarks}</if>
|
|
|
|
|
|
+ <if test="questionnaireId != null "> and p.questionnaire_id = #{questionnaireId}</if>
|
|
|
|
+ <if test="chapName != null and chapName != ''"> and p.chap_name like concat('%', #{chapName}, '%')</if>
|
|
|
|
+ <if test="subChapName != null and subChapName != ''"> and p.sub_chap_name like concat('%', #{subChapName}, '%')</if>
|
|
|
|
+ <if test="secSubChapName != null and secSubChapName != ''"> and p.sec_sub_chap_name like concat('%', #{secSubChapName}, '%')</if>
|
|
|
|
+ <if test="content != null and content != ''"> and p.content = #{content}</if>
|
|
|
|
+ <if test="personInCharge != null "> and p.person_in_charge = #{personInCharge}</if>
|
|
|
|
+ <if test="supporter != null "> and p.supporter = #{supporter}</if>
|
|
|
|
+ <if test="startDate != null "> and p.start_date = #{startDate}</if>
|
|
|
|
+ <if test="targetDate != null "> and p.target_date = #{targetDate}</if>
|
|
|
|
+ <if test="finishDate != null "> and p.finish_date = #{finishDate}</if>
|
|
|
|
+ <if test="preparation != null and preparation != ''"> and p.preparation = #{preparation}</if>
|
|
|
|
+ <if test="progress != null and progress != ''"> and p.progress = #{progress}</if>
|
|
|
|
+ <if test="applyStatus != null and applyStatus != ''"> and p.apply_status = #{applyStatus}</if>
|
|
|
|
+ <if test="remarks != null and remarks != ''"> and p.remarks = #{remarks}</if>
|
|
<if test="deptId != null and deptId != ''"> and p.dept_id = #{deptId}</if>
|
|
<if test="deptId != null and deptId != ''"> and p.dept_id = #{deptId}</if>
|
|
<if test="auditId != null "> and p.audit_id = #{auditId}</if>
|
|
<if test="auditId != null "> and p.audit_id = #{auditId}</if>
|
|
<if test="apNo != null "> and p.ap_no = #{apNo}</if>
|
|
<if test="apNo != null "> and p.ap_no = #{apNo}</if>
|
|
<if test="processId != null "> and p.process_id = #{processId}</if>
|
|
<if test="processId != null "> and p.process_id = #{processId}</if>
|
|
- <if test="taskId != null and taskId != ''"> and task_id = #{taskId}</if>
|
|
|
|
- <if test="taskName != null and taskName != ''"> and task_name = #{taskName}</if>
|
|
|
|
|
|
+ <if test="taskId != null and taskId != ''"> and p.task_id = #{taskId}</if>
|
|
|
|
+ <if test="taskName != null and taskName != ''"> and p.task_name = #{taskName}</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|