会计报表sql 审批流程流程号修改

new
parent ebbbe48720
commit 6c670d497b

@ -0,0 +1,36 @@
--
CREATE TABLE `lyr-one`.`archives_accounting_report` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'url',
`company_id` bigint(20) NULL DEFAULT NULL COMMENT 'id',
`company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`book_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`period` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`creator` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`create_time` datetime NULL DEFAULT NULL COMMENT '',
`updater` datetime NULL DEFAULT NULL COMMENT '',
`update_time` datetime NULL DEFAULT NULL COMMENT '',
`deleted` bit(1) NULL DEFAULT b'0' COMMENT '',
`encrypt` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`archive_id` bigint(20) NULL DEFAULT NULL COMMENT 'id',
`archive_state` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`dept_id` bigint(20) NULL DEFAULT NULL COMMENT 'id',
`dept_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
`tenant_id` bigint(20) NULL DEFAULT NULL COMMENT '',
`password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '' ROW_FORMAT = Dynamic;
--
SELECT `id` INTO @menuId FROM `system_menu` WHERE `name`='';
INSERT INTO `lyr-one`.`system_menu` (`name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES ('', '', 2, 3, @menuId, 'report', 'dict', 'accounting/report/index', 'Report', 0, b'1', b'1', b'1', '', '2023-10-16 10:15:31', '', '2023-10-16 10:16:01', b'0');
SET @menuId2 = LAST_INSERT_ID();
INSERT INTO `lyr-one`.`system_menu` (`name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES ('', 'archives:accounting-report:create', 3, 1, @menuId2, '', '', '', '', 0, b'1', b'1', b'1', '', '2023-10-16 10:17:24', '', '2023-10-16 10:17:24', b'0');
INSERT INTO `lyr-one`.`system_menu` (`name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES ('', 'archives:accounting-report:update', 3, 2, @menuId2, '', '', '', '', 0, b'1', b'1', b'1', '', '2023-10-16 10:17:54', '', '2023-10-16 10:17:54', b'0');
INSERT INTO `lyr-one`.`system_menu` (`name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES ('', 'archives:accounting-report:delete', 3, 3, @menuId2, '', '', '', '', 0, b'1', b'1', b'1', '', '2023-10-16 10:18:13', '', '2023-10-16 10:18:13', b'0');
INSERT INTO `lyr-one`.`system_menu` (`name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES ('', 'archives:accounting-report:query', 3, 4, @menuId2, '', '', '', '', 0, b'1', b'1', b'1', '', '2023-10-16 10:18:36', '', '2023-10-16 10:18:36', b'0');
INSERT INTO `lyr-one`.`system_menu` (`name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES ('', 'archives:accounting-report:export', 3, 5, @menuId2, '', '', '', '', 0, b'1', b'1', b'1', '', '2023-10-16 10:19:01', '', '2023-10-16 10:19:01', b'0');

@ -56,7 +56,6 @@ public class FlowController {
@Operation(summary = "创建审批流程") @Operation(summary = "创建审批流程")
@PreAuthorize("@ss.hasPermission('archives:flow:create')") @PreAuthorize("@ss.hasPermission('archives:flow:create')")
public CommonResult<Long> createFlow(@Valid @RequestBody FlowCreateReqVO createReqVO) { public CommonResult<Long> createFlow(@Valid @RequestBody FlowCreateReqVO createReqVO) {
createReqVO.setFlowCode(execute());
return success(flowService.createFlow(createReqVO)); return success(flowService.createFlow(createReqVO));
} }

Loading…
Cancel
Save