From 84168cb0fa1ca6bc2b8d088776d9e04401edb883 Mon Sep 17 00:00:00 2001 From: zc <zc@123> Date: 星期一, 05 五月 2025 16:08:04 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/WrkMastLog.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/WrkMastLog.java b/src/main/java/com/zy/asrs/entity/WrkMastLog.java index efbd735..fc9f7ea 100644 --- a/src/main/java/com/zy/asrs/entity/WrkMastLog.java +++ b/src/main/java/com/zy/asrs/entity/WrkMastLog.java @@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.enums.IdType; import com.zy.asrs.service.*; +import com.zy.common.utils.Synchro; import com.zy.system.entity.User; import com.zy.system.service.UserService; import com.core.common.Cools; @@ -351,6 +352,10 @@ return null; } + public long getWrkSts(){ + return (long)this.wrkSts; + } + public String getIoType$(){ BasWrkIotypeService service = SpringUtils.getBean(BasWrkIotypeService.class); BasWrkIotype basWrkIotype = service.selectById(this.ioType); @@ -501,5 +506,8 @@ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime); } + public void sync(Object source) { + Synchro.Copy(source, this); + } } -- Gitblit v1.9.1