From b06233aa71b70f7a30ff382ae1ba19c29b134d7c Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期五, 28 十一月 2025 15:41:51 +0800
Subject: [PATCH] #库存调整完成
---
src/main/java/com/zy/asrs/entity/CheckOrderDetl.java | 22 +++++-----------------
1 files changed, 5 insertions(+), 17 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/CheckOrderDetl.java b/src/main/java/com/zy/asrs/entity/CheckOrderDetl.java
index 0b3ade0..04afc24 100644
--- a/src/main/java/com/zy/asrs/entity/CheckOrderDetl.java
+++ b/src/main/java/com/zy/asrs/entity/CheckOrderDetl.java
@@ -3,6 +3,7 @@
import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.core.common.SpringUtils;
+import com.zy.asrs.enums.CheckStatusEnum;
import com.zy.asrs.service.OrderService;
import com.zy.asrs.entity.Order;
import com.baomidou.mybatisplus.annotations.TableField;
@@ -258,7 +259,7 @@
/**
* 鐘舵�� 1: 鏈敓鎴� 0: 绂佺敤 2锛氬緟鐩� 3锛氬凡鐩�
*/
- @ApiModelProperty(value= "鐘舵�� 1: 鏈敓鎴� 0: 绂佺敤 2锛氬緟鐩� 3锛氬凡鐩� 4:寰呰皟鏁� 5:宸茶皟鏁�")
+ @ApiModelProperty(value= "鐘舵�� 1: 鏈敓鎴� 0: 绂佺敤 2锛氬緟鐩� 3锛氬凡鐩� 4:鍏佽 5:绂佹 6锛氬凡淇敼")
private Integer status;
/**
@@ -552,22 +553,9 @@
public String getStatus$(){
if (null == this.status){ return null; }
- switch (this.status){
- case 1:
- return "鏈敓鎴�";
- case 0:
- return "绂佺敤";
- case 2:
- return "寰呯洏";
- case 3:
- return "宸茬洏";
- case 4:
- return "寰呰皟鏁�";
- case 5:
- return "宸茶皟鏁�";
- default:
- return String.valueOf(this.status);
- }
+ String descByType = CheckStatusEnum.getDescByType(this.status);
+ if (Cools.isEmpty(descByType)){ return "鏈畾涔�"; }
+ return descByType;
}
public String getCreateBy$(){
--
Gitblit v1.9.1