Browse Source

修复bug

master
songguoqiang 7 months ago
parent
commit
7ab643d09b
  1. 5
      win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/transaction/vo/TransactionRespVO.java
  2. 1
      win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/enums/transaction/TransactionEnum.java
  3. 2
      win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/service/itemaccounts/ItemAccountsServiceImpl.java

5
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.EqualsAndHashCode;
import lombok.ToString; import lombok.ToString;
import java.time.LocalDateTime;
@Schema(description = "管理后台 - 库存事务 Response VO") @Schema(description = "管理后台 - 库存事务 Response VO")
@Data @Data
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true) @ToString(callSuper = true)
public class TransactionRespVO extends TransactionBaseVO { public class TransactionRespVO extends TransactionBaseVO {
@Schema(description = "创建时间")
private LocalDateTime createTime;
} }

1
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", "盘点调整"), ADJUST("ADJUST", "盘点调整"),
NEW_IN("NEWIN", "新到货入库"), NEW_IN("NEWIN", "新到货入库"),
IN_IN("ININ", "账内入库"), IN_IN("ININ", "账内入库"),
OUT_IN("OUTIN", "账外入库"),
NEW_TURN_IN("NEWTURNIN", "新到货转账内入库"), NEW_TURN_IN("NEWTURNIN", "新到货转账内入库"),
NEW_TURN_OUT("NEWTURNOUT", "新到货转账内出库"), NEW_TURN_OUT("NEWTURNOUT", "新到货转账内出库"),

2
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("备件导入账内入库");//描述 transactionCreateReqVO.setDescribes("备件导入账内入库");//描述
} }
if(itemAccountsDO1.getType().equals(ItemAccountStatusEnum.OUT.getCode())){//账外 if(itemAccountsDO1.getType().equals(ItemAccountStatusEnum.OUT.getCode())){//账外
transactionCreateReqVO.setInventoryAction(TransactionEnum.IN_IN.getCode()); transactionCreateReqVO.setInventoryAction(TransactionEnum.OUT_IN.getCode());
transactionCreateReqVO.setDescribes("备件导入账外入库");//描述 transactionCreateReqVO.setDescribes("备件导入账外入库");//描述
} }
transactionCreateReqVO.setType(itemAccountsDO1.getType()); transactionCreateReqVO.setType(itemAccountsDO1.getType());

Loading…
Cancel
Save