webconfig中FanWeiOAAPI=true时付费申请审核不允许执行撤回操作

DS7_JinGang
ddlucky 2 years ago
parent 1fb765dc50
commit 2206329be2

@ -2661,11 +2661,34 @@ namespace DSWeb.Areas.Account.DAL.Chfee_Payapplication
return result; return result;
} }
/// <summary>
/// 撤回提交
/// </summary>
/// <param name="WorkFlowName"></param>
/// <param name="USERID"></param>
/// <param name="bill"></param>
/// <returns></returns>
public static DBResult SubmitAuditBack(string WorkFlowName, String USERID, String bill) public static DBResult SubmitAuditBack(string WorkFlowName, String USERID, String bill)
{ {
var result = new DBResult(); var result = new DBResult();
try
{
if (ConfigurationManager.AppSettings["FanWeiOAAPI"] == "true")
{
result = new DBResult();
result.Success = false;
result.Message = "现行逻辑不允许执行撤回提交!";
return result;
}
}
catch (Exception e)
{
}
finally { }
Database db = DatabaseFactory.CreateDatabase(); Database db = DatabaseFactory.CreateDatabase();
using (var conn = db.CreateConnection()) using (var conn = db.CreateConnection())
{ {

Loading…
Cancel
Save