public IObjectPK runSave() throws Exception {
IObjectPK pk = runSub();
if (pk != null) {
executeSave(pk.toString());
}
refreshListPage();
return pk;
}
public IObjectPK runSub() throws Exception {
if (getBizInterface() == null)
throw new Exception("don't implement getBizInterface() !");
if (UtilRequest.isPrepare("ActionSave", this)) {
Object pk = ActionCache.get("Fw_ObjectPK");
if (pk != null)
return (IObjectPK) pk;
}
return getBizInterface().save(editData);
}
EAS BOS:手动写的保存方法
最新推荐文章于 2021-02-24 16:10:53 发布