diff --git a/DigitalSchoolApi/Controllers/PayFeeResultTwoController.cs b/DigitalSchoolApi/Controllers/PayFeeResultTwoController.cs index 7bd4357..13ff4c0 100644 --- a/DigitalSchoolApi/Controllers/PayFeeResultTwoController.cs +++ b/DigitalSchoolApi/Controllers/PayFeeResultTwoController.cs @@ -80,11 +80,11 @@ namespace DigitalSchoolApi.Controllers List stuorderlist = null; if (isexcel) { - stuorderlist = conn.Query("select stuno,yearno,orderid from FinaChargeStuOrder where Status=1 OrderType=2").ToList(); + stuorderlist = conn.Query("select stuno,yearno,orderid from FinaChargeStuOrder where Status=1 and OrderType=2").ToList(); } else { - stuorderlist = conn.Query("select stuno,yearno,orderid from FinaChargeStuOrder where Status=1 OrderType=1").ToList(); + stuorderlist = conn.Query("select stuno,yearno,orderid from FinaChargeStuOrder where Status=1 and OrderType=1").ToList(); } foreach (var stuorderEntity in stuorderlist) { @@ -155,7 +155,7 @@ namespace DigitalSchoolApi.Controllers string PAYMENT_MONEY = item.SJAmount.ToString(); string ORDER_STATUS = "1"; string TRAN_DATE = DateTime.Now.ToString(); - string PAY_MODE = "alipay"; + string PAY_MODE = "ZFB"; string OriOvrlsttnEV_Trck_No = "test001"; string Orderid = item.orderid; string REM1 = item.StuNo;