查询修改

This commit is contained in:
18792927508
2023-10-17 14:29:06 +08:00
parent a262b3cc4b
commit bc1579ef95
3 changed files with 29 additions and 85 deletions
@@ -9,80 +9,24 @@ import lombok.Data;
*/ */
@Data @Data
public class ToDoCount { public class ToDoCount {
/**
* 立案申请 private int caseApply; // 立案申请
*/ private int caseApplyCheck; // 待立案审查
private int caseApply; private int caseApplyPay; // 待缴费
/** private int caseApplyPayCheck; // 待缴费确认
* 待立案审查 private int caseApplyEvidence; //待案件质证
*/ private int caseApplyGroupCheck; // 待组庭审核
private int caseApplyCheck; private int caseApplyGroupConfirm; // 待组庭确定
/**
* 待缴费
*/
private int caseApplyPay;
/**
* 待缴费确认
*/
private int caseApplyPayCheck;
/**
* 待案件质证
*/
private int caseApplyEvidence;
/**
* 待组庭审核
*/
private int caseApplyGroupCheck;
/**
* 待组庭确定
*/
private int caseApplyGroupConfirm;
/**
* 待组庭通知
*/
// private int caseApplyGroupNotice; // private int caseApplyGroupNotice;
/** private int caseApplyArbitrateWay; // 待审核仲裁方式
* 待审核仲裁方式 private int caseApplyGroupOnline; // 待开庭审理
*/ private int caseApplyGroupOffline; // 待书面审理
private int caseApplyArbitrateWay; private int caseApplyAward; // 待生成仲裁文书
/** private int caseApplyAwardCheck; // 待核验仲裁文书
* 待开庭审理 private int caseApplyAwardConfirm; // 待审核仲裁文书
*/ private int caseApplyAwardSign; // 待仲裁文书签名
private int caseApplyGroupOnline; private int caseApplyAwardSeal; // 待仲裁文书用印
/** private int caseApplyAwardSend; // 待仲裁文书送达
* 待书面审理 private int caseApplyStored; // 待案件归档
*/ private int caseApplyArchived; // 已归档
private int caseApplyGroupOffline;
/**
* 待生成仲裁文书
*/
private int caseApplyAward;
/**
* 待核验仲裁文书
*/
private int caseApplyAwardCheck;
/**
* 待审核仲裁文书
*/
private int caseApplyAwardConfirm;
/**
* 待仲裁文书签名
*/
private int caseApplyAwardSign;
/**
* 待仲裁文书用印
*/
private int caseApplyAwardSeal;
/**
* 待仲裁文书送达
*/
private int caseApplyAwardSend;
/**
* 待案件归档
*/
private int caseApplyStored;
/**
* 已归档
*/
private int caseApplyArchived;
} }
@@ -74,10 +74,10 @@ public class WeChatUserServiceImpl implements WeChatUserService {
return "短信发送失败"; return "短信发送失败";
} }
/** /**
* 设置字典缓存 * 设置验证码缓存
* *
* @param key 参数键 * @param key 参数键
* @param code 字典数据列表 * @param code 验证码
*/ */
public static void setCodeCache(String key, String code) public static void setCodeCache(String key, String code)
{ {
@@ -199,9 +199,9 @@
</if> </if>
<!--申请人--> <!--申请人-->
<if test="nameId != null and nameId != ''"> <if test="nameId != null and nameId != ''">
or( ( t.application_organ_id = #{nameId} AND t.identity_type=1 or ( t.application_organ_id = #{nameId} AND t.identity_type=1
and t.case_status in (0,2)) and t.case_status in (0,2))
)
</if> </if>
<!--部门长--> <!--部门长-->
<if test="deptHeadStatus != null and deptHeadStatus.size() > 0"> <if test="deptHeadStatus != null and deptHeadStatus.size() > 0">
@@ -217,18 +217,18 @@
</if> </if>
</where> </where>
) t1 ) t1
-- <where> <!-- <where>
<!-- &lt;!&ndash;申请人&ndash;&gt;--> &lt;!&ndash;申请人&ndash;&gt;-->
<!-- <if test="nameId != null and nameId != ''">--> <!-- <if test="nameId != null and nameId != ''">-->
<!-- and ( t1.application_organ_id = #{nameId} AND t1.identity_type=1--> <!-- and ( t1.application_organ_id = #{nameId} AND t1.identity_type=1-->
<!-- and t1.case_status in (0,2)--> <!-- and t1.case_status in (0,2)-->
<!-- )--> <!-- )-->
<!-- </if>--> <!-- </if>
-- </where> </where> -->
</select> </select>
<select id="selectAdminCaseApplicationList" parameterType="CaseApplication" resultMap="CaseApplicationResult"> <select id="selectAdminCaseApplicationList" parameterType="CaseApplication" resultMap="CaseApplicationResult">
select c.id ,c.case_num ,c.case_subject_amount ,c.register_date ,c.arbitrat_method , select DISTINCT(c.id) id,c.case_num ,c.case_subject_amount ,c.register_date ,c.arbitrat_method ,
CASE c.arbitrat_method when 1 then '开庭审理' when 2 then '书面审理' CASE c.arbitrat_method when 1 then '开庭审理' when 2 then '书面审理'
ELSE '无审理方式' ELSE '无审理方式'
END arbitratMethodName, END arbitratMethodName,
@@ -288,7 +288,7 @@
sum( case when c.case_status=17 then 1 else 0 end) caseApplyArchived sum( case when c.case_status=17 then 1 else 0 end) caseApplyArchived
FROM FROM
case_application c case_application c
LEFT JOIN case_affiliate ca ON ca.case_appli_id = c.id JOIN case_affiliate ca ON ca.case_appli_id = c.id
AND ca.identity_type = 1 AND ca.identity_type = 1
WHERE WHERE
c.case_status IN ( c.case_status IN (