|
|
|
@ -57,7 +57,7 @@ public class ClientFlowTemplateService : IClientFlowTemplateService
|
|
|
|
|
|
|
|
|
|
info = req.Adapt(info);
|
|
|
|
|
|
|
|
|
|
db.Updateable(info).IgnoreColumns(ignoreAllNullColumns: true).EnableDiffLogEvent().ExecuteCommand();
|
|
|
|
|
db.Updateable(info).IgnoreColumns(ignoreAllNullColumns: true).ExecuteCommand();
|
|
|
|
|
return DataResult.Successed("更新成功!",MultiLanguageConst.DataUpdateSuccess);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -98,7 +98,7 @@ public class ClientFlowTemplateService : IClientFlowTemplateService
|
|
|
|
|
return DataResult.Failed("工作流实例存在引用的流程模板不能删除!",MultiLanguageConst.FlowTemplateDelExistImport);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
db.Deleteable(info).EnableDiffLogEvent().ExecuteCommand();
|
|
|
|
|
db.Deleteable(info).ExecuteCommand();
|
|
|
|
|
return DataResult.Successed("删除成功!",MultiLanguageConst.DataDelSuccess);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|