督办列表修改新增字段、新增排序
待审核列表修改新增字段、新增排序
| | |
| | | } |
| | | break; |
| | | case 2: |
| | | sortName = "t1.case_level"; |
| | | sortName = "t2.case_level"; |
| | | break; |
| | | case 3: |
| | | sortName = "superviseCount"; |
| | |
| | | }else if(2 == sortColmn){ |
| | | sortName = "t2.case_level"; |
| | | }else if(3 == sortColmn){ |
| | | sortName = "t1.return_status"; |
| | | sortName = "t1.audit_time"; |
| | | } |
| | | break; |
| | | case 2: |
| | |
| | | }else if(2 == sortColmn){ |
| | | sortName = "t2.case_level"; |
| | | }else if(3 == sortColmn){ |
| | | sortName = "t1.apply_status"; |
| | | sortName = "t1.audit_time"; |
| | | } |
| | | break; |
| | | case 3: |
| | |
| | | }else if(2 == sortColmn){ |
| | | sortName = "t2.case_level"; |
| | | }else if(3 == sortColmn){ |
| | | sortName = "t1.apply_status"; |
| | | sortName = "t1.audit_time"; |
| | | } |
| | | break; |
| | | case 4: |
| | |
| | | }else if(2 == sortColmn){ |
| | | sortName = "t2.case_level"; |
| | | }else if(3 == sortColmn){ |
| | | sortName = "t1.apply_status"; |
| | | sortName = "t1.audit_time"; |
| | | } |
| | | break; |
| | | default: |
| | |
| | | sortName = "timeLimit"; |
| | | break; |
| | | case 3: |
| | | sortName = "t1.case_level"; |
| | | sortName = "t2.case_level"; |
| | | break; |
| | | case 4: |
| | | sortName = "t1.case_level"; |
| | | sortName = "t1.sup_status"; |
| | | break; |
| | | default: |
| | | sortName = "t1.sup_status"; |
| | | sortName = "t1.sup_time"; |
| | | break; |
| | | } |
| | | switch (sortType){ |
| | |
| | | <result property="backUnit" column="backUnit"/> |
| | | <result property="reason" column="reason"/> |
| | | <result property="opinion" column="opinion"/> |
| | | <result property="auditTime" column="auditTime"/> |
| | | <result property="auditResult" column="auditResult"/> |
| | | </resultMap> |
| | | |
| | | <!-- 首页-待审核统计 --> |
| | |
| | | </select> |
| | | <!-- 首页-待审核分页查询 --> |
| | | <select id="pageMyTaskAppearReview" resultMap="MyTaskApplyReviewResult"> |
| | | SELECT t1.case_task_id as ownerId, t1.case_id as caseId, |
| | | SELECT t1.case_task_id as ownerId, t1.case_id as caseId, t1.audit_time as auditTime, t1.audit_result_name as auditResult, |
| | | t1.appear_time as turnaroundTime, t1.appear_unit_name as organizingUnit, t1.appear_content as opinion, |
| | | t2.case_level as caseGrade, t2.canal_name as caseSource, concat(t2.case_type_first_name, '/' ,t2.case_type_name) as caseType, |
| | | concat(t2.plaintiffs, t2.pagents) as plaintiffs, concat(t2.defendants, t2.dagents) as defendants |
| | |
| | | <result property="backUnit" column="backUnit"/> |
| | | <result property="reason" column="reason"/> |
| | | <result property="opinion" column="opinion"/> |
| | | <result property="auditTime" column="auditTime"/> |
| | | <result property="auditResult" column="auditResult"/> |
| | | </resultMap> |
| | | |
| | | <!-- 首页-待审核统计 --> |
| | |
| | | </select> |
| | | <!-- 首页-待审核分页查询 --> |
| | | <select id="pageMyTaskAssistReview" resultMap="MyTaskApplyReviewResult"> |
| | | SELECT t1.id as ownerId, t1.case_id as CaseId, |
| | | SELECT t1.id as ownerId, t1.case_id as CaseId, t1.audit_time as auditTime, t1.audit_result_name as auditResult, |
| | | t1.apply_time as turnaroundTime, t1.apply_unit_name as organizingUnit, t1.apply_assist_unit_name as cooperatingUnit, |
| | | t1.apply_content as reason,t2.case_level as caseGrade, t2.canal_name as caseSource, concat(t2.case_type_first_name, '/' ,t2.case_type_name) as caseType, |
| | | concat(t2.plaintiffs, t2.pagents) as plaintiffs, concat(t2.defendants, t2.dagents) as defendants |
| | |
| | | <result property="backUnit" column="backUnit"/> |
| | | <result property="reason" column="reason"/> |
| | | <result property="opinion" column="opinion"/> |
| | | <result property="auditTime" column="auditTime"/> |
| | | <result property="auditResult" column="auditResult"/> |
| | | </resultMap> |
| | | |
| | | <!-- 首页-待审核统计 --> |
| | |
| | | |
| | | <!-- 首页-待审核条件统计 --> |
| | | <select id="pageMyTaskReturnReview" resultMap="MyTaskApplyReviewResult"> |
| | | SELECT t1.case_task_id as ownerId, t1.case_id as caseId, |
| | | SELECT t1.case_task_id as ownerId, t1.case_id as caseId, t1.audit_time as auditTime, t1.audit_result_name as auditResult, |
| | | t1.return_time as turnaroundTime, t1.return_unit_name as organizingUnit, t1.return_content as reason, |
| | | t2.case_level as caseGrade, t2.canal_name as caseSource, concat(t2.case_type_first_name, '/' ,t2.case_type_name) as caseType, |
| | | concat(t2.plaintiffs, t2.pagents) as plaintiffs, concat(t2.defendants, t2.dagents) as defendants |
| | |
| | | <result property="reason" column="reason"/> |
| | | <result property="opinion" column="opinion"/> |
| | | <result property="process" column="process"/> |
| | | <result property="content" column="content"/> |
| | | </resultMap> |
| | | |
| | | <!-- 首页督办条件统计 --> |
| | |
| | | dyh_case_supervise t1 left join dyh_case_info t2 on t1.case_id = t2.id |
| | | where |
| | | t1.delete_status = 0 |
| | | and t1.sup_status = #{terms.supStatus} |
| | | <if test="terms.type != 3"> |
| | | and t1.quilt_unit_id = #{terms.quiltUnitId} |
| | | and t1.sup_status = #{terms.supStatus} |
| | | </if> |
| | | <if test="terms.type == 3"> |
| | | and t1.sup_unit_id = #{terms.supUnitId} |
| | | </if> |
| | | <if test="terms.timeStart != null and terms.timeStart !='' and terms.timeEnd != null and terms.timeEnd !=''"> |
| | | and (DATE_FORMAT(t1.create_time,'%Y-%m-%d') <![CDATA[ >= ]]> #{terms.timeStart} |
| | | and DATE_FORMAT(t1.create_time,'%Y-%m-%d') <![CDATA[ <= ]]> #{terms.timeEnd}) |
| | |
| | | |
| | | <!-- 首页督办分页查询 --> |
| | | <select id="pageMyTaskDb" resultMap="MyTaskApplyReviewResult"> |
| | | SELECT t1.id as ownerId, t1.case_id as caseId, |
| | | SELECT t1.id as ownerId, t1.case_id as caseId, t1.reply_content as content, t1.sup_status as applyStatus, |
| | | t1.sup_time as turnaroundTime, DATEADD(hour, t1.reply_term, t1.sup_time) as timeLimit, t1.sup_unit_name as organizingUnit, |
| | | t1.sup_content as opinion, t2.case_level as caseGrade, t2.canal_name as caseSource, |
| | | concat(t2.case_type_first_name, '/' ,t2.case_type_name) as caseType, concat(t2.plaintiffs, t2.pagents) as plaintiffs, |
| | |
| | | <result property="reason" column="reason"/> |
| | | <result property="opinion" column="opinion"/> |
| | | <result property="process" column="process"/> |
| | | <result property="auditTime" column="auditTime"/> |
| | | <result property="auditResult" column="auditResult"/> |
| | | </resultMap> |
| | | |
| | | <!-- 首页-待审核条件统计 --> |
| | |
| | | </select> |
| | | <!-- 首页-待审核分页查询 --> |
| | | <select id="listMyTaskApplyReview" resultMap="MyTaskApplyReviewResult"> |
| | | SELECT t1.id as windupId, t1.case_task_id as ownerId, t1.case_id as caseId, |
| | | SELECT t1.id as windupId, t1.case_task_id as ownerId, t1.case_id as caseId, t1.audit_time as auditTime, t1.audit_result_name as auditResult, |
| | | t1.apply_time as turnaroundTime, t1.apply_unit_name as organizingUnit, t1.medi_result_name as mediResult, |
| | | t1.fail_reason as reason, t2.case_level as caseGrade, t2.canal_name as caseSource, |
| | | concat(t2.case_type_first_name, '/' ,t2.case_type_name) as caseType, concat(t2.plaintiffs, t2.pagents) as plaintiffs, |
| | |
| | | * 审核部门 |
| | | */ |
| | | private String auditDept; |
| | | |
| | | /** |
| | | * 办理结果 |
| | | */ |
| | | private String auditResult; |
| | | |
| | | /** |
| | | * 内容 |
| | | */ |
| | | private String content; |
| | | |
| | | /** |
| | | * 审核时间 |
| | | */ |
| | | @JsonFormat(pattern="yyyy-MM-dd HH:mm", timezone="GMT+8") |
| | | private Date auditTime; |
| | | } |