From bfe51f9c2ce2181fee372ed5f9017c7af59cc896 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期一, 01 九月 2025 12:49:55 +0800
Subject: [PATCH] 1
---
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java | 67 ++++++++-------------------------
1 files changed, 16 insertions(+), 51 deletions(-)
diff --git a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java
index a2e42f6..bb201a6 100644
--- a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java
+++ b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java
@@ -56,7 +56,7 @@
* 绔欑被鍨�
*/
@ApiModelProperty(value= "绔欑被鍨�")
- private Long staType;
+ private Integer staType;
/**
* 鏉$爜
@@ -69,6 +69,12 @@
*/
@ApiModelProperty(value= "鍋忕Щ閲�")
private Double offset;
+
+ /**
+ * 浣滀笟瑙掑害
+ */
+ @ApiModelProperty(value= "浣滀笟瑙掑害")
+ private String angle;
/**
* 鑷姩
@@ -154,56 +160,6 @@
@ApiModelProperty(value= "澶囨敞")
private String memo;
- public Sta() {}
-
- public Sta(String uuid,Long zoneId,String staNo,String name,Long staType,Long code,Double offset,String autoing,String loading,String inEnable,String outEnable,String zpallet,Long staSts,Integer status,Integer deleted,Long tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
- this.uuid = uuid;
- this.zoneId = zoneId;
- this.staNo = staNo;
- this.name = name;
- this.staType = staType;
- this.code = code;
- this.offset = offset;
- this.autoing = autoing;
- this.loading = loading;
- this.inEnable = inEnable;
- this.outEnable = outEnable;
- this.zpallet = zpallet;
- this.staSts = staSts;
- this.status = status;
- this.deleted = deleted;
- this.tenantId = tenantId;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
- this.memo = memo;
- }
-
-// Sta sta = new Sta(
-// null, // 缂栧彿
-// null, // 搴撳尯
-// null, // 绔欏彿
-// null, // 鍚嶇О
-// null, // 绔欑被鍨媅闈炵┖]
-// null, // 鏉$爜
-// null, // 鍋忕Щ閲�
-// null, // 鑷姩
-// null, // 鏈夌墿
-// null, // 鍙叆
-// null, // 鍙嚭
-// null, // 鎵樼洏鐮�
-// null, // 绔欑姸鎬�
-// null, // 鐘舵�乕闈炵┖]
-// null, // 鏄惁鍒犻櫎[闈炵┖]
-// null, // 绉熸埛
-// null, // 娣诲姞浜哄憳
-// null, // 娣诲姞鏃堕棿[闈炵┖]
-// null, // 淇敼浜哄憳
-// null, // 淇敼鏃堕棿
-// null // 澶囨敞
-// );
-
public String getZoneId$(){
ZoneService service = SpringUtils.getBean(ZoneService.class);
Zone zone = service.getById(this.zoneId);
@@ -222,6 +178,15 @@
return null;
}
+ public Integer getStaTypeIsCheck(){
+ StaTypeService service = SpringUtils.getBean(StaTypeService.class);
+ StaType staType = service.getById(this.staType);
+ if (!Cools.isEmpty(staType)){
+ return staType.getCheckType();
+ }
+ return 0;
+ }
+
public String getCode$(){
CodeService service = SpringUtils.getBean(CodeService.class);
Code code = service.getById(this.code);
--
Gitblit v1.9.1