From fa3f1c489ea37821c58fd95269a0cbaf9492668c Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 02 四月 2025 14:25:54 +0800
Subject: [PATCH] no message
---
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/StockItem.java | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/StockItem.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/StockItem.java
index 8a34244..f9860c8 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/StockItem.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/StockItem.java
@@ -13,7 +13,6 @@
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableLogic;
-import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.vincent.rsf.framework.common.Cools;
@@ -21,7 +20,6 @@
import com.vincent.rsf.server.system.service.UserService;
import com.vincent.rsf.server.system.entity.User;
import java.io.Serializable;
-import java.util.Date;
@Data
@TableName("man_stock_item")
@@ -35,6 +33,12 @@
@ApiModelProperty(value= "ID")
@TableId(value = "id", type = IdType.AUTO)
private Long id;
+
+ /**
+ * 浠诲姟鏄庣粏ID
+ */
+ @ApiModelProperty("浠诲姟鏄庣粏ID")
+ private Long taskItemId;
/**
* 搴撳瓨澶栭敭鏍囪瘑
@@ -390,7 +394,7 @@
LocService service = SpringUtils.getBean(LocService.class);
Loc loc = service.getById(this.locId);
if (!Cools.isEmpty(loc)){
- return String.valueOf(loc.getName());
+ return String.valueOf(loc.getCode());
}
return null;
}
--
Gitblit v1.9.1