1.功能开发

This commit is contained in:
zhangzhiguo 2025-01-17 10:03:32 +08:00
parent 16696064e7
commit a7f9de802e
3 changed files with 14 additions and 2 deletions

View File

@ -16,7 +16,7 @@ import kd.bos.orm.query.QFilter;
import kd.bos.servicehelper.BusinessDataServiceHelper;
import kd.bos.servicehelper.user.UserServiceHelper;
import kd.sdk.plugin.Plugin;
import sinoma.cus.common.autoinfo.CommonUtils;
import zcgj.zcdev.zcdev.fs.utils.CommonUtils;
import zcgj.zcdev.zcdev.fs.utils.OrgCheckUtils;
import java.util.EventObject;

View File

@ -12,7 +12,7 @@ import kd.bos.orm.query.QFilter;
import kd.bos.servicehelper.BusinessDataServiceHelper;
import kd.bos.servicehelper.user.UserServiceHelper;
import kd.sdk.plugin.Plugin;
import sinoma.cus.common.autoinfo.CommonUtils;
import zcgj.zcdev.zcdev.fs.utils.CommonUtils;
import zcgj.zcdev.zcdev.fs.utils.OrgCheckUtils;
import java.util.EventObject;

View File

@ -0,0 +1,12 @@
package zcgj.zcdev.zcdev.fs.utils;
import kd.bos.entity.datamodel.IDataModel;
public class CommonUtils {
public CommonUtils() {
}
public static boolean isNewData(IDataModel model) {
return !model.getDataEntity().getDataEntityState().getFromDatabase();
}
}