This commit is contained in:
钱涛 2022-04-18 21:35:08 +08:00
parent 2cd32a5168
commit fc806ebcc7
3 changed files with 36 additions and 2 deletions

View File

@ -45,6 +45,12 @@ alter table hrsa_bill_detail_temp modify id bigint auto_increment;
alter table hrsa_bill_inspect modify id bigint auto_increment;
ALTER TABLE hrsa_salary_item
ADD COLUMN data_type varchar(20) NOT NULL COMMENT '字段类型。string字符、number数字' AFTER tenant_key;
ALTER TABLE hrsa_sys_salary_item
ADD COLUMN data_type varchar(20) NOT NULL COMMENT '字段类型。string字符、number数字' AFTER tenant_key;
ALTER TABLE hrsa_salary_sob_default_item
ADD COLUMN sob_default_item_group_id bigint(0) NOT NULL COMMENT '薪资账套默认薪资项目分类的id' AFTER tenant_key,

View File

@ -35,5 +35,27 @@ CREATE TABLE hrsa_formula_var
);
ALTER TABLE hrsa_salary_sob_default_item ADD sob_default_item_group_id bigint NOT NULL ;
ALTER TABLE hrsa_salary_sob_default_item ADD sorted_index int NOT NULL ;
ALTER TABLE hrsa_salary_sob_default_item
ADD sob_default_item_group_id bigint NOT NULL;
ALTER TABLE hrsa_salary_sob_default_item
ADD sorted_index int NOT NULL;
ALTER TABLE hrsa_salary_item
ADD data_type varchar(20) NOT NULL;
CREATE TABLE hrsa_salary_sob_item
(
id bigint(20) identity (1,1) PRIMARY KEY,
salary_sob_id bigint(20) NOT NULL,
salary_item_id bigint(20) NOT NULL,
salary_sob_item_group_id bigint(20) NOT NULL,
formula_id bigint(20) NOT NULL,
sorted_index int(11) NOT NULL,
description varchar(1000) NOT NULL DEFAULT '',
create_time datetime NOT NULL,
update_time datetime NOT NULL,
creator bigint(20) NOT NULL,
delete_type int(11) NOT NULL,
tenant_key varchar(10) NOT NULL
);

View File

@ -192,6 +192,9 @@
<if test="updateTime != null">
update_time,
</if>
<if test="dataType != null">
data_type,
</if>
</trim>
<trim prefix="VALUES (" suffix=")" suffixOverrides=",">
<if test="id != null">
@ -248,6 +251,9 @@
<if test="updateTime != null">
#{updateTime},
</if>
<if test="dataType != null">
#{dataType},
</if>
</trim>
</insert>