dev_drug
wangwei 3 months ago
parent 2e2f798754
commit 9bb53c360f

@ -191,12 +191,12 @@ public class SysParamConfigController {
filterParamConfigRequest.setParamType(2); filterParamConfigRequest.setParamType(2);
filterParamConfigRequest.setParamStatus(1); filterParamConfigRequest.setParamStatus(1);
List<SystemParamConfigEntity> systemParamConfigEntities = systemParamConfigService.queryPage(filterParamConfigRequest); List<SystemParamConfigEntity> systemParamConfigEntities = systemParamConfigService.queryPage(filterParamConfigRequest);
systemParamConfigEntities = systemParamConfigEntities.stream().sorted(Comparator.comparing(SystemParamConfigEntity::getId)) systemParamConfigEntities = systemParamConfigEntities.stream().sorted(Comparator.comparing(SystemParamConfigEntity::getParamKey))
.collect(Collectors.toList()); .collect(Collectors.toList());
ProductRemarkSetEntity productRemarkSetEntity = new ProductRemarkSetEntity(); ProductRemarkSetEntity productRemarkSetEntity = new ProductRemarkSetEntity();
if (CollUtil.isNotEmpty(systemParamConfigEntities) && systemParamConfigEntities.size() == 13) { if (CollUtil.isNotEmpty(systemParamConfigEntities) && systemParamConfigEntities.size() == 8) {
for (int i = 0; i < systemParamConfigEntities.size(); i++) { for (int i = 0; i < systemParamConfigEntities.size(); i++) {
SystemParamConfigEntity systemParamConfigEntity = systemParamConfigEntities.get(i); SystemParamConfigEntity systemParamConfigEntity = systemParamConfigEntities.get(i);

@ -347,7 +347,7 @@ public class IoCheckInoutService {
curCount = codeEntity.getMyReCount(); curCount = codeEntity.getMyReCount();
} }
if (curCount > bizEntity.getCount()) { if (curCount > bizEntity.getCount()) {
return "当前产品数量超出!"; return "当前产品" + bizEntity.getCoName() + "数量超出!";
} }
if (bizEntity.getPrice() != null) if (bizEntity.getPrice() != null)
codeEntity.setPrice(bizEntity.getPrice()); codeEntity.setPrice(bizEntity.getPrice());

Loading…
Cancel
Save