From 28d8d7336123e88efc65ec06621994f350ed3453 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Fri, 21 Feb 2025 10:33:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/glxp/api/controller/inout/IoOrderController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/glxp/api/controller/inout/IoOrderController.java b/src/main/java/com/glxp/api/controller/inout/IoOrderController.java index 684df2e9..f2038bac 100644 --- a/src/main/java/com/glxp/api/controller/inout/IoOrderController.java +++ b/src/main/java/com/glxp/api/controller/inout/IoOrderController.java @@ -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, "单据中存在药品无填写完整三期,无法提交!"); }