From 223af215f01fa211c63cc9dedea7cfda6bf33571 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Tue, 17 Dec 2024 18:34:07 +0800 Subject: [PATCH] =?UTF-8?q?12/17=20=E6=89=AB=E7=A0=81=E5=8D=95=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/glxp/api/controller/inout/IoCodeTempController.java | 1 + .../api/service/inout/impl/IoOrderDetailCodeServiceImpl.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/glxp/api/controller/inout/IoCodeTempController.java b/src/main/java/com/glxp/api/controller/inout/IoCodeTempController.java index 3e5913a0..5cf13b67 100644 --- a/src/main/java/com/glxp/api/controller/inout/IoCodeTempController.java +++ b/src/main/java/com/glxp/api/controller/inout/IoCodeTempController.java @@ -868,6 +868,7 @@ public class IoCodeTempController extends BaseController { orderEntity.setInvCode(addOrderRequest.getInvCode()); orderEntity.setOrderType(addOrderRequest.getOrderType()); orderEntity.setBusType(bussinessTypeEntity.getBusType()); + orderEntity.setProductType(udiRelevanceResponse.getProductsType()); orderService.insertOrder(orderEntity); } if (addOrderRequest.getOrderType() == ConstantStatus.ORDER_TYPE_NORMAL && bussinessTypeEntity.isCheckEnable() && bussinessTypeEntity.getCheckWebNew() != 0) { diff --git a/src/main/java/com/glxp/api/service/inout/impl/IoOrderDetailCodeServiceImpl.java b/src/main/java/com/glxp/api/service/inout/impl/IoOrderDetailCodeServiceImpl.java index 58ebd2ab..eeda25f9 100644 --- a/src/main/java/com/glxp/api/service/inout/impl/IoOrderDetailCodeServiceImpl.java +++ b/src/main/java/com/glxp/api/service/inout/impl/IoOrderDetailCodeServiceImpl.java @@ -144,7 +144,7 @@ public class IoOrderDetailCodeServiceImpl implements IoOrderDetailCodeService { IoOrderDetailCodeResponse resp = new IoOrderDetailCodeResponse(); BeanUtil.copyProperties(ioOrderDetailCodeEntity, resp); - if (ioOrderDetailCodeEntity.getProductType() == 2){ + if (ioOrderDetailCodeEntity.getProductType() == 2 ){ //增加药品数据 UdiProductEntity product = udiProductService.findByNameCode(ioOrderDetailCodeEntity.getNameCode()); resp.setBzgg(product.getBzgg());