fix: 优化

dev_drug
chenhc 1 month ago
parent 863de23d26
commit 28d8d73361

@ -349,8 +349,8 @@ public class IoOrderController extends BaseController {
for (int i = 0; i < orderDetailBizEntities.size(); i++) {
IoOrderDetailBizEntity ioOrderDetailBizEntity = orderDetailBizEntities.get(i);
if (ioOrderDetailBizEntity.getProductType() == 2) {
if ( StrUtil.isEmpty(ioOrderDetailBizEntity.getExpireDate()) &&
StrUtil.isEmpty(ioOrderDetailBizEntity.getBatchNo()) &&
if ( StrUtil.isEmpty(ioOrderDetailBizEntity.getExpireDate()) ||
StrUtil.isEmpty(ioOrderDetailBizEntity.getBatchNo()) ||
StrUtil.isEmpty(ioOrderDetailBizEntity.getProductDate()) ){
return ResultVOUtils.error(500, "单据中存在药品无填写完整三期,无法提交!");
}

Loading…
Cancel
Save