From 28239b573a4be5e7678de8c65279153a7b17b760 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期日, 18 六月 2023 16:47:49 +0800 Subject: [PATCH] #库位地图添加虚拟库位 --- src/main/java/com/zy/asrs/entity/Mat.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/Mat.java b/src/main/java/com/zy/asrs/entity/Mat.java index bb98001..edeaf84 100644 --- a/src/main/java/com/zy/asrs/entity/Mat.java +++ b/src/main/java/com/zy/asrs/entity/Mat.java @@ -8,6 +8,7 @@ import com.core.common.Cools; import com.core.common.SpringUtils; import com.zy.asrs.service.TagService; +import com.zy.common.utils.Synchro; import com.zy.system.entity.User; import com.zy.system.service.UserService; import io.swagger.annotations.ApiModelProperty; @@ -491,5 +492,8 @@ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime); } + public void sync(Object source) { + Synchro.Copy(source, this); + } } -- Gitblit v1.9.1