From 1a2b07f01ba4616fd9e894dddf474b56d020158c Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期一, 07 四月 2025 15:18:51 +0800 Subject: [PATCH] 整理版本 --- pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/common/qo/QoCommand.java | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 56 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/common/qo/QoCommand.java b/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/common/qo/QoCommand.java new file mode 100644 index 0000000..5d6381d --- /dev/null +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/common/qo/QoCommand.java @@ -0,0 +1,56 @@ +package com.dy.pipIrrRemote.common.qo; + +import com.dy.common.webUtil.QueryConditionVo; +import lombok.*; + +/** + * @author ZhuBaoMin + * @date 2024-07-03 9:25 + * @LastEditTime 2024-07-03 9:25 + * @Description 鍛戒护鏃ュ織鍘嗗彶璁板綍鏌ヨ瑙嗗浘 + */ + +@Data +@EqualsAndHashCode(callSuper = false) +@ToString(callSuper = true) +@NoArgsConstructor +@AllArgsConstructor +@Builder +public class QoCommand extends QueryConditionVo { + + /** + * 鍙栨按鍙D + */ + private Long intakeId; + + /** + * 鍛戒护鍚嶇О + */ + private String commandName; + + /** + * 鍛戒护缁撴灉锛�0-澶辫触锛�1-鎴愬姛 + */ + private Integer result; + + /** + * 鏌ヨ璧峰鏃堕棿 + */ + private String timeStart; + + /** + * 鏌ヨ缁撴潫鏃堕棿 + */ + private String timeStop; + + + public void completionTime(){ + if(timeStart != null && !timeStart.trim().equals("")) { + timeStart = timeStart + " 00:00:00"; + } + if(timeStop != null && !timeStop.trim().equals("")) { + timeStop = timeStop + " 23:59:59"; + } + + } +} -- Gitblit v1.8.0