diff --git a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/impl/NuBizNuCustomerServerServiceImpl.java b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/impl/NuBizNuCustomerServerServiceImpl.java index 3832d0b..2e511e1 100644 --- a/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/impl/NuBizNuCustomerServerServiceImpl.java +++ b/nursing-unit-api/src/main/java/com/nu/modules/NuBizNuCustomerServer/service/impl/NuBizNuCustomerServerServiceImpl.java @@ -241,7 +241,9 @@ public class NuBizNuCustomerServerServiceImpl extends ServiceImpl 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 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 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); }