fix
This commit is contained in:
@@ -58,6 +58,9 @@ public class OrderSysInfoServiceImpl implements OrderSysInfoService {
|
||||
throw new ServiceException(ErrorCodeEnum.THE_DATA_IS_NOT_FILLED);
|
||||
}
|
||||
OrderSysInfoDO orderSysInfoDO = orderSysInfoDAO.selectByShopId(request.getShopId());
|
||||
if (Objects.isNull(orderSysInfoDO)){
|
||||
orderSysInfoDO = new OrderSysInfoDO();
|
||||
}
|
||||
if (request.getType().equals(OrderSysTypeEnum.ORDER_SYS_TYPE_1.getType())) {
|
||||
orderSysInfoDO.setXgjVicePresident(request.getXgjVicePresident());
|
||||
orderSysInfoDO.setXgjRegionName(request.getXgjRegionName());
|
||||
|
||||
Reference in New Issue
Block a user