Procházet zdrojové kódy

优化仲裁结果

qitz před 2 roky
rodič
revize
a5fd491e6c

+ 10
- 0
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseApplication.java Zobrazit soubor

@@ -199,6 +199,16 @@ public class CaseApplication  extends BaseEntity {
199 199
     /** 案件仲裁员 */
200 200
     private List<Arbitrator> arbitrators;
201 201
 
202
+    private List<Integer> caseStatusList;
203
+
204
+    public List<Integer> getCaseStatusList() {
205
+        return caseStatusList;
206
+    }
207
+
208
+    public void setCaseStatusList(List<Integer> caseStatusList) {
209
+        this.caseStatusList = caseStatusList;
210
+    }
211
+
202 212
     /** 仲裁记录 */
203 213
     private ArbitrateRecord arbitrateRecord;
204 214
 

+ 2
- 2
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/ArbitrateRecordMapper.xml Zobrazit soubor

@@ -23,8 +23,8 @@
23 23
         <if test="factDetermi != null and factDetermi != ''">fact_determi,</if>
24 24
         <if test="caseSketch != null and caseSketch != ''">case_sketch,</if>
25 25
         <if test="rulingFollows != null and rulingFollows != ''">ruling_follows,</if>
26
-        <if test="verifica_opinion != null and verifica_opinion != ''">verificaOpinion,</if>
27
-        <if test="check_opinion != null and check_opinion != ''">checkOpinion,</if>
26
+        <if test="verificaOpinion != null and verificaOpinion != ''">verifica_opinion,</if>
27
+        <if test="checkOpinion != null and checkOpinion != ''">check_opinion,</if>
28 28
         <if test="createBy != null  and createBy != ''">create_by,</if>
29 29
         create_time
30 30
         )values(

+ 6
- 0
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml Zobrazit soubor

@@ -54,6 +54,12 @@
54 54
             <if test="caseNum != null and caseNum != ''">
55 55
                 AND c.case_num = #{caseNum}
56 56
             </if>
57
+            <if test="caseStatusList != null and caseStatusList.size() > 0">
58
+                and c.case_status in
59
+                <foreach item="caseStatus" collection="caseStatusList" open="(" separator="," close=")">
60
+                    #{caseStatus}
61
+                </foreach>
62
+            </if>
57 63
         </where>
58 64
     </select>
59 65