SVN r1000
SVN-Revision: r1000
This commit is contained in:
@@ -753,6 +753,10 @@ namespace Lskj.Control.Model
|
||||
catch (Exception)
|
||||
{
|
||||
result = 0;
|
||||
if (result==0 && ERPInfo.Instance.UserName.Equals("管理员"))
|
||||
{
|
||||
SqlStoredProcedurepPrompt.GenerateProcedureExecutionScript(procName, paramList, isFirstFlag, comfirmFlag );
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -769,6 +773,10 @@ namespace Lskj.Control.Model
|
||||
switch (rValue)
|
||||
{
|
||||
case -1:
|
||||
if (rValue == -1 && ERPInfo.Instance.UserName.Equals("管理员"))
|
||||
{
|
||||
SqlStoredProcedurepPrompt.GenerateProcedureExecutionScript(procName, paramList, isFirstFlag, comfirmFlag);
|
||||
}
|
||||
MessageUtil.Show(string.IsNullOrEmpty(model.ErrorMsg) ? ResourceKeys.OperFault + "\n" + pMsg.Value : model.ErrorMsg);
|
||||
reaultValue = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user