Compare commits

...

7 Commits

6 changed files with 49 additions and 42 deletions

View File

@ -1,5 +1,5 @@
log=false log=false
defaultCloseNonStandard149=true defaultCloseNonStandard149=true
AESEncryptScrect=990EB004A1C862721C1513AE90038C9E AESEncryptScrect=990EB004A1C862721C1513AE90038C9E
version=3.0.3.2510.01 version=3.0.4.2603.01.s
openFormulaForcedEditing=false openFormulaForcedEditing=false

View File

@ -1,54 +1,35 @@
alter table hrsa_bill_detail_temp add subcompany_name varchar2(200) NULL; alter table hrsa_bill_detail_temp add subcompany_name varchar(200) NULL;
/
alter table hrsa_bill_detail_temp add subcompany_id NUMBER null; alter table hrsa_bill_detail_temp add subcompany_id bigint null;
/
alter table hrsa_bill_detail_temp add department_name varchar2(200) NULL; alter table hrsa_bill_detail_temp add department_name varchar(200) NULL;
/
alter table hrsa_bill_detail_temp add department_id NUMBER null; alter table hrsa_bill_detail_temp add department_id bigint null;
/
alter table hrsa_bill_detail_temp add jobtitle_name varchar2(200) NULL; alter table hrsa_bill_detail_temp add jobtitle_name varchar(200) NULL;
/
alter table hrsa_bill_detail_temp add jobtitle_id NUMBER NULL; alter table hrsa_bill_detail_temp add jobtitle_id bigint NULL;
/
alter table hrsa_bill_detail_temp add jobcall varchar2(200) NULL; alter table hrsa_bill_detail_temp add jobcall varchar(200) NULL;
/
alter table hrsa_bill_detail_temp add jobcall_id NUMBER NULL; alter table hrsa_bill_detail_temp add jobcall_id bigint NULL;
/
alter table hrsa_bill_detail_temp add status varchar2(200) NULL; alter table hrsa_bill_detail_temp add status varchar(200) NULL;
/
alter table hrsa_bill_detail add subcompany_name varchar(200) NULL;
alter table hrsa_bill_detail add subcompany_name varchar2(200) NULL; alter table hrsa_bill_detail add subcompany_id bigint null;
/
alter table hrsa_bill_detail add subcompany_id NUMBER null; alter table hrsa_bill_detail add department_name varchar(200) NULL;
/
alter table hrsa_bill_detail add department_name varchar2(200) NULL; alter table hrsa_bill_detail add department_id bigint null;
/
alter table hrsa_bill_detail add department_id NUMBER null; alter table hrsa_bill_detail add jobtitle_name varchar(200) NULL;
/
alter table hrsa_bill_detail add jobtitle_name varchar2(200) NULL; alter table hrsa_bill_detail add jobtitle_id bigint NULL;
/
alter table hrsa_bill_detail add jobtitle_id NUMBER NULL; alter table hrsa_bill_detail add jobcall varchar(200) NULL;
/
alter table hrsa_bill_detail add jobcall varchar2(200) NULL; alter table hrsa_bill_detail add jobcall_id bigint NULL;
/
alter table hrsa_bill_detail add jobcall_id NUMBER NULL; alter table hrsa_bill_detail add status varchar(200) NULL;
/
alter table hrsa_bill_detail add status varchar2(200) NULL;
/

View File

@ -290,7 +290,7 @@
</trim> </trim>
<trim prefix="update_time = case" suffix="end,"> <trim prefix="update_time = case" suffix="end,">
<foreach collection="collection" item="item" index="index"> <foreach collection="collection" item="item" index="index">
WHEN id = #{item.id} THEN #{item.updateTime} WHEN id = #{item.id} THEN #{item.updateTime,jdbcType=TIMESTAMP}
</foreach> </foreach>
</trim> </trim>
</trim> </trim>

View File

@ -370,7 +370,7 @@
</trim> </trim>
<trim prefix="update_time = case" suffix="end,"> <trim prefix="update_time = case" suffix="end,">
<foreach collection="collection" item="item" index="index"> <foreach collection="collection" item="item" index="index">
WHEN id = #{item.id} THEN #{item.updateTime} WHEN id = #{item.id} THEN #{item.updateTime,jdbcType=TIMESTAMP}
</foreach> </foreach>
</trim> </trim>
</trim> </trim>

View File

@ -379,7 +379,33 @@
</trim> </trim>
<trim prefix="update_time = case" suffix="end,"> <trim prefix="update_time = case" suffix="end,">
<foreach collection="collection" item="item" index="index"> <foreach collection="collection" item="item" index="index">
WHEN id = #{item.id} THEN #{item.updateTime} WHEN id = #{item.id} THEN #{item.updateTime,jdbcType=TIMESTAMP}
</foreach>
</trim>
<trim prefix="delete_type = case" suffix="end,">
<foreach collection="collection" item="item" index="index">
WHEN id = #{item.id} THEN #{item.deleteType}
</foreach>
</trim>
</trim>
WHERE delete_type = 0
AND id IN
<foreach collection="collection" item="item" open="(" close=")" separator=",">
#{item.id}
</foreach>
</update>
<update id="batchUpdate" databaseId="postgresql">
UPDATE hrsa_insurance_base_info
<trim prefix="set" suffixOverrides=",">
<trim prefix="run_status = case" suffix="end,">
<foreach collection="collection" item="item" index="index">
WHEN id = #{item.id} THEN #{item.runStatus}
</foreach>
</trim>
<trim prefix="update_time = case" suffix="end,">
<foreach collection="collection" item="item" index="index">
WHEN id = #{item.id} THEN cast(#{item.updateTime} as timestamp)
</foreach> </foreach>
</trim> </trim>
<trim prefix="delete_type = case" suffix="end,"> <trim prefix="delete_type = case" suffix="end,">

View File

@ -608,7 +608,7 @@ public class SalaryAcctRecordServiceImpl extends Service implements SalaryAcctRe
boolean jl = getSalaryAcctSobConfigService(user).isJL((long) user.getUID()); boolean jl = getSalaryAcctSobConfigService(user).isJL((long) user.getUID());
if (jl) { if (jl) {
return "zy"; return "jl";
} }
return ""; return "";