From e6b2309d4bd72215b9924d7832a0d7e465b0ccaa Mon Sep 17 00:00:00 2001 From: caihaohan Date: Thu, 7 Mar 2024 11:03:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=98=AF=E5=90=A6=E6=89=93=E5=8C=85?= =?UTF-8?q?=E4=BC=81=E4=B8=9A=E6=8E=A5=E5=8F=A3=E5=8F=8ASQL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/24年2月变更.sql | 11 +++++++++++ .../controller/PayCompanyManagementController.java | 8 ++++++++ 2 files changed, 19 insertions(+) diff --git a/db/24年2月变更.sql b/db/24年2月变更.sql index 9348ec3b..ad73ea9c 100644 --- a/db/24年2月变更.sql +++ b/db/24年2月变更.sql @@ -31,3 +31,14 @@ INSERT INTO `income_payments_prod`.`sys_permission`(`id`, `parent_id`, `name`, ` INSERT INTO `income_payments_prod`.`sys_permission`( id, parent_id, name, perms, perms_type, sort_no, menu_type, is_leaf, is_route, keep_alive, create_by, del_flag, hidden, create_time, status, always_show, internal_or_external, external_terminal_show ) VALUES ( '1765549986109550594', '1430718058514440194', '批量新增成员单位', 'workingGroupMember:batchAdd', '1', 1.0, 2, true, true, false, 'chh', 0, false, '2024-03-07 09:28:13', '1', false, false, true ); -- sys_permission表 起草组成员维护-批量新增成员单位按钮权限 INSERT INTO `income_payments_prod`.`sys_permission`( id, parent_id, name, perms, perms_type, sort_no, menu_type, is_leaf, is_route, keep_alive, create_by, del_flag, hidden, create_time, status, always_show, internal_or_external, external_terminal_show ) VALUES ( '1765550773875339266', '1736668960149286914', '批量新增成员单位', 'draftingGroupMember:batchAdd', '1', 1.0, 2, true, true, false, 'chh', 0, false, '2024-03-07 09:31:21', '1', false, false, true ); +-- sys_permission表 企业管理-是否打包企业按钮权限 +INSERT INTO sys_permission ( id, parent_id, name, perms, perms_type, sort_no, menu_type, is_leaf, is_route, keep_alive, create_by, del_flag, hidden, create_time, status, always_show, internal_or_external, external_terminal_show ) VALUES ( '1765573709906612225', '1430376267109978113', '是否打包企业', 'company:updatePackageEnterprise', '1', 1.0, 2, true, true, false, 'chh', 0, false, '2024-03-07 11:02:29', '1', false, false, true ) + +ALTER TABLE `income_payments_prod`.`pay_mail_bill` + ADD COLUMN `invoice_file_id` varchar(50) NULL COMMENT '发票附件id' AFTER `no_tax_amount`; + +ALTER TABLE `income_payments_prod`.`pay_working_group` + ADD COLUMN `pay_flag` tinyint(1) NULL DEFAULT NULL COMMENT '是否收费标识(0不收费 1收费)' AFTER `update_time`; + +ALTER TABLE `income_payments_prod`.`pay_company_management` + ADD COLUMN `package_enterprise` varchar(6) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '是否打包企业' AFTER `link_bank_number`; \ No newline at end of file diff --git a/jero-boot-incoming-payment/src/main/java/com/jero/company/controller/PayCompanyManagementController.java b/jero-boot-incoming-payment/src/main/java/com/jero/company/controller/PayCompanyManagementController.java index c71bfd73..a9a164ea 100644 --- a/jero-boot-incoming-payment/src/main/java/com/jero/company/controller/PayCompanyManagementController.java +++ b/jero-boot-incoming-payment/src/main/java/com/jero/company/controller/PayCompanyManagementController.java @@ -1049,4 +1049,12 @@ public class PayCompanyManagementController extends JeroController updatePackageEnterprise(@RequestBody PayCompanyManagement payCompanyManagement) { + payCompanyManagementService.updateById(payCompanyManagement); + return Result.OK("成功!"); + } }