取货确认问题

dev_unify
yewj 7 months ago
parent 0d3e5b670b
commit 3f1ea341a2

@ -178,7 +178,7 @@ public class IoCollectOrderController extends BaseController {
if (IntUtil.value(collectSet.getAutoAllotOrder())) {
request.setTagStatus(1);
orderResponses = collectOrderService.filterList(request);
if (orderResponses != null)
if (CollUtil.isNotEmpty(orderResponses))
return ResultVOUtils.success(orderResponses.get(0));
}
}

@ -352,7 +352,7 @@ public class UdiContrastService {
udiProductEntity.setXjdw(ybDrug.getMinUnit());
udiProductEntity.setBhxjsl(ybDrug.getFactor());
}
if (thirdAliDrug.getPackLevel() !=null ){
if (thirdAliDrug.getPackLevel() != null) {
udiProductEntity.setDiType(IntUtil.value(thirdAliDrug.getPackLevel()) == 1 ? 1 : 4);
}
udiProductEntity.setId(IdUtil.getSnowflakeNextId());

Loading…
Cancel
Save