Compare commits
2 Commits
0644ace525
...
eb127b3daf
| Author | SHA1 | Date |
|---|---|---|
|
|
eb127b3daf | |
|
|
92b21519bc |
|
|
@ -61,6 +61,7 @@ public class BmProjectCombineServiceImpl implements IBmProjectCombineService
|
|||
List<BmProjectCombine> baiList = projectMapper.selectCLAIList(oldProject);
|
||||
if (CollectionUtils.isNotEmpty(baiList)) {
|
||||
for (BmProjectCombine bai : baiList){
|
||||
bai.setNewProId(oldProject.getNewProId());
|
||||
projectMapper.updateCLAI(bai);
|
||||
bai.setCreateBy(createBy);
|
||||
bai.setTableName("clz_lease_apply_info");
|
||||
|
|
@ -75,6 +76,7 @@ public class BmProjectCombineServiceImpl implements IBmProjectCombineService
|
|||
List<BmProjectCombine> baiList = projectMapper.selectLAIList(oldProject);
|
||||
if (CollectionUtils.isNotEmpty(baiList)) {
|
||||
for (BmProjectCombine bai : baiList){
|
||||
bai.setNewProId(oldProject.getNewProId());
|
||||
projectMapper.updateLAI(bai);
|
||||
bai.setCreateBy(createBy);
|
||||
bai.setTableName("lease_apply_info");
|
||||
|
|
@ -89,6 +91,7 @@ public class BmProjectCombineServiceImpl implements IBmProjectCombineService
|
|||
List<BmProjectCombine> baiList = projectMapper.selectCBAIList(oldProject);
|
||||
if (CollectionUtils.isNotEmpty(baiList)) {
|
||||
for (BmProjectCombine bai : baiList){
|
||||
bai.setNewProId(oldProject.getNewProId());
|
||||
projectMapper.updateCBAI(bai);
|
||||
bai.setCreateBy(createBy);
|
||||
bai.setTableName("clz_bm_agreement_info");
|
||||
|
|
@ -103,6 +106,7 @@ public class BmProjectCombineServiceImpl implements IBmProjectCombineService
|
|||
List<BmProjectCombine> baiList = projectMapper.selectBAIList(oldProject);
|
||||
if (CollectionUtils.isNotEmpty(baiList)) {
|
||||
for (BmProjectCombine bai : baiList){
|
||||
bai.setNewProId(oldProject.getNewProId());
|
||||
projectMapper.updateBAI(bai);
|
||||
bai.setCreateBy(createBy);
|
||||
bai.setTableName("bm_agreement_info");
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<insert id="insertCombine">
|
||||
insert into sys_combine_project
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="tableName != null">tabel_name,</if>
|
||||
<if test="tableId != null and tableId != ''">tabel_id,</if>
|
||||
<if test="tableName != null">table_name,</if>
|
||||
<if test="tableId != null and tableId != ''">table_id,</if>
|
||||
<if test="oldProId != null">pre_pro_id,</if>
|
||||
<if test="newProId != null">new_pro_id,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue