This commit is contained in:
dzc committed 2025-04-08 14:18:04 +08:00
1 parent b28f934faa
commit 638e051816
2 files changed
+30 -1

No files matched your search

+29
View File
@@ -30,6 +30,35 @@ CREATE TABLE `third_zy_log`
ROW_FORMAT = DYNAMIC COMMENT ='正元日志表';
-- ----------------------------
-- Table structure for third_door_log
-- ----------------------------
DROP TABLE IF EXISTS `third_door_log`;
CREATE TABLE `third_door_log`
(
`id` bigint NOT NULL COMMENT '主键',
`api_type` tinytext NOT NULL COMMENT '请求类型',
`biz_type` tinytext NOT NULL COMMENT 'api类型',
`biz_id` varchar(2048) DEFAULT NULL COMMENT 'api类型id',
`api_url` text DEFAULT NULL COMMENT 'api url',
`res` text DEFAULT NULL COMMENT '原始res',
`req` text DEFAULT NULL COMMENT '原始req',
`error` text DEFAULT NULL COMMENT '调用错误',
`version` char(64) DEFAULT NULL COMMENT '同步版本格式化为14位字符串,如果是数字不足14位的,前面补0',
`time_consuming` char(64) DEFAULT NULL COMMENT '耗时',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`create_by` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
`update_by` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人',
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除时间',
`tenant_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_general_ci
ROW_FORMAT = DYNAMIC COMMENT ='柜子日志';
-- ----------------------------
-- Table structure for third_zy_id_dict
-- ----------------------------
@@ -269,7 +269,7 @@
<select id="sumAndCount" resultType="com.bsd.pjcloud.hard.api.vo.order.HardOrderSumAndCountVo">
select
a.dept_id as deptId,
a.user_dept_id as deptId,
sum(a.pay_price) as sum,
count(0) as count
from hard_order a