1.功能开发
This commit is contained in:
parent
16696064e7
commit
a7f9de802e
|
@ -16,7 +16,7 @@ import kd.bos.orm.query.QFilter;
|
||||||
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
||||||
import kd.bos.servicehelper.user.UserServiceHelper;
|
import kd.bos.servicehelper.user.UserServiceHelper;
|
||||||
import kd.sdk.plugin.Plugin;
|
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 zcgj.zcdev.zcdev.fs.utils.OrgCheckUtils;
|
||||||
|
|
||||||
import java.util.EventObject;
|
import java.util.EventObject;
|
||||||
|
|
|
@ -12,7 +12,7 @@ import kd.bos.orm.query.QFilter;
|
||||||
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
||||||
import kd.bos.servicehelper.user.UserServiceHelper;
|
import kd.bos.servicehelper.user.UserServiceHelper;
|
||||||
import kd.sdk.plugin.Plugin;
|
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 zcgj.zcdev.zcdev.fs.utils.OrgCheckUtils;
|
||||||
|
|
||||||
import java.util.EventObject;
|
import java.util.EventObject;
|
||||||
|
|
|
@ -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();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue