瀏覽代碼

fzp 开票逻辑改为缴全后

master
liangkun 1 年之前
父節點
當前提交
6ef6bdc559
共有 1 個檔案被更改,包括 6 行新增2 行删除
  1. +6
    -2
      DigitalSchoolApi/Controllers/PayFeeResultTwoController.cs

+ 6
- 2
DigitalSchoolApi/Controllers/PayFeeResultTwoController.cs 查看文件

@@ -212,8 +212,12 @@ group by a.FSYear,b.StuNo ) aa left join
"'0','" + newitem.FSBlance + "',getdate(),'1')");
}
}
//开票
Task.Run(() => YKTTrabs.InvoiceEBillMethodTwo(Orderid));
int PayFeeStatus = Convert.ToInt32(conn.ExecuteScalar("select PayFeeStatus from FinaChargeStuYear where StuNo='"+item.StuNo+"' and FSYear='"+item.YearNo+"'"));
if (PayFeeStatus==1)
{
//开票
Task.Run(() => YKTTrabs.InvoiceEBillMethodTwo(Orderid));
}
using (IDbConnection conncore = new SqlConnection(_coresqlConnection))
{
conncore.Execute(


Loading…
取消
儲存