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