Explorar el Código

Merge branch 'wq' of SH-Arbitrate/Arbitrate-Backend into dev

wangqiong123 hace 2 años
padre
commit
89c428ee4b

+ 19
- 75
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/vo/ToDoCount.java Ver fichero

@@ -9,80 +9,24 @@ import lombok.Data;
9 9
  */
10 10
 @Data
11 11
 public class ToDoCount {
12
-    /**
13
-     * 立案申请
14
-     */
15
-    private int caseApply;
16
-    /**
17
-     * 待立案审查
18
-     */
19
-    private int caseApplyCheck;
20
-    /**
21
-     * 待缴费
22
-     */
23
-    private int caseApplyPay;
24
-    /**
25
-     * 待缴费确认
26
-     */
27
-    private int caseApplyPayCheck;
28
-    /**
29
-     * 待案件质证
30
-     */
31
-    private int caseApplyEvidence;
32
-    /**
33
-     * 待组庭审核
34
-     */
35
-    private int caseApplyGroupCheck;
36
-    /**
37
-     * 待组庭确定
38
-     */
39
-    private int caseApplyGroupConfirm;
40
-    /**
41
-     * 待组庭通知
42
-     */
12
+
13
+    private int caseApply; // 立案申请
14
+    private int caseApplyCheck; // 待立案审查
15
+    private int caseApplyPay; // 待缴费
16
+    private int caseApplyPayCheck; // 待缴费确认
17
+    private int caseApplyEvidence; //待案件质证
18
+    private int caseApplyGroupCheck; // 待组庭审核
19
+    private int caseApplyGroupConfirm; // 待组庭确定
43 20
 //    private int caseApplyGroupNotice;
44
-    /**
45
-     * 待审核仲裁方式
46
-     */
47
-    private int caseApplyArbitrateWay;
48
-    /**
49
-     * 待开庭审理
50
-     */
51
-    private int caseApplyGroupOnline;
52
-    /**
53
-     * 待书面审理
54
-     */
55
-    private int caseApplyGroupOffline;
56
-    /**
57
-     * 待生成仲裁文书
58
-     */
59
-    private int caseApplyAward;
60
-    /**
61
-     * 待核验仲裁文书
62
-     */
63
-    private int caseApplyAwardCheck;
64
-    /**
65
-     * 待审核仲裁文书
66
-     */
67
-    private int caseApplyAwardConfirm;
68
-    /**
69
-     * 待仲裁文书签名
70
-     */
71
-    private int caseApplyAwardSign;
72
-    /**
73
-     * 待仲裁文书用印
74
-     */
75
-    private int caseApplyAwardSeal;
76
-    /**
77
-     * 待仲裁文书送达
78
-     */
79
-    private int caseApplyAwardSend;
80
-    /**
81
-     * 待案件归档
82
-     */
83
-    private int caseApplyStored;
84
-    /**
85
-     * 已归档
86
-     */
87
-    private int caseApplyArchived;
21
+    private int caseApplyArbitrateWay; // 待审核仲裁方式
22
+    private int caseApplyGroupOnline; // 待开庭审理
23
+    private int caseApplyGroupOffline; // 待书面审理
24
+    private int caseApplyAward; // 待生成仲裁文书
25
+    private int caseApplyAwardCheck; // 待核验仲裁文书
26
+    private int caseApplyAwardConfirm; // 待审核仲裁文书
27
+    private int caseApplyAwardSign; // 待仲裁文书签名
28
+    private int caseApplyAwardSeal; // 待仲裁文书用印
29
+    private int caseApplyAwardSend; // 待仲裁文书送达
30
+    private int caseApplyStored; // 待案件归档
31
+    private int caseApplyArchived; // 已归档
88 32
 }

+ 2
- 2
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/WeChatUserServiceImpl.java Ver fichero

@@ -74,10 +74,10 @@ public class WeChatUserServiceImpl implements WeChatUserService {
74 74
         return "短信发送失败";
75 75
     }
76 76
     /**
77
-     * 设置字典缓存
77
+     * 设置验证码缓存
78 78
      *
79 79
      * @param key 参数键
80
-     * @param code 字典数据列表
80
+     * @param code 验证码
81 81
      */
82 82
     public static void setCodeCache(String key, String code)
83 83
     {

+ 15
- 14
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml Ver fichero

@@ -113,14 +113,13 @@
113 113
                 </if>
114 114
         <!--部门长-->
115 115
             <if test="deptHeadStatus != null and deptHeadStatus.size() > 0">
116
-            or t.case_status in
117
-            <foreach item="caseStatus" collection="deptHeadStatus" open="(" separator="," close=")">
118
-                #{caseStatus}
119
-            </foreach>
116
+            or (t.identity_type=1 and t.case_status in
117
+            <foreach item="caseStatus" collection="deptHeadStatus" open="(" separator="," close=")">#{caseStatus}
118
+            </foreach>)
120 119
             </if>
121 120
             <!--财务-->
122 121
             <if test="financeStatus != null and financeStatus != ''">
123
-                or( t.case_status =#{financeStatus})
122
+                or(t.identity_type=1 and t.case_status =#{financeStatus})
124 123
 
125 124
             </if>
126 125
         </where>
@@ -199,36 +198,36 @@
199 198
             </if>
200 199
             <!--申请人-->
201 200
             <if test="nameId != null and nameId != ''">
202
-                or( ( t.application_organ_id = #{nameId} AND t.identity_type=1
201
+                or ( t.application_organ_id = #{nameId} AND t.identity_type=1
203 202
                 and t.case_status in (0,2))
204
-                )
203
+
205 204
             </if>
206 205
             <!--部门长-->
207 206
             <if test="deptHeadStatus != null and deptHeadStatus.size() > 0">
208
-                or t.case_status in
207
+                or (t.identity_type=1 and t.case_status in
209 208
                 <foreach item="caseStatus" collection="deptHeadStatus" open="(" separator="," close=")">
210 209
                     #{caseStatus}
211
-                </foreach>
210
+                </foreach>)
212 211
             </if>
213 212
             <!--财务-->
214 213
             <if test="financeStatus != null and financeStatus != ''">
215
-                or( t.case_status =#{financeStatus})
214
+                or( t.identity_type=1 and t.case_status =#{financeStatus})
216 215
 
217 216
             </if>
218 217
         </where>
219 218
         ) t1
220
-<!--            &lt;!&ndash;申请人&ndash;&gt;-->
219
+        <!--      <where>
220
+                   &lt;!&ndash;申请人&ndash;&gt;-->
221 221
 <!--            <if test="nameId != null and nameId != ''">-->
222 222
 <!--                and ( t1.application_organ_id = #{nameId} AND t1.identity_type=1-->
223 223
 <!--                and t1.case_status in (0,2)-->
224 224
 <!--                )-->
225
-<!--            </if>-->
225
+<!--            </if>
226
+        </where> -->
226 227
     </select>
227 228
 
228 229
     <select id="selectAdminCaseApplicationList" parameterType="CaseApplication" resultMap="CaseApplicationResult">
229
-        select c.id ,c.case_num ,c.case_subject_amount ,c.register_date ,c.arbitrat_method ,
230
+        select DISTINCT(c.id) id,c.case_num ,c.case_subject_amount ,c.register_date ,c.arbitrat_method ,
230 231
         CASE c.arbitrat_method when 1 then '开庭审理' when 2 then '书面审理'
231 232
         ELSE '无审理方式'
232 233
         END arbitratMethodName,
@@ -288,7 +287,7 @@
288 287
             sum( case when c.case_status=17 then 1 else 0 end) caseApplyArchived
289 288
         FROM
290 289
             case_application c
291
-                LEFT JOIN case_affiliate ca ON ca.case_appli_id = c.id
290
+                 JOIN case_affiliate ca ON ca.case_appli_id = c.id
292 291
                 AND ca.identity_type = 1
293 292
         WHERE
294 293
                 c.case_status IN (