更新sql

This commit is contained in:
季圣华
2021-09-24 00:30:47 +08:00
parent 03cd35254d
commit 492825bad6
2 changed files with 8 additions and 1 deletions

View File

@@ -162,7 +162,7 @@ CREATE TABLE `jsh_depot_head` (
`discount_money` decimal(24,6) DEFAULT NULL COMMENT '优惠金额', `discount_money` decimal(24,6) DEFAULT NULL COMMENT '优惠金额',
`discount_last_money` decimal(24,6) DEFAULT NULL COMMENT '优惠后金额', `discount_last_money` decimal(24,6) DEFAULT NULL COMMENT '优惠后金额',
`other_money` decimal(24,6) DEFAULT NULL COMMENT '销售或采购费用合计', `other_money` decimal(24,6) DEFAULT NULL COMMENT '销售或采购费用合计',
`status` varchar(1) DEFAULT NULL COMMENT '状态0未审核、1已审核、2已转采购|销售', `status` varchar(1) DEFAULT NULL COMMENT '状态0未审核、1已审核、2完成采购|销售、3部分采购|销售',
`link_number` varchar(50) DEFAULT NULL COMMENT '关联订单号', `link_number` varchar(50) DEFAULT NULL COMMENT '关联订单号',
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户id', `tenant_id` bigint(20) DEFAULT NULL COMMENT '租户id',
`delete_flag` varchar(1) DEFAULT '0' COMMENT '删除标记0未删除1删除', `delete_flag` varchar(1) DEFAULT '0' COMMENT '删除标记0未删除1删除',

View File

@@ -1224,3 +1224,10 @@ update jsh_account_head set status=0;
-- -------------------------------------------------------- -- --------------------------------------------------------
INSERT INTO `jsh_platform_config` (`id`, `platform_key`, `platform_key_info`, `platform_value`) VALUES ('4', 'bill_print_flag', '三联打印启用标记', '0'); INSERT INTO `jsh_platform_config` (`id`, `platform_key`, `platform_key_info`, `platform_value`) VALUES ('4', 'bill_print_flag', '三联打印启用标记', '0');
INSERT INTO `jsh_platform_config` (`id`, `platform_key`, `platform_key_info`, `platform_value`) VALUES ('5', 'bill_print_url', '三联打印地址', ''); INSERT INTO `jsh_platform_config` (`id`, `platform_key`, `platform_key_info`, `platform_value`) VALUES ('5', 'bill_print_url', '三联打印地址', '');
-- --------------------------------------------------------
-- 时间 2021年9月24日
-- by jishenghua
-- 修改单据主表的状态字段描述
-- --------------------------------------------------------
alter table jsh_depot_head change status status varchar(1) DEFAULT NULL COMMENT '状态0未审核、1已审核、2完成采购|销售、3部分采购|销售';