From 0b935015086b844354e88b59d0c97d1e29c48da6 Mon Sep 17 00:00:00 2001 From: wj <1285151836@qq.com> Date: Mon, 10 Jul 2023 14:40:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=9E=E6=80=A7copy=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/glxp/api/entity/inout/IoCodeTempEntity.java | 2 +- src/main/java/com/glxp/api/service/inout/IoAddInoutService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/glxp/api/entity/inout/IoCodeTempEntity.java b/src/main/java/com/glxp/api/entity/inout/IoCodeTempEntity.java index 79c93765..2d0c9c30 100644 --- a/src/main/java/com/glxp/api/entity/inout/IoCodeTempEntity.java +++ b/src/main/java/com/glxp/api/entity/inout/IoCodeTempEntity.java @@ -137,7 +137,7 @@ public class IoCodeTempEntity { private Date createTime; @TableField(exist = false) - private int status; //条码校验状态 + private Integer status; //条码校验状态 @TableField(exist = false) private String mySupId; //更新供应商 diff --git a/src/main/java/com/glxp/api/service/inout/IoAddInoutService.java b/src/main/java/com/glxp/api/service/inout/IoAddInoutService.java index f3f4faaa..e2a76c42 100644 --- a/src/main/java/com/glxp/api/service/inout/IoAddInoutService.java +++ b/src/main/java/com/glxp/api/service/inout/IoAddInoutService.java @@ -769,7 +769,7 @@ public class IoAddInoutService { List ioCodeEnttities = new ArrayList<>(); for (int index = 0; index < pdaCodeEntities.size(); index++) { IoCodeTempEntity codeEnttity = new IoCodeTempEntity(); - BeanUtils.copyProperties(pdaCodeEntities.get(index), codeEnttity); + BeanUtil.copyProperties(pdaCodeEntities.get(index), codeEnttity); codeEnttity.setAction(orderSaveRequest.getAction()); codeEnttity.setMainAction(orderSaveRequest.getMainAction()); codeEnttity.setDeptCode(orderSaveRequest.getDeptCode());