routine update

This commit is contained in:
yubaolee
2017-01-23 13:47:37 +08:00
parent 0b20da7a5a
commit 60375d9c52
260 changed files with 539 additions and 143 deletions

View File

@@ -214,6 +214,7 @@ namespace OpenAuth.App.Extention
/// <returns></returns>
private string SqlBuider(dynamic schemeContentJson, string frmData, string keyValue)
{
return "";
try
{
if (schemeContentJson.Frm.isSystemTable.Value == 1)

View File

@@ -84,14 +84,15 @@ namespace OpenAuth.Domain.Service
throw new NotImplementedException();
}
public WFSchemeInfo GetEntity(string keyValue)
public WFSchemeInfo GetEntity(Guid keyValue)
{
throw new NotImplementedException();
return _unitWork.FindSingle<WFSchemeInfo>(u => u.Id == keyValue);
}
public WFSchemeContent GetSchemeEntity(Guid schemeinfoId, string schemeinfoSchemeVersion)
{
throw new NotImplementedException();
return _unitWork.FindSingle<WFSchemeContent>(u =>
u.SchemeInfoId == schemeinfoId && u.SchemeVersion == schemeinfoSchemeVersion);
}
public void UpdateState(string keyValue, int state)