| | |
| | | <include refid="table-name" /> |
| | | where |
| | | cande_unit_id = #{terms.candeUnitId} |
| | | <if test="terms.candeDeptId != null and terms.candeDeptId !=''"> |
| | | and (cande_dept_id = #{terms.candeDeptId}) |
| | | </if> |
| | | and delete_status = '0' |
| | | and status = '1' |
| | | and delete_status = 0 |
| | | and status = 1 |
| | | </select> |
| | | |
| | | <!-- 首页-待办理结果集 --> |
| | |
| | | <!-- 首页-办理中分页查询 --> |
| | | <select id="pageMyTaskProcessing" resultMap="MyTaskApplyReviewResult"> |
| | | SELECT t1.id as ownerId, t1.case_id as caseId, |
| | | t1.create_time as turnaroundTime, t1.cande_unit_name as organizingUnit, t2.case_level as caseGrade, t2.canal_name as caseSource, |
| | | t1.create_time as turnaroundTime, t2.case_level as caseGrade, t2.canal_name as caseSource, |
| | | t2.case_type_name as caseType, concat(t2.plaintiffs, t2.pagents) as plaintiffs, |
| | | concat(t2.defendants, t2.dagents) as defendants |
| | | FROM |