From c3247f11d26513f8ca2233a17af4170937dc124c Mon Sep 17 00:00:00 2001 From: lijiarao Date: Tue, 24 Oct 2023 14:30:22 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=9A=E8=AE=AE=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=BC=80=E7=A5=A8=E6=97=B6=EF=BC=8C=E5=8F=96=E9=82=AE=E5=AF=84?= =?UTF-8?q?=E8=81=94=E7=B3=BB=E4=BA=BA=E5=9C=A8=E5=8F=82=E4=BC=9A=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=B8=AD=E7=9A=84=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit d9358976708b6ee80d8b787fa5b557f712ca9baa) --- db/23年10月23日变更.sql | 16 +++++++ .../mail/mapper/xml/PayMailBillMapper.xml | 45 +++---------------- .../mail/service/IPayMailBillService.java | 3 +- .../service/impl/PayMailBillServiceImpl.java | 35 ++++++++++----- .../impl/PayMeetingSituationServiceImpl.java | 9 +++- ...PayPayMemberProjectSubitemServiceImpl.java | 2 +- .../impl/PayCommonProjectServiceImpl.java | 2 +- .../PayWorkingGroupSubItemServiceImpl.java | 2 +- 8 files changed, 58 insertions(+), 56 deletions(-) create mode 100644 db/23年10月23日变更.sql diff --git a/db/23年10月23日变更.sql b/db/23年10月23日变更.sql new file mode 100644 index 00000000..131bd67c --- /dev/null +++ b/db/23年10月23日变更.sql @@ -0,0 +1,16 @@ +alter table pay_meeting + add is_wasic tinyint null comment '是否WASIC', + add link_topics varchar(50) null comment '关联课题', + add meeting_costs_two_topic decimal(12, 2) null comment '会议费用(2个课题)', + add meeting_costs_three_topic decimal(12, 2) null comment '会议费用(3个及以上)'; +update pay_meeting set is_wasic = 0 where meeting_type = 3 and is_wasic is null; +alter table pay_meeting_situation + add choice_topic varchar(50) null comment '选择课题'; + +INSERT INTO sys_dict ( id, dict_name, dict_code, description, del_flag, create_by, create_time ) VALUES ( '1716348751477309441', '会议关联课题', 'linkTopics', '', 0, 'LKGLZ', '2023-10-23 15:00:05' ); +INSERT INTO sys_dict_item ( id, dict_id, item_text, item_value, description, sort_order, status, create_by, create_time ) VALUES ( '1716348946118180866', '1716348751477309441', '汽车网络安全与数据安全标准合规专题', '1', '', 1, 1, 'LKGLZ', '2023-10-23 15:00:51' ); +INSERT INTO sys_dict_item ( id, dict_id, item_text, item_value, description, sort_order, status, create_by, create_time ) VALUES ( '1716349088112148481', '1716348751477309441', '智能网汽车标准化领航及标准路线图专题', '2', '', 2, 1, 'LKGLZ', '2023-10-23 15:01:25' ); +INSERT INTO sys_dict_item ( id, dict_id, item_text, item_value, description, sort_order, status, create_by, create_time ) VALUES ( '1716349139207159809', '1716348751477309441', '汽车地毯专题', '3', '', 3, 1, 'LKGLZ', '2023-10-23 15:01:37' ); +INSERT INTO sys_dict_item ( id, dict_id, item_text, item_value, description, sort_order, status, create_by, create_time ) VALUES ( '1716349212045443073', '1716348751477309441', '动力电池安全专题', '4', '', 4, 1, 'LKGLZ', '2023-10-23 15:01:55' ); +INSERT INTO sys_dict_item ( id, dict_id, item_text, item_value, description, sort_order, status, create_by, create_time ) VALUES ( '1716349338696646657', '1716348751477309441', '弱势道路交通参与者(VRU)保护专题', '5', '', 5, 1, 'LKGLZ', '2023-10-23 15:02:25' ); +INSERT INTO sys_dict_item ( id, dict_id, item_text, item_value, description, sort_order, status, create_by, create_time ) VALUES ( '1716349372095889410', '1716348751477309441', '免费专题', '6', '', 6, 1, 'LKGLZ', '2023-10-23 15:02:33' ); \ No newline at end of file diff --git a/jero-boot-incoming-payment/src/main/java/com/jero/mail/mapper/xml/PayMailBillMapper.xml b/jero-boot-incoming-payment/src/main/java/com/jero/mail/mapper/xml/PayMailBillMapper.xml index 9df722ba..d0a75d62 100644 --- a/jero-boot-incoming-payment/src/main/java/com/jero/mail/mapper/xml/PayMailBillMapper.xml +++ b/jero-boot-incoming-payment/src/main/java/com/jero/mail/mapper/xml/PayMailBillMapper.xml @@ -177,36 +177,6 @@ update pay_mail_bill - - id = #{updated.id}, - - - create_by = #{updated.createBy}, - - - create_time = #{updated.createTime}, - - - update_by = #{updated.updateBy}, - - - update_time = #{updated.updateTime}, - - - bill_no = #{updated.billNo}, - - - invoice_amount = #{updated.invoiceAmount}, - - - post_status = #{updated.postStatus}, - - - send_method = #{updated.sendMethod}, - - - post_no = #{updated.postNo}, - contact_id = #{updated.contactId}, @@ -216,17 +186,14 @@ contact_mobile = #{updated.contactMobile}, - - bill_date = #{updated.billDate}, + + email = #{updated.email}, - - send_date = #{updated.sendDate}, + + postal_code = #{updated.postalCode}, - - remark = #{updated.remark}, - - - project_name = #{updated.projectName}, + + contact_address = #{updated.contactAddress}, diff --git a/jero-boot-incoming-payment/src/main/java/com/jero/mail/service/IPayMailBillService.java b/jero-boot-incoming-payment/src/main/java/com/jero/mail/service/IPayMailBillService.java index f7fdd5ed..109726f4 100644 --- a/jero-boot-incoming-payment/src/main/java/com/jero/mail/service/IPayMailBillService.java +++ b/jero-boot-incoming-payment/src/main/java/com/jero/mail/service/IPayMailBillService.java @@ -92,8 +92,9 @@ public interface IPayMailBillService extends IService { * 如果有邮寄信息更新邮寄联系人信息 * @param ContactId 邮寄联系人id * @param projectId 项目id + * @param payMailBill */ - void updateContactByProjectId(String ContactId,String projectId); + void updateContactByProjectId(String ContactId, String projectId, PayMailBill payMailBill); IPage contactsSearchPageList(Page page, String userId, QueryWrapper queryWrapper); diff --git a/jero-boot-incoming-payment/src/main/java/com/jero/mail/service/impl/PayMailBillServiceImpl.java b/jero-boot-incoming-payment/src/main/java/com/jero/mail/service/impl/PayMailBillServiceImpl.java index 75a78a92..2968b578 100644 --- a/jero-boot-incoming-payment/src/main/java/com/jero/mail/service/impl/PayMailBillServiceImpl.java +++ b/jero-boot-incoming-payment/src/main/java/com/jero/mail/service/impl/PayMailBillServiceImpl.java @@ -173,6 +173,7 @@ public class PayMailBillServiceImpl extends ServiceImpl addPayBill(PayMailBillVO payMailBill) { //票据关联项目表 @@ -212,7 +213,16 @@ public class PayMailBillServiceImpl extends ServiceImpl