commit
c6afa9b542
@ -112,7 +112,7 @@ public class SysCustomerHealthyServiceImpl implements ISysCustomerHealthyService
|
|||||||
@Override
|
@Override
|
||||||
public int updateSysCustomerHealthy(SysCustomerHealthy sysCustomerHealthy){
|
public int updateSysCustomerHealthy(SysCustomerHealthy sysCustomerHealthy){
|
||||||
int rows = sysCustomerHealthyMapper.updateSysCustomerHealthy(sysCustomerHealthy);
|
int rows = sysCustomerHealthyMapper.updateSysCustomerHealthy(sysCustomerHealthy);
|
||||||
if(rows > 0){
|
if(rows > 0 && sysCustomerHealthy.getHealthyExtend() != null && sysCustomerHealthy.getHealthyExtend().getId() != null){
|
||||||
rows = sysCustomerHealthyExtendedMapper.updateSysCustomerHealthyExtended(sysCustomerHealthy.getHealthyExtend());
|
rows = sysCustomerHealthyExtendedMapper.updateSysCustomerHealthyExtended(sysCustomerHealthy.getHealthyExtend());
|
||||||
}
|
}
|
||||||
return rows;
|
return rows;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user