From fc24c266d88751bc431b5d61c05c0c388d9f0350 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期四, 01 六月 2023 16:14:58 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/ints/entity/ErpLk.java | 38 +++++++++++++++++++++++++++-----------
1 files changed, 27 insertions(+), 11 deletions(-)
diff --git a/src/main/java/com/zy/ints/entity/ErpLk.java b/src/main/java/com/zy/ints/entity/ErpLk.java
index 31cffe7..f70be53 100644
--- a/src/main/java/com/zy/ints/entity/ErpLk.java
+++ b/src/main/java/com/zy/ints/entity/ErpLk.java
@@ -1,12 +1,13 @@
package com.zy.ints.entity;
-import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotations.TableName;
+
import java.io.Serializable;
@Data
@@ -18,7 +19,7 @@
/**
* 鍝佸彿
*/
- @ApiModelProperty(value= "鍝佸彿")
+ @ApiModelProperty(value = "鍝佸彿")
@TableId(value = "prd_no", type = IdType.INPUT)
@TableField("prd_no")
private String prdNo;
@@ -26,7 +27,7 @@
/**
* 璐у搧鐗瑰緛
*/
- @ApiModelProperty(value= "璐у搧鐗瑰緛")
+ @ApiModelProperty(value = "璐у搧鐗瑰緛")
@TableId(value = "prd_mark", type = IdType.INPUT)
@TableField("prd_mark")
private String prdMark;
@@ -34,42 +35,43 @@
/**
* 鏁伴噺
*/
- @ApiModelProperty(value= "鏁伴噺")
+ @ApiModelProperty(value = "鏁伴噺")
private Double qty;
/**
* 浠撳簱
*/
- @ApiModelProperty(value= "浠撳簱")
+ @ApiModelProperty(value = "浠撳簱")
private String wh;
/**
* 鐘舵��:0锛堝垵濮嬬姸鎬侊級銆�1锛堝凡鎺ユ敹锛夈��2锛堝紓甯革級
*/
- @ApiModelProperty(value= "鐘舵��:0锛堝垵濮嬬姸鎬侊級銆�1锛堝凡鎺ユ敹锛夈��2锛堝紓甯革級")
+ @ApiModelProperty(value = "鐘舵��:0锛堝垵濮嬬姸鎬侊級銆�1锛堝凡鎺ユ敹锛夈��2锛堝紓甯革級")
private Integer status;
/**
* 澶囩敤瀛楁1
*/
- @ApiModelProperty(value= "澶囩敤瀛楁1")
+ @ApiModelProperty(value = "澶囩敤瀛楁1")
private String temp1;
/**
* 澶囩敤瀛楁2
*/
- @ApiModelProperty(value= "澶囩敤瀛楁2")
+ @ApiModelProperty(value = "澶囩敤瀛楁2")
private String temp2;
/**
* 澶囩敤瀛楁3
*/
- @ApiModelProperty(value= "澶囩敤瀛楁3")
+ @ApiModelProperty(value = "澶囩敤瀛楁3")
private String temp3;
- public ErpLk() {}
+ public ErpLk() {
+ }
- public ErpLk(String prdNo,String prdMark,Double qty,String wh,Integer status,String temp1,String temp2,String temp3) {
+ public ErpLk(String prdNo, String prdMark, Double qty, String wh, Integer status, String temp1, String temp2, String temp3) {
this.prdNo = prdNo;
this.prdMark = prdMark;
this.qty = qty;
@@ -92,5 +94,19 @@
// null // 澶囩敤瀛楁3
// );
+ public String getStatus$(){
+ if (null == this.status){ return null; }
+ switch (this.status){
+ case 0:
+ return "0(鍒濆鐘舵��)";
+ case 1:
+ return "1(宸叉帴鏀�)";
+ case 2:
+ return "2(寮傚父)";
+ default:
+ return String.valueOf(this.status);
+ }
+ }
+
}
--
Gitblit v1.9.1