From 3f194f5ef62ef33d16291540da3fc8f47fa9bc63 Mon Sep 17 00:00:00 2001 From: lsh <1> Date: 星期六, 13 一月 2024 15:54:06 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/WrkMastStaLog.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/WrkMastStaLog.java b/src/main/java/com/zy/asrs/entity/WrkMastStaLog.java index 3901dce..f97480c 100644 --- a/src/main/java/com/zy/asrs/entity/WrkMastStaLog.java +++ b/src/main/java/com/zy/asrs/entity/WrkMastStaLog.java @@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotations.TableField; import java.text.SimpleDateFormat; import java.util.Date; + +import com.zy.common.utils.Synchro; import org.springframework.format.annotation.DateTimeFormat; import java.text.SimpleDateFormat; import java.util.Date; @@ -174,5 +176,8 @@ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.bignTime); } + public void sync(Object source) { + Synchro.Copy(source, this); + } } -- Gitblit v1.9.1