123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.ViewModel;
- using EMIS.Entities;
- using EMIS.ViewModel.ChargeManage.ChargeSituation;
- namespace EMIS.CommonLogic.ChargeManage.ChargeSituation
- {
- public interface IStudentChargePaymenServices
- {
- /// <summary>
- /// 查询学生缴费信息列表
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="yearID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="chargeYearID"></param>
- /// <param name="chargeProjectID"></param>
- /// <param name="inSchoolStatus"></param>
- /// <param name="isDream"></param>
- /// <param name="remark"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<StudentChargePaymenView> GetStudentChargePamenViewGrid(ConfiguretView configuretView, Guid? collegeID,
- int? yearID, int? standardID, int? educationID, int? learningformID, string learnSystem,
- int? chargeYearID, Guid? chargeProjectID, int? inSchoolStatus, int? isDream, int? chargeTagID,
- string remark, int pageIndex, int pageSize);
- /// <summary>
- /// 查询学生缴费信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="yearID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="chargeYearID"></param>
- /// <param name="chargeProjectID"></param>
- /// <param name="inSchoolStatus"></param>
- /// <param name="isDream"></param>
- /// <param name="remark"></param>
- /// <returns></returns>
- List<StudentChargePaymenView> GetStudentChargePaymenList(ConfiguretView configuretView, Guid? collegeID, int? yearID,
- int? standardID, int? educationID, int? learningformID, string learnSystem,
- int? chargeYearID, Guid? chargeProjectID, int? inSchoolStatus, int? isDream, int? chargeTagID,
- string remark);
- /// <summary>
- /// 学生缴费页面缴费金额统计
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="yearID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="chargeYearID"></param>
- /// <param name="chargeProjectID"></param>
- /// <param name="inSchoolStatus"></param>
- /// <param name="isDream"></param>
- /// <param name="chargeTagID"></param>
- /// <param name="remark"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- decimal? GetAmountCount(ConfiguretView configuretView, Guid? collegeID,
- int? yearID, int? standardID, int? educationID, int? learningformID, string learnSystem,
- int? chargeYearID, Guid? chargeProjectID, int? inSchoolStatus, int? isDream, int? chargeTagID,
- string remark, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的学生缴费信息实体
- /// </summary>
- /// <param name="studentChargePaymentID"></param>
- /// <returns></returns>
- EC_StudentChargePayment GetStudentChargePaymen(Guid? studentChargePaymentID);
- /// <summary>
- /// 查询对应的学生缴费信息View
- /// </summary>
- /// <param name="studentChargePaymentID"></param>
- /// <returns></returns>
- StudentChargePaymenView GetStudentChargePaymenView(Guid? studentChargePaymentID);
- /// <summary>
- /// 新增、修改
- /// </summary>
- /// <param name="studentChargePaymenView"></param>
- void StudentChargePaymenEdit(StudentChargePaymenView studentChargePaymenView);
- /// <summary>
- /// 查询应收名单对应的缴费信息(根据应收名单业务主键)
- /// </summary>
- /// <param name="userID"></param>
- /// <param name="chargeYearID"></param>
- /// <param name="chargeProjectID"></param>
- /// <returns></returns>
- StudentChargeView QueryStudentChargePaymenView(Guid? userID, int? chargeYearID, Guid? chargeProjectID);
- /// <summary>
- /// 批量修改(重写)
- /// </summary>
- /// <param name="studentChargePaymentIDs"></param>
- /// <param name="amount"></param>
- /// <returns></returns>
- string BatchModify(string studentChargePaymentIDs, decimal? amount);
- /// <summary>
- /// 删除
- /// </summary>
- /// <param name="studentChargePaymenIDs"></param>
- /// <returns></returns>
- bool StudentChargePaymenDelete(List<Guid> studentChargePaymenIDs);
- /// <summary>
- /// 获取学生缴费备注信息
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="Remark"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<StudentChargePaymenView> GetRemarkViewGrid(ConfiguretView configuretView, string Remark, int pageIndex, int pageSize);
- /// <summary>
- /// Excel导入
- /// 同一应收名单,同一缴费日期,只有一条记录且判断缴费金额在实收金额范围内
- /// 由于存在可多次缴费的情况,那么需考虑实收金额应大于等于所有的缴费金额之和的情况
- /// </summary>
- /// <param name="cellheader"></param>
- /// <param name="inCount"></param>
- /// <param name="upCount"></param>
- /// <param name="errdataList"></param>
- /// <param name="errCount"></param>
- /// <param name="sourcePhysicalPath"></param>
- void StudentChargePaymenImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount,
- out List<StudentChargePaymenView> errdataList, out int? errCount, string sourcePhysicalPath);
- /// <summary>
- /// 验证学生缴费信息(验证逻辑:同一应收名单,同一缴费日期,只有一条记录且判断缴费金额在实收金额范围内)
- /// </summary>
- /// <param name="studentChargePaymentID"></param>
- /// <param name="userID"></param>
- /// <param name="chargeYearID"></param>
- /// <param name="chargeProjectID"></param>
- /// <param name="amount"></param>
- /// <param name="chargeDate"></param>
- /// <returns></returns>
- string GetVerification(Guid? studentChargePaymentID, Guid? userID, int? chargeYearID, Guid? chargeProjectID,
- decimal? amount, DateTime? chargeDate);
- }
- }
|