Преглед на файлове

学费查询修改

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,
};


Зареждане…
Отказ
Запис