diff --git a/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/transaction/vo/TransactionRespVO.java b/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/transaction/vo/TransactionRespVO.java index 9d556f9..11946a9 100644 --- a/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/transaction/vo/TransactionRespVO.java +++ b/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/transaction/vo/TransactionRespVO.java @@ -5,10 +5,13 @@ import lombok.Data; import lombok.EqualsAndHashCode; import lombok.ToString; +import java.time.LocalDateTime; + @Schema(description = "管理后台 - 库存事务 Response VO") @Data @EqualsAndHashCode(callSuper = true) @ToString(callSuper = true) public class TransactionRespVO extends TransactionBaseVO { - + @Schema(description = "创建时间") + private LocalDateTime createTime; } diff --git a/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/enums/transaction/TransactionEnum.java b/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/enums/transaction/TransactionEnum.java index 1ed27ed..3d9f35d 100644 --- a/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/enums/transaction/TransactionEnum.java +++ b/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/enums/transaction/TransactionEnum.java @@ -9,6 +9,7 @@ public enum TransactionEnum { ADJUST("ADJUST", "盘点调整"), NEW_IN("NEWIN", "新到货入库"), IN_IN("ININ", "账内入库"), + OUT_IN("OUTIN", "账外入库"), NEW_TURN_IN("NEWTURNIN", "新到货转账内入库"), NEW_TURN_OUT("NEWTURNOUT", "新到货转账内出库"), diff --git a/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/service/itemaccounts/ItemAccountsServiceImpl.java b/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/service/itemaccounts/ItemAccountsServiceImpl.java index 37989fb..c6dd523 100644 --- a/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/service/itemaccounts/ItemAccountsServiceImpl.java +++ b/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/service/itemaccounts/ItemAccountsServiceImpl.java @@ -413,7 +413,7 @@ public class ItemAccountsServiceImpl implements ItemAccountsService { transactionCreateReqVO.setDescribes("备件导入账内入库");//描述 } if(itemAccountsDO1.getType().equals(ItemAccountStatusEnum.OUT.getCode())){//账外 - transactionCreateReqVO.setInventoryAction(TransactionEnum.IN_IN.getCode()); + transactionCreateReqVO.setInventoryAction(TransactionEnum.OUT_IN.getCode()); transactionCreateReqVO.setDescribes("备件导入账外入库");//描述 } transactionCreateReqVO.setType(itemAccountsDO1.getType());