From 3c08965fb1fbdd2faf53edb811ec9d797c1b0527 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 10 十月 2024 13:46:44 +0800
Subject: [PATCH] #
---
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Action.java | 78 ++++++---------------------------------
1 files changed, 12 insertions(+), 66 deletions(-)
diff --git a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Action.java b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Action.java
index 5904324..19ff4f9 100644
--- a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Action.java
+++ b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Action.java
@@ -149,13 +149,13 @@
* 绉熸埛
*/
@ApiModelProperty(value= "绉熸埛")
- private Integer tenantId;
+ private Long tenantId;
/**
* 娣诲姞浜哄憳
*/
@ApiModelProperty(value= "娣诲姞浜哄憳")
- private Integer createBy;
+ private Long createBy;
/**
* 娣诲姞鏃堕棿
@@ -167,7 +167,7 @@
* 淇敼浜哄憳
*/
@ApiModelProperty(value= "淇敼浜哄憳")
- private Integer updateBy;
+ private Long updateBy;
/**
* 淇敼鏃堕棿
@@ -181,34 +181,7 @@
@ApiModelProperty(value= "澶囨敞")
private String memo;
- public Action() {}
-
- public Action(String uuid,Long busId,Long taskId,String seqNum,Integer priority,String name,Double val,String code,String params,Long actionType,Long actionSts,Long agvId,Date ioTime,Date startTime,Date endTime,Date errTime,String errDesc,Integer status,Integer deleted,Integer tenantId,Integer createBy,Date createTime,Integer updateBy,Date updateTime,String memo) {
- this.uuid = uuid;
- this.busId = busId;
- this.taskId = taskId;
- this.seqNum = seqNum;
- this.priority = priority;
- this.name = name;
- this.val = val;
- this.code = code;
- this.params = params;
- this.actionType = actionType;
- this.actionSts = actionSts;
- this.agvId = agvId;
- this.ioTime = ioTime;
- this.startTime = startTime;
- this.endTime = endTime;
- this.errTime = errTime;
- this.errDesc = errDesc;
- this.status = status;
- this.deleted = deleted;
- this.tenantId = tenantId;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
- this.memo = memo;
+ public Action() {
}
public Action(String uuid, Long busId, Long taskId, String seqNum, Integer priority, String name, Double val, String code, String params, Long actionType, Long actionSts, Long agvId, Date ioTime) {
@@ -227,39 +200,11 @@
this.ioTime = ioTime;
}
- // Action action = new Action(
-// null, // 缂栧彿
-// null, // 鎬荤嚎
-// null, // 浠诲姟
-// null, // 鍔ㄤ綔鍙�
-// null, // 浼樺厛绾�
-// null, // 鍚嶇О
-// null, // 灞炴�у��
-// null, // 鍦伴潰鐮�
-// null, // 鍔ㄤ綔鍙傛暟
-// null, // 鍔ㄤ綔绫诲瀷
-// null, // 鍔ㄤ綔杩涘害
-// null, // AGV
-// null, // 宸ヤ綔鏃堕棿
-// null, // 寮�濮嬫椂闂�
-// null, // 缁撴潫鏃堕棿
-// null, // 寮傚父鏃堕棿
-// null, // 寮傚父鎻忚堪
-// null, // 鐘舵�乕闈炵┖]
-// null, // 鏄惁鍒犻櫎[闈炵┖]
-// null, // 绉熸埛
-// null, // 娣诲姞浜哄憳
-// null, // 娣诲姞鏃堕棿[闈炵┖]
-// null, // 淇敼浜哄憳
-// null, // 淇敼鏃堕棿
-// null // 澶囨敞
-// );
-
public String getBusId$(){
BusService service = SpringUtils.getBean(BusService.class);
Bus bus = service.getById(this.busId);
if (!Cools.isEmpty(bus)){
- return String.valueOf(bus.getUuid());
+ return String.valueOf(bus.getBusNo());
}
return null;
}
@@ -321,17 +266,18 @@
}
}
- public String getDeleted$(){
- if (null == this.deleted){ return null; }
- switch (this.deleted){
+ public Boolean getStatusBool(){
+ if (null == this.status){ return null; }
+ switch (this.status){
case 1:
- return "鏄�";
+ return true;
case 0:
- return "鍚�";
+ return false;
default:
- return String.valueOf(this.deleted);
+ return null;
}
}
+
}
--
Gitblit v1.9.1