diff --git a/DSWeb/Areas/CommMng/DAL/PublicAPIDAL.cs b/DSWeb/Areas/CommMng/DAL/PublicAPIDAL.cs index 37b612a7..d576729b 100644 --- a/DSWeb/Areas/CommMng/DAL/PublicAPIDAL.cs +++ b/DSWeb/Areas/CommMng/DAL/PublicAPIDAL.cs @@ -1010,14 +1010,14 @@ namespace DSWeb.Areas.CommMng.DAL //var cdc = new CommonDataContext(); //var currHead = cdc.ch_fee_payapplication.First(x => x.BILLNO == headdata.BILLNO); - if (!string.IsNullOrWhiteSpace(headdata.PAYAPPID)) + if (!string.IsNullOrWhiteSpace(currHead.PAYAPPID)) { result.SetErrorInfo("业务已经提交至泛微OA"); 泛微OAHelper.BILLDONE(headdata.BILLNO); return result; } - + result.OK();