SVN r1044
SVN-Revision: r1044
This commit is contained in:
@@ -87,7 +87,7 @@ namespace Lskj.Business.Impl
|
||||
tipMsg = pMsg.Value.ToString();
|
||||
if (newVer == 1 && billWay == 1) billNo = tipMsg;
|
||||
|
||||
if (Convert.ToInt32(returnValue.Value + "") == -1 && ERPInfo.Instance.UserName.Equals("管理员"))
|
||||
if (Convert.ToInt32(returnValue.Value + "") == -1)
|
||||
{
|
||||
SqlStoredProcedurepPrompt.GenerateBillSaveScript( masterSql, detailSql, detailTable, billNo, detailGuid, billSeq, billWay, comfirm,auditFlag ,newVer);
|
||||
}
|
||||
@@ -164,7 +164,7 @@ namespace Lskj.Business.Impl
|
||||
DataSet dataSet = SqlHelper.ExecuteDataSet(CommandType.StoredProcedure, "p_billApply", "billApply", param);
|
||||
|
||||
tipMsg = pMsg.Value.ToString();
|
||||
if (Convert.ToInt32(returnValue.Value + "") == -1 && ERPInfo.Instance.UserName.Equals("管理员"))
|
||||
if (Convert.ToInt32(returnValue.Value + "") == -1)
|
||||
{
|
||||
SqlStoredProcedurepPrompt.GenerateBillApplyExecutionScript( typeCode, billNo, hintMsg, comfirm, comfirmFlag);
|
||||
}
|
||||
@@ -438,6 +438,10 @@ namespace Lskj.Business.Impl
|
||||
sumCond += ",a.ProhibitPaste ";
|
||||
if (HasExistsColumn("p_systembillDetail", "FormatEditBox"))
|
||||
sumCond += ",a.FormatEditBox ";
|
||||
if (HasExistsColumn("p_systembillDetail", "PromptText"))
|
||||
sumCond += ",a.PromptText ";
|
||||
if (HasExistsColumn("p_systembillDetail", "SplicingConditions"))
|
||||
sumCond += ",a.SplicingConditions ";
|
||||
|
||||
string columsSql = string.Format(@"SELECT DISTINCT
|
||||
isnull(CASE WHEN ISNULL(b.userList,'')='' AND ISNULL(a.PrivilegeView,'')<>'' OR isnull(isVisible,0)=1 THEN 0 ELSE width END,0) width,
|
||||
@@ -525,6 +529,10 @@ namespace Lskj.Business.Impl
|
||||
sumCond += ",a.ProhibitPaste ";
|
||||
if (HasExistsColumn("p_systembillDetail", "FormatEditBox"))
|
||||
sumCond += ",a.FormatEditBox ";
|
||||
if (HasExistsColumn("p_systembillDetail", "PromptText"))
|
||||
sumCond += ",a.PromptText ";
|
||||
if (HasExistsColumn("p_systembillDetail", "SplicingConditions"))
|
||||
sumCond += ",a.SplicingConditions ";
|
||||
|
||||
string columsSql = string.Format(@"SELECT DISTINCT
|
||||
isnull(CASE WHEN ISNULL(b.userList,'')='' AND ISNULL(a.PrivilegeView,'')<>'' OR isnull(isVisible,0)=1 THEN 0 ELSE width END,0) width,
|
||||
|
||||
Reference in New Issue
Block a user