qitz 2 лет назад
Родитель
Сommit
3c5d45f4cf

+ 10
- 14
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java Просмотреть файл

@@ -1,5 +1,6 @@
1 1
 package com.ruoyi.wisdomarbitrate.domain;
2 2
 
3
+import com.fasterxml.jackson.annotation.JsonFormat;
3 4
 import com.ruoyi.common.annotation.Excel;
4 5
 import com.ruoyi.common.core.domain.BaseEntity;
5 6
 
@@ -41,15 +42,16 @@ public class CaseAffiliate   extends BaseEntity {
41 42
     /**
42 43
      * 被申请人出生年月日
43 44
      */
44
-    private String responBirth;
45
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
46
+    private Date responBirth;
45 47
 
46
-//    public Date getResponBirth() {
47
-//        return responBirth;
48
-//    }
49
-//
50
-//    public void setResponBirth(Date responBirth) {
51
-//        this.responBirth = responBirth;
52
-//    }
48
+    public Date getResponBirth() {
49
+        return responBirth;
50
+    }
51
+
52
+    public void setResponBirth(Date responBirth) {
53
+        this.responBirth = responBirth;
54
+    }
53 55
 
54 56
     public String getCompLegalPerson() {
55 57
         return compLegalPerson;
@@ -75,13 +77,7 @@ public class CaseAffiliate   extends BaseEntity {
75 77
         this.responSex = responSex;
76 78
     }
77 79
 
78
-    public String getResponBirth() {
79
-        return responBirth;
80
-    }
81 80
 
82
-    public void setResponBirth(String responBirth) {
83
-        this.responBirth = responBirth;
84
-    }
85 81
 
86 82
     /** 身份证号 */
87 83
     @Excel(name = "身份证号")

+ 11
- 7
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseApplication.java Просмотреть файл

@@ -624,9 +624,19 @@ public class CaseApplication  extends BaseEntity {
624 624
     /** 被申请人主体信息-性别 */
625 625
     @Excel(name = "被申请人主体信息-性别",width = 26)
626 626
     private String responSex;
627
+
628
+    public Date getResponBirth() {
629
+        return responBirth;
630
+    }
631
+
632
+    public void setResponBirth(Date responBirth) {
633
+        this.responBirth = responBirth;
634
+    }
635
+
627 636
     /** 被申请人主体信息-出生年月日 */
628 637
     @Excel(name = "被申请人主体信息-出生年月日",width = 26)
629
-    private String responBirth;
638
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
639
+    private Date responBirth;
630 640
 
631 641
     public String getCompLegalPerson() {
632 642
         return compLegalPerson;
@@ -652,13 +662,7 @@ public class CaseApplication  extends BaseEntity {
652 662
         this.responSex = responSex;
653 663
     }
654 664
 
655
-    public String getResponBirth() {
656
-        return responBirth;
657
-    }
658 665
 
659
-    public void setResponBirth(String responBirth) {
660
-        this.responBirth = responBirth;
661
-    }
662 666
 
663 667
     /** 联系电话 */
664 668
     @Excel(name = "被申请人主体信息-联系电话",width = 26)

+ 1
- 2
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/AdjudicationServiceImpl.java Просмотреть файл

@@ -94,8 +94,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
94 94
                         datas.put("resName", affiliate.getName());
95 95
                         datas.put("resAddress", affiliate.getContactAddress());
96 96
                         datas.put("resSex", affiliate.getResponSex());
97
-//                        datas.put("resDateOfBirth", responBirthdatestr);
98
-                        datas.put("resDateOfBirth", "1987-03-05");
97
+                        datas.put("resDateOfBirth", affiliate.getResponBirth());
99 98
                         datas.put("resContactAddress", null);
100 99
                     }
101 100
                 }

+ 16
- 16
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java Просмотреть файл

@@ -127,25 +127,25 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
127 127
             ){
128 128
                 return caseApplicationMapper.selectAdminCaseApplicationList(caseApplication);
129 129
             }
130
-            if(role.getRoleName().equals("仲裁委")
131
-                    ||role.getRoleName().equals("部门长")){
132
-                List<Integer> caseStatusList=new ArrayList<>();
133
-                caseStatusList.add(CaseApplicationConstants.CONFIRMDED_PENDING_TRIAL);
134
-                caseStatusList.add(CaseApplicationConstants.SIGN_ARBITRATION);
135
-                caseStatusList.add(CaseApplicationConstants.ARBITRATED_SEAL);
136
-                caseApplication.setDeptHeadStatus(caseStatusList);
137
-            }
138
-            if(role.getRoleName().equals("仲裁员")){
139
-                caseApplication.setUserId(String.valueOf(userId));
140
-            }
130
+//            if(role.getRoleName().equals("仲裁委")
131
+//                    ||role.getRoleName().equals("部门长")){
132
+//                List<Integer> caseStatusList=new ArrayList<>();
133
+//                caseStatusList.add(CaseApplicationConstants.CONFIRMDED_PENDING_TRIAL);
134
+//                caseStatusList.add(CaseApplicationConstants.SIGN_ARBITRATION);
135
+//                caseStatusList.add(CaseApplicationConstants.ARBITRATED_SEAL);
136
+//                caseApplication.setDeptHeadStatus(caseStatusList);
137
+//            }
138
+//            if(role.getRoleName().equals("仲裁员")){
139
+//                caseApplication.setUserId(String.valueOf(userId));
140
+//            }
141 141
             if(role.getRoleName().equals("财务")){
142 142
                 caseApplication.setFinanceStatus(CaseApplicationConstants.PENDING_PAYMENT_CONFIRM);
143 143
             }
144
-            if(role.getRoleName().equals("法律顾问")){
145
-                // 查询角色有关的用户部门
146
-                List<Long> deptIds = sysDeptMapper.selectUserDeptListByRoleId(role.getRoleId());
147
-                caseApplication.setDeptIds(deptIds);
148
-            }
144
+//            if(role.getRoleName().equals("法律顾问")){
145
+//                // 查询角色有关的用户部门
146
+//                List<Long> deptIds = sysDeptMapper.selectUserDeptListByRoleId(role.getRoleId());
147
+//                caseApplication.setDeptIds(deptIds);
148
+//            }
149 149
             if(StrUtil.isEmpty(caseApplication.getNameId())&&role.getRoleName().equals("申请人")){
150 150
                 // 查询角色有关的用户部门
151 151
                 caseApplication.setNameId(String.valueOf(sysUser.getDeptId()));

+ 1
- 6
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/utils/SignAward.java Просмотреть файл

@@ -91,12 +91,7 @@ public class SignAward {
91 91
 
92 92
 //        System.out.println(signFlowDetailJsonObject);
93 93
 
94
-//        String responBirth = "Wed Feb 03 00:00:00 CST 1988";
95
-        String responBirth = "2023-10-10 05:49:36";
96
-        Date responBirthdate= DateUtils.parseDate(responBirth);
97
-//        String responBirthdatestr= DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,responBirthdate);
98
-        String responBirthdatestr= DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,responBirthdate);
99
-        System.out.println(responBirthdatestr);
94
+
100 95
     }
101 96
 
102 97
 

+ 2
- 2
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml Просмотреть файл

@@ -128,7 +128,7 @@
128 128
             </if>
129 129
             <!--财务-->
130 130
             <if test="financeStatus != null and financeStatus != ''">
131
-                or(t.identity_type=1 and t.case_status =#{financeStatus})
131
+                 (t.identity_type=1 and t.case_status =#{financeStatus})
132 132
 
133 133
             </if>
134 134
         </where>
@@ -220,7 +220,7 @@
220 220
             </if>
221 221
             <!--财务-->
222 222
             <if test="financeStatus != null and financeStatus != ''">
223
-                or( t.identity_type=1 and t.case_status =#{financeStatus})
223
+                ( t.identity_type=1 and t.case_status =#{financeStatus})
224 224
 
225 225
             </if>
226 226
         </where>