瀏覽代碼

学费查询修改

master
zhichao lei 3 年之前
父節點
當前提交
f6eae07f97
共有 2 個檔案被更改,包括 18 行新增18 行删除
  1. +8
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/config/config.js
  2. +10
    -10
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuInfoFreshApi.cs

+ 8
- 8
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/config/config.js 查看文件

@@ -1,7 +1,7 @@
// var config = {
// webapi: 'http://localhost:8088/',
// web: "http://localhost:8087/"//web地址,用于配置logo
// };
var config = {
webapi: 'http://localhost:8088/',
web: "http://localhost:8087/"//web地址,用于配置logo
};
//var config = {
// webapi: 'http://112.230.201.53:31173/',
// web:"http://112.230.201.53/:8081/"//web地址,用于配置logo
@@ -16,10 +16,10 @@
// webapi: 'http://localhost:8081/',
// web: "http://localhost:8080/"//web地址,用于配置logo
//};
var config = {
webapi: 'http://123.57.209.16:31173/',
web: "http://123.57.209.16:31175/"//web地址,用于配置logo
};
// var config = {
// webapi: 'http://123.57.209.16:31173/',
// web: "http://123.57.209.16:31175/"//web地址,用于配置logo
// };

//金隅
//var config = {


+ 10
- 10
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuInfoFreshApi.cs 查看文件

@@ -261,25 +261,25 @@ namespace Learun.Application.WebApi.Modules
private Response GetPayFeeDetail(dynamic _)
{
var academicAndYear = Common.GetSemesterAndYear();
var FinaChargesStandardList = new List<FinaChargesStandardEntity>();
var StuInfoFreshData = stuInfoFreshIBLL.GetStuInfoFreshEntityByStuNo(userInfo.account);
if (StuInfoFreshData != null)
var finaChargesStandardList = new List<FinaChargesStandardEntity>();
var stuInfoFreshData = stuInfoFreshIBLL.GetStuInfoFreshEntityByStuNo(userInfo.account);
if (stuInfoFreshData != null)
{
if (!string.IsNullOrEmpty(StuInfoFreshData.ClassNo) && !string.IsNullOrEmpty(StuInfoFreshData.MajorNo))
if (!string.IsNullOrEmpty(stuInfoFreshData.ClassNo) && !string.IsNullOrEmpty(stuInfoFreshData.MajorNo))
{
var ClassInfoEntity = classInfoIBLL.GetClassInfoEntityByClassNo(StuInfoFreshData.ClassNo);
if (ClassInfoEntity != null)
var classInfoEntity = classInfoIBLL.GetClassInfoEntityByClassNo(stuInfoFreshData.ClassNo);
if (classInfoEntity != null)
{
FinaChargesStandardList = finaChargesStandardIBLL.GetFinaChargesStandardListByMajorNoOfNotAll(StuInfoFreshData.MajorNo, academicAndYear.AcademicYearShort, academicAndYear.Semester, ClassInfoEntity.Grade).ToList();
finaChargesStandardList = finaChargesStandardIBLL.GetFinaChargesStandardListByMajorNoOfNotAll(stuInfoFreshData.MajorNo, academicAndYear.AcademicYearShort, academicAndYear.Semester, classInfoEntity.Grade).ToList();
}
}
}
var PayFeeTotal = FinaChargesStandardList.Select(x => x.Standard).Sum();
var payFeeTotal = finaChargesStandardList.Select(x => x.Standard).Sum();

var result = new
{
FinaChargesStandardList = FinaChargesStandardList,
PayFeeTotal = PayFeeTotal,
FinaChargesStandardList = finaChargesStandardList,
PayFeeTotal = payFeeTotal,
AcademicYearNo = academicAndYear.AcademicYearShort,
Semester = academicAndYear.Semester,
};


Loading…
取消
儲存