IStudentChargePaymenServices.cs 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Bowin.Common.Linq.Entity;
  6. using EMIS.ViewModel;
  7. using EMIS.Entities;
  8. using EMIS.ViewModel.ChargeManage.ChargeSituation;
  9. namespace EMIS.CommonLogic.ChargeManage.ChargeSituation
  10. {
  11. public interface IStudentChargePaymenServices
  12. {
  13. /// <summary>
  14. /// 查询学生缴费信息列表
  15. /// </summary>
  16. /// <param name="configuretView"></param>
  17. /// <param name="collegeID"></param>
  18. /// <param name="yearID"></param>
  19. /// <param name="standardID"></param>
  20. /// <param name="educationID"></param>
  21. /// <param name="learningformID"></param>
  22. /// <param name="learnSystem"></param>
  23. /// <param name="chargeYearID"></param>
  24. /// <param name="chargeProjectID"></param>
  25. /// <param name="inSchoolStatus"></param>
  26. /// <param name="isDream"></param>
  27. /// <param name="remark"></param>
  28. /// <param name="pageIndex"></param>
  29. /// <param name="pageSize"></param>
  30. /// <returns></returns>
  31. IGridResultSet<StudentChargePaymenView> GetStudentChargePamenViewGrid(ConfiguretView configuretView, Guid? collegeID,
  32. int? yearID, int? standardID, int? educationID, int? learningformID, string learnSystem,
  33. int? chargeYearID, Guid? chargeProjectID, int? inSchoolStatus, int? isDream, int? chargeTagID,
  34. string remark, int pageIndex, int pageSize);
  35. /// <summary>
  36. /// 查询学生缴费信息List
  37. /// </summary>
  38. /// <param name="configuretView"></param>
  39. /// <param name="collegeID"></param>
  40. /// <param name="yearID"></param>
  41. /// <param name="standardID"></param>
  42. /// <param name="educationID"></param>
  43. /// <param name="learningformID"></param>
  44. /// <param name="learnSystem"></param>
  45. /// <param name="chargeYearID"></param>
  46. /// <param name="chargeProjectID"></param>
  47. /// <param name="inSchoolStatus"></param>
  48. /// <param name="isDream"></param>
  49. /// <param name="remark"></param>
  50. /// <returns></returns>
  51. List<StudentChargePaymenView> GetStudentChargePaymenList(ConfiguretView configuretView, Guid? collegeID, int? yearID,
  52. int? standardID, int? educationID, int? learningformID, string learnSystem,
  53. int? chargeYearID, Guid? chargeProjectID, int? inSchoolStatus, int? isDream, int? chargeTagID,
  54. string remark);
  55. /// <summary>
  56. /// 学生缴费页面缴费金额统计
  57. /// </summary>
  58. /// <param name="configuretView"></param>
  59. /// <param name="collegeID"></param>
  60. /// <param name="yearID"></param>
  61. /// <param name="standardID"></param>
  62. /// <param name="educationID"></param>
  63. /// <param name="learningformID"></param>
  64. /// <param name="learnSystem"></param>
  65. /// <param name="chargeYearID"></param>
  66. /// <param name="chargeProjectID"></param>
  67. /// <param name="inSchoolStatus"></param>
  68. /// <param name="isDream"></param>
  69. /// <param name="chargeTagID"></param>
  70. /// <param name="remark"></param>
  71. /// <param name="pageIndex"></param>
  72. /// <param name="pageSize"></param>
  73. /// <returns></returns>
  74. decimal? GetAmountCount(ConfiguretView configuretView, Guid? collegeID,
  75. int? yearID, int? standardID, int? educationID, int? learningformID, string learnSystem,
  76. int? chargeYearID, Guid? chargeProjectID, int? inSchoolStatus, int? isDream, int? chargeTagID,
  77. string remark, int pageIndex, int pageSize);
  78. /// <summary>
  79. /// 查询对应的学生缴费信息实体
  80. /// </summary>
  81. /// <param name="studentChargePaymentID"></param>
  82. /// <returns></returns>
  83. EC_StudentChargePayment GetStudentChargePaymen(Guid? studentChargePaymentID);
  84. /// <summary>
  85. /// 查询对应的学生缴费信息View
  86. /// </summary>
  87. /// <param name="studentChargePaymentID"></param>
  88. /// <returns></returns>
  89. StudentChargePaymenView GetStudentChargePaymenView(Guid? studentChargePaymentID);
  90. /// <summary>
  91. /// 新增、修改
  92. /// </summary>
  93. /// <param name="studentChargePaymenView"></param>
  94. void StudentChargePaymenEdit(StudentChargePaymenView studentChargePaymenView);
  95. /// <summary>
  96. /// 查询应收名单对应的缴费信息(根据应收名单业务主键)
  97. /// </summary>
  98. /// <param name="userID"></param>
  99. /// <param name="chargeYearID"></param>
  100. /// <param name="chargeProjectID"></param>
  101. /// <returns></returns>
  102. StudentChargeView QueryStudentChargePaymenView(Guid? userID, int? chargeYearID, Guid? chargeProjectID);
  103. /// <summary>
  104. /// 批量修改(重写)
  105. /// </summary>
  106. /// <param name="studentChargePaymentIDs"></param>
  107. /// <param name="amount"></param>
  108. /// <returns></returns>
  109. string BatchModify(string studentChargePaymentIDs, decimal? amount);
  110. /// <summary>
  111. /// 删除
  112. /// </summary>
  113. /// <param name="studentChargePaymenIDs"></param>
  114. /// <returns></returns>
  115. bool StudentChargePaymenDelete(List<Guid> studentChargePaymenIDs);
  116. /// <summary>
  117. /// 获取学生缴费备注信息
  118. /// </summary>
  119. /// <param name="configuretView"></param>
  120. /// <param name="Remark"></param>
  121. /// <param name="pageIndex"></param>
  122. /// <param name="pageSize"></param>
  123. /// <returns></returns>
  124. IGridResultSet<StudentChargePaymenView> GetRemarkViewGrid(ConfiguretView configuretView, string Remark, int pageIndex, int pageSize);
  125. /// <summary>
  126. /// Excel导入
  127. /// 同一应收名单,同一缴费日期,只有一条记录且判断缴费金额在实收金额范围内
  128. /// 由于存在可多次缴费的情况,那么需考虑实收金额应大于等于所有的缴费金额之和的情况
  129. /// </summary>
  130. /// <param name="cellheader"></param>
  131. /// <param name="inCount"></param>
  132. /// <param name="upCount"></param>
  133. /// <param name="errdataList"></param>
  134. /// <param name="errCount"></param>
  135. /// <param name="sourcePhysicalPath"></param>
  136. void StudentChargePaymenImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount,
  137. out List<StudentChargePaymenView> errdataList, out int? errCount, string sourcePhysicalPath);
  138. /// <summary>
  139. /// 验证学生缴费信息(验证逻辑:同一应收名单,同一缴费日期,只有一条记录且判断缴费金额在实收金额范围内)
  140. /// </summary>
  141. /// <param name="studentChargePaymentID"></param>
  142. /// <param name="userID"></param>
  143. /// <param name="chargeYearID"></param>
  144. /// <param name="chargeProjectID"></param>
  145. /// <param name="amount"></param>
  146. /// <param name="chargeDate"></param>
  147. /// <returns></returns>
  148. string GetVerification(Guid? studentChargePaymentID, Guid? userID, int? chargeYearID, Guid? chargeProjectID,
  149. decimal? amount, DateTime? chargeDate);
  150. }
  151. }