From 53e6f1f17213a0124c5f8d3ec854d2e033bc19c8 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期三, 25 十月 2023 14:29:09 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/model/LocTypeDto.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/common/model/LocTypeDto.java b/src/main/java/com/zy/common/model/LocTypeDto.java index 60a9a28..08c9f1b 100644 --- a/src/main/java/com/zy/common/model/LocTypeDto.java +++ b/src/main/java/com/zy/common/model/LocTypeDto.java @@ -22,14 +22,17 @@ // 杞婚噸绫诲瀷{0:鏈煡,1:杞诲簱浣�,2:閲嶅簱浣峿 private Short locType3; + public LocTypeDto() { + } + public LocTypeDto(BasDevp basDevp) { if (basDevp.getLocType1() == null || basDevp.getLocType1() == 0) { throw new CoolException("plc楂樹綆妫�娴嬪紓甯�"); } if (basDevp.getLocType1() == 1) { - this.locType1 = 1; // 浣庡簱浣� + this.locType1 = 1; // 灏忓簱浣� } else { - this.locType1 = 2; // 楂樺簱浣� + this.locType1 = 2; // 澶у簱浣� } log.info(JSON.toJSONString(this)); } -- Gitblit v1.9.1