修正服务指令计划存储时nuId和customerId没有存储的问题

This commit is contained in:
曹磊 2025-10-15 14:10:11 +08:00
parent d6793b7bb7
commit 596271d0a0
1 changed files with 6 additions and 0 deletions

View File

@ -241,7 +241,9 @@ public class NuBizNuCustomerServerServiceImpl extends ServiceImpl<NuBizNuCustome
List<NuBizNuCustomerServer> serverList = nuBizNuCustomerServer.getServerList();
if(serverList.size()>0){
for(NuBizNuCustomerServer par : serverList){
par.setNuId(nuBizNuCustomerServer.getNuId());
par.setNuName(nuBizNuCustomerServer.getNuName());
par.setCustomerId(nuBizNuCustomerServer.getCustomerId());
par.setCustomerName(nuBizNuCustomerServer.getCustomerName());
baseMapper.insert(par);
}
@ -253,7 +255,9 @@ public class NuBizNuCustomerServerServiceImpl extends ServiceImpl<NuBizNuCustome
List<NuBizNuCustomerServerInstant> instantList = nuBizNuCustomerServer.getInstantList();
if(instantList.size()>0){
for(NuBizNuCustomerServerInstant pari : instantList){
pari.setNuId(nuBizNuCustomerServer.getNuId());
pari.setNuName(nuBizNuCustomerServer.getNuName());
pari.setCustomerId(nuBizNuCustomerServer.getCustomerId());
pari.setCustomerName(nuBizNuCustomerServer.getCustomerName());
nuBizNuCustomerServerInstantService.save(pari);
}
@ -266,7 +270,9 @@ public class NuBizNuCustomerServerServiceImpl extends ServiceImpl<NuBizNuCustome
List<NuBizNuCustomerElderTag> tagList = nuBizNuCustomerServer.getTagList();
if(tagList.size()>0){
for(NuBizNuCustomerElderTag tg : tagList){
tg.setNuId(nuBizNuCustomerServer.getNuId());
tg.setNuName(nuBizNuCustomerServer.getNuName());
tg.setCustomerId(nuBizNuCustomerServer.getCustomerId());
tg.setCustomerName(nuBizNuCustomerServer.getCustomerName());
nuBizNuCustomerElderTagService.save(tg);
}