Commit 55bd9ae6 authored by 蔡镇泽's avatar 蔡镇泽

评定任务分组管理列表调整

parent 83166680
...@@ -217,17 +217,17 @@ ...@@ -217,17 +217,17 @@
LEFT JOIN CH_APR_ORGAN organ on task.apr_organ_id = organ.apr_organ_id LEFT JOIN CH_APR_ORGAN organ on task.apr_organ_id = organ.apr_organ_id
LEFT JOIN ch_apr_emp emp on task.apr_emp_id = emp.emp_id LEFT JOIN ch_apr_emp emp on task.apr_emp_id = emp.emp_id
LEFT JOIN CH_APR_ORGAN emp_organ on emp.apr_organ_id = emp_organ.apr_organ_id LEFT JOIN CH_APR_ORGAN emp_organ on emp.apr_organ_id = emp_organ.apr_organ_id
<where> where push.task_push_id in (SELECT MIN(push1.task_push_id) id FROM ch_apr_task_push push1 group by push1.Group_number)
<if test="name != null and name != ''"> <if test="name != null and name != ''">
and emp.REAL_NAME like CONCAT(CONCAT('%',#{name}) ,'%') and emp.REAL_NAME like CONCAT(CONCAT('%',#{name}) ,'%')
</if> </if>
<if test="certiCode != null and certiCode != ''"> <if test="certiCode != null and certiCode != ''">
and emp.CERTI_CODE = #{certiCode} and emp.CERTI_CODE = #{certiCode}
</if> </if>
<if test="tel != null and tel != ''"> <if test="tel != null and tel != ''">
and emp.tel = #{tel} and emp.tel = #{tel}
</if> </if>
</where> order by taskPushId
</select> </select>
<select id="taskGroupInfoList" resultType="com.hungraim.ltc.pojo.vo.assessment.TaskGroupInfoVO"> <select id="taskGroupInfoList" resultType="com.hungraim.ltc.pojo.vo.assessment.TaskGroupInfoVO">
...@@ -278,20 +278,20 @@ ...@@ -278,20 +278,20 @@
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.adress_district_provincial = dis.DISTRICT_CODE) adressDistrictProvincial, (SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.adress_district_provincial = dis.DISTRICT_CODE) adressDistrictProvincial,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.adress_district_city = dis.DISTRICT_CODE) adressDistrictCity, (SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.adress_district_city = dis.DISTRICT_CODE) adressDistrictCity,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.Adress_district_code = dis.DISTRICT_CODE) adressDistrictCode, (SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.Adress_district_code = dis.DISTRICT_CODE) adressDistrictCode,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.ACPT_PROVINCIAL = dis.DISTRICT_CODE) acptProvincial, (SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.ACPT_PROVINCIAL = dis.DISTRICT_CODE) acptProvincial,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.ACPT_CITY = dis.DISTRICT_CODE) acptCity, (SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.ACPT_CITY = dis.DISTRICT_CODE) acptCity,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.ACPT_AREA = dis.DISTRICT_CODE) acptArea, (SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.ACPT_AREA = dis.DISTRICT_CODE) acptArea,
task.eff_time effTime, task.eff_time effTime,
task.Last_apr_date lastAprDate, task.Last_apr_date lastAprDate,
emp.real_name empRealName, emp.real_name empRealName,
emp.certi_code empCertiCode, emp.certi_code empCertiCode,
emp.tel empTel, emp.tel empTel,
push.accept_time acceptTime, push.accept_time acceptTime,
push.refuse_reason refuseReason, push.refuse_reason refuseReason,
organ.organ_name refuseOrganName, organ.organ_name refuseOrganName,
push.refuse_emp refuseEmp, push.refuse_emp refuseEmp,
push.status status, push.status status,
push.refuse_remark refuseRemark push.refuse_remark refuseRemark
FROM ch_apr_task_push push FROM ch_apr_task_push push
LEFT JOIN ch_apr_task task ON push.TASK_ID = task.TASK_ID LEFT JOIN ch_apr_task task ON push.TASK_ID = task.TASK_ID
left join ch_disable_info disable on task.disable_info_id = disable.disab_info_id left join ch_disable_info disable on task.disable_info_id = disable.disab_info_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment