Commit 30286668 by 王军业

[增加合同信息]

1 parent 54091b81
...@@ -67,10 +67,10 @@ ...@@ -67,10 +67,10 @@
<if test="amount_state_unid != null and amount_state_unid != ''"> <if test="amount_state_unid != null and amount_state_unid != ''">
,amount_state_unid ,amount_state_unid
</if> </if>
<if test="start_guarantee_date != null and start_guarantee_date != ''"> <if test="start_guarantee_date != null ">
,start_guarantee_date ,start_guarantee_date
</if> </if>
<if test="end_guarantee_date != null and end_guarantee_date != ''"> <if test="end_guarantee_date != null ">
,end_guarantee_date ,end_guarantee_date
</if> </if>
<if test="mainten_start_point != null and mainten_start_point != ''"> <if test="mainten_start_point != null and mainten_start_point != ''">
...@@ -153,10 +153,10 @@ ...@@ -153,10 +153,10 @@
<if test="amount_state_unid != null and amount_state_unid != ''"> <if test="amount_state_unid != null and amount_state_unid != ''">
,#{amount_state_unid} ,#{amount_state_unid}
</if> </if>
<if test="start_guarantee_date != null and start_guarantee_date != ''"> <if test="start_guarantee_date != null ">
,#{start_guarantee_date} ,#{start_guarantee_date}
</if> </if>
<if test="end_guarantee_date != null and end_guarantee_date != ''"> <if test="end_guarantee_date != null ">
,#{end_guarantee_date} ,#{end_guarantee_date}
</if> </if>
<if test="mainten_start_point != null and mainten_start_point != ''"> <if test="mainten_start_point != null and mainten_start_point != ''">
......
...@@ -58,6 +58,7 @@ public class ContractServiceImpl implements ContractService { ...@@ -58,6 +58,7 @@ public class ContractServiceImpl implements ContractService {
if (contractMapper.queryOne(contractVo.getContract_unid()) != null) { if (contractMapper.queryOne(contractVo.getContract_unid()) != null) {
contractMapper.updateOne(contractVo); contractMapper.updateOne(contractVo);
} else { } else {
contractVo.setIs_delete(false);
contractMapper.addOne(contractVo); contractMapper.addOne(contractVo);
} }
appendix.setBusiness_table("tb_contract"); appendix.setBusiness_table("tb_contract");
......
...@@ -46,7 +46,7 @@ logging: ...@@ -46,7 +46,7 @@ logging:
finance: finance:
authurl: http://192.168.9.162:20080/api/v1/auth/users authurl: http://192.168.9.162:20080/api/v1/auth/users
appendsavepath: appendsavepath:
appendurl: appendurl: http://192.168.9.162:20080/
#pagehelper: #pagehelper:
# helperDialect: postgresql # helperDialect: postgresql
# reasonable: true # reasonable: true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!