Commit f1d22b17 authored by hongguangwu's avatar hongguangwu

MVP1.7.16-复制

parent 973f3012
...@@ -434,6 +434,7 @@ public class TEmployeeContractPreServiceImpl extends ServiceImpl<TEmployeeContra ...@@ -434,6 +434,7 @@ public class TEmployeeContractPreServiceImpl extends ServiceImpl<TEmployeeContra
if (contract != null && Common.isNotNull(contract.getId())) { if (contract != null && Common.isNotNull(contract.getId())) {
TEmployeeContractPreHistory contractHistory = new TEmployeeContractPreHistory(); TEmployeeContractPreHistory contractHistory = new TEmployeeContractPreHistory();
BeanUtil.copyProperties(contract, contractHistory); BeanUtil.copyProperties(contract, contractHistory);
contractHistory.setId(null);
tEmployeeContractPreHistoryMapper.insert(contractHistory); tEmployeeContractPreHistoryMapper.insert(contractHistory);
} }
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment