fix
This commit is contained in:
@@ -141,7 +141,12 @@ public class BuildInformationServiceImpl implements BuildInformationService {
|
||||
BuildInformationDO informationDO = buildInformationDAO.selectOneByShopId(request.getShopId());
|
||||
BuildInformationDO buildInformationDO = request.toDO();
|
||||
OrderSysInfoDO orderSysInfoDO = getOrderSysInfoDO(request);
|
||||
orderSysInfoDAO.updateByShopId(orderSysInfoDO);
|
||||
OrderSysInfoDO orderSysInfoDO1 = orderSysInfoDAO.selectByShopId(request.getShopId());
|
||||
if (Objects.nonNull(orderSysInfoDO1)){
|
||||
orderSysInfoDAO.updateByShopId(orderSysInfoDO);
|
||||
}else{
|
||||
orderSysInfoDAO.insertSelective(orderSysInfoDO);
|
||||
}
|
||||
if (Objects.isNull(informationDO)) {
|
||||
buildInformationDO.setCreateTime(new Date());
|
||||
buildInformationDO.setUpdateTime(new Date());
|
||||
|
||||
Reference in New Issue
Block a user