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