Просмотр исходного кода

Merge branch 'dev' of http://git.xayunmei.com/SH-Arbitrate/Arbitrate-Backend into bgy

wangqiong 2 лет назад
Родитель
Сommit
d705802c6a

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

@@ -2344,8 +2344,6 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
2344 2344
 
2345 2345
         for (CaseAffiliate caseAffiliate : caseAffiliates) {
2346 2346
             request.setPhone(caseAffiliate.getContactTelphone());
2347
-            request.setTemplateParamSet(new String[]{caseAffiliate.getName(), caseApplicationselect.getCaseNum(), messageVO.getRoomNo() + caseAffiliate.getUserId()});
2348
-            String userId = (null == caseAffiliate.getUserId() ? "" : caseAffiliate.getUserId());
2349 2347
             //  1983711 开庭审理预约会议短信通知  尊敬的{1}用户,您的{2}仲裁案件,开庭审理房间号为{3},会议时间为{4},请点击https://txroom.xayunmei.com/#/home, 请知晓,如非本人操作,请忽略本短信。
2350 2348
             request.setTemplateParamSet(new String[]{caseAffiliate.getName(), caseApplicationselect.getCaseNum(), messageVO.getRoomNo() , startFormat + "-" + endFormat});
2351 2349
 

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

@@ -42,14 +42,11 @@
42 42
         c.contact_address,c.work_address,c.work_telphone ,c.name_agent,c.identity_num_agent,c.contact_telphone_agent,
43 43
         c.comp_legal_person,c.comp_legalper_post,c.respon_sex ,c.respon_birth,
44 44
         c.residen_affili,appli_agent_title,
45
-        c.contact_address_agent,c.email, c.send_email,c.track_num,c.applicant_agent_user_id,c.agent_email,s.user_id
45
+        c.contact_address_agent,c.email, c.send_email,c.track_num,c.applicant_agent_user_id,c.agent_email
46 46
         from case_affiliate c
47
-        left JOIN  (
48
-        SELECT phonenumber,user_id, ROW_NUMBER() OVER(PARTITION BY phonenumber ORDER BY user_id ASC) as rn
49
-        FROM sys_user
50
-        ) s  ON c.contact_telphone = s.phonenumber
47
+
51 48
         WHERE
52
-        s.rn = 1
49
+
53 50
 
54 51
         <if test="caseAppliId != null ">
55 52
             AND c.case_appli_id = #{caseAppliId}
@@ -62,14 +59,10 @@
62 59
         c.contact_address,c.work_address,c.work_telphone ,c.name_agent,c.identity_num_agent,c.contact_telphone_agent,
63 60
         c.comp_legal_person,c.comp_legalper_post,c.respon_sex ,c.respon_birth,
64 61
         c.residen_affili,appli_agent_title,
65
-        c.contact_address_agent,c.email, c.send_email,c.track_num,c.applicant_agent_user_id,c.agent_email,s.user_id
62
+        c.contact_address_agent,c.email, c.send_email,c.track_num,c.applicant_agent_user_id,c.agent_email
66 63
         from case_affiliate c
67
-        left JOIN  (
68
-        SELECT phonenumber,user_id, ROW_NUMBER() OVER(PARTITION BY phonenumber ORDER BY user_id ASC) as rn
69
-        FROM sys_user
70
-        ) s  ON c.contact_telphone = s.phonenumber
64
+
71 65
         WHERE
72
-        s.rn = 1
73 66
         <if test="ids != null ">
74 67
                 and case_appli_id in
75 68
                 <foreach collection="ids" item="item" open="(" separator="," close=")">