修正服务指令计划存储时nuId和customerId没有存储的问题
This commit is contained in:
parent
d6793b7bb7
commit
596271d0a0
|
|
@ -241,7 +241,9 @@ public class NuBizNuCustomerServerServiceImpl extends ServiceImpl<NuBizNuCustome
|
||||||
List<NuBizNuCustomerServer> serverList = nuBizNuCustomerServer.getServerList();
|
List<NuBizNuCustomerServer> serverList = nuBizNuCustomerServer.getServerList();
|
||||||
if(serverList.size()>0){
|
if(serverList.size()>0){
|
||||||
for(NuBizNuCustomerServer par : serverList){
|
for(NuBizNuCustomerServer par : serverList){
|
||||||
|
par.setNuId(nuBizNuCustomerServer.getNuId());
|
||||||
par.setNuName(nuBizNuCustomerServer.getNuName());
|
par.setNuName(nuBizNuCustomerServer.getNuName());
|
||||||
|
par.setCustomerId(nuBizNuCustomerServer.getCustomerId());
|
||||||
par.setCustomerName(nuBizNuCustomerServer.getCustomerName());
|
par.setCustomerName(nuBizNuCustomerServer.getCustomerName());
|
||||||
baseMapper.insert(par);
|
baseMapper.insert(par);
|
||||||
}
|
}
|
||||||
|
|
@ -253,7 +255,9 @@ public class NuBizNuCustomerServerServiceImpl extends ServiceImpl<NuBizNuCustome
|
||||||
List<NuBizNuCustomerServerInstant> instantList = nuBizNuCustomerServer.getInstantList();
|
List<NuBizNuCustomerServerInstant> instantList = nuBizNuCustomerServer.getInstantList();
|
||||||
if(instantList.size()>0){
|
if(instantList.size()>0){
|
||||||
for(NuBizNuCustomerServerInstant pari : instantList){
|
for(NuBizNuCustomerServerInstant pari : instantList){
|
||||||
|
pari.setNuId(nuBizNuCustomerServer.getNuId());
|
||||||
pari.setNuName(nuBizNuCustomerServer.getNuName());
|
pari.setNuName(nuBizNuCustomerServer.getNuName());
|
||||||
|
pari.setCustomerId(nuBizNuCustomerServer.getCustomerId());
|
||||||
pari.setCustomerName(nuBizNuCustomerServer.getCustomerName());
|
pari.setCustomerName(nuBizNuCustomerServer.getCustomerName());
|
||||||
nuBizNuCustomerServerInstantService.save(pari);
|
nuBizNuCustomerServerInstantService.save(pari);
|
||||||
}
|
}
|
||||||
|
|
@ -266,7 +270,9 @@ public class NuBizNuCustomerServerServiceImpl extends ServiceImpl<NuBizNuCustome
|
||||||
List<NuBizNuCustomerElderTag> tagList = nuBizNuCustomerServer.getTagList();
|
List<NuBizNuCustomerElderTag> tagList = nuBizNuCustomerServer.getTagList();
|
||||||
if(tagList.size()>0){
|
if(tagList.size()>0){
|
||||||
for(NuBizNuCustomerElderTag tg : tagList){
|
for(NuBizNuCustomerElderTag tg : tagList){
|
||||||
|
tg.setNuId(nuBizNuCustomerServer.getNuId());
|
||||||
tg.setNuName(nuBizNuCustomerServer.getNuName());
|
tg.setNuName(nuBizNuCustomerServer.getNuName());
|
||||||
|
tg.setCustomerId(nuBizNuCustomerServer.getCustomerId());
|
||||||
tg.setCustomerName(nuBizNuCustomerServer.getCustomerName());
|
tg.setCustomerName(nuBizNuCustomerServer.getCustomerName());
|
||||||
nuBizNuCustomerElderTagService.save(tg);
|
nuBizNuCustomerElderTagService.save(tg);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue