给系统参数表增加出入库管理启用标记

This commit is contained in:
季圣华 2023-12-01 19:30:52 +08:00
parent cccd9d2c76
commit 9fa4eacee6
2 changed files with 11 additions and 3 deletions

View File

@ -10,7 +10,7 @@ Target Server Type : MYSQL
Target Server Version : 50704
File Encoding : 65001
Date: 2023-10-10 23:59:57
Date: 2023-12-01 19:30:01
*/
SET FOREIGN_KEY_CHECKS=0;
@ -866,6 +866,7 @@ CREATE TABLE `jsh_system_config` (
`force_approval_flag` varchar(1) DEFAULT '0' COMMENT '强审核启用标记0未启用1启用',
`update_unit_price_flag` varchar(1) DEFAULT '1' COMMENT '更新单价启用标记0未启用1启用',
`over_link_bill_flag` varchar(1) DEFAULT '0' COMMENT '超出关联单据启用标记0未启用1启用',
`in_out_manage_flag` varchar(1) DEFAULT '0' COMMENT '出入库管理启用标记0未启用1启用',
`tenant_id` bigint(20) DEFAULT NULL COMMENT '租户id',
`delete_flag` varchar(1) DEFAULT '0' COMMENT '删除标记0未删除1删除',
PRIMARY KEY (`id`)
@ -874,7 +875,7 @@ CREATE TABLE `jsh_system_config` (
-- ----------------------------
-- Records of jsh_system_config
-- ----------------------------
INSERT INTO `jsh_system_config` VALUES ('11', '公司test', '小李', '地址1', '12345678', null, null, '注:本单为我公司与客户约定账期内结款的依据,由客户或其单位员工签字生效,并承担法律责任。', '0', '0', '1', '0', '0', '', '0', '1', '0', '63', '0');
INSERT INTO `jsh_system_config` VALUES ('11', '公司test', '小李', '地址1', '12345678', null, null, '注:本单为我公司与客户约定账期内结款的依据,由客户或其单位员工签字生效,并承担法律责任。', '0', '0', '1', '0', '0', '', '0', '1', '0', '0', '63', '0');
-- ----------------------------
-- Table structure for jsh_tenant

View File

@ -1539,4 +1539,11 @@ update jsh_function set push_btn='1,3' where number in ('01020101','01020102','0
-- by jishenghua
-- 将经手人里面的业务员改为销售员
-- --------------------------------------------------------
update jsh_person set type='销售员' where type='业务员';
update jsh_person set type='销售员' where type='业务员';
-- --------------------------------------------------------
-- 时间 2023年12月01日
-- by jishenghua
-- 给系统参数表增加出入库管理启用标记,开启后,采购入库、采购退货、销售出库、销售退货单据都会经过出入库流程,适合有独立仓库的场景。
-- --------------------------------------------------------
alter table jsh_system_config add in_out_manage_flag varchar(1) DEFAULT '0' COMMENT '出入库管理启用标记0未启用1启用' after over_link_bill_flag;