This commit is contained in:
shuo.wang
2025-05-13 17:03:02 +08:00
parent 2bf1ddea47
commit e6ea93938b

View File

@@ -232,6 +232,8 @@ public class BuildInformationServiceImpl implements BuildInformationService {
buildInformationDO.setUpdateTime(new Date()); buildInformationDO.setUpdateTime(new Date());
return buildInformationDAO.updateByShopIdSelective(buildInformationDO); return buildInformationDAO.updateByShopIdSelective(buildInformationDO);
} }
}else{
throw new ServiceException(ErrorCodeEnum.DUPLICATE_SUBMISSION);
} }
} finally { } finally {
if (Boolean.TRUE.equals(acquired)) { if (Boolean.TRUE.equals(acquired)) {
@@ -241,7 +243,6 @@ public class BuildInformationServiceImpl implements BuildInformationService {
} }
} }
} }
return 0;
} }
private static @NotNull OrderSysInfoDO getOrderSysInfoDO(BuildInformationRequest request) { private static @NotNull OrderSysInfoDO getOrderSysInfoDO(BuildInformationRequest request) {