InstallApplyBLL.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. using LeaRun.Application.Entity.InstallManage;
  2. using LeaRun.Application.Service.InstallManage;
  3. using LeaRun.Util.WebControl;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace LeaRun.Application.Busines.InstallManage
  10. {
  11. public class InstallApplyBLL
  12. {
  13. private InstallManageService service = new InstallManageService();
  14. public String getInstallApplyList(String st, String et, Pagination pagination,InstallApplyEntity mt = null)
  15. {
  16. //InstallApplyEntity mt = new InstallApplyEntity();
  17. return service.GetInstallApplyData(st, et, mt, pagination);
  18. }
  19. public void SaveApply(String applyNumber, String cusName, String linkMan, String linkMobile, String cusAdrr, String applyNum)
  20. {
  21. try
  22. {
  23. service.SaveApply(applyNumber,cusName,linkMan,linkMobile,cusAdrr,applyNum);
  24. }
  25. catch (Exception ex)
  26. {
  27. throw;
  28. }
  29. }
  30. public InstallApplyEntity GetFormJson(String keyValue)
  31. {
  32. return service.GetFormJson(keyValue);
  33. }
  34. //勘测
  35. public void SaveSurvey(String SurveySuggest, Int32 Apply_ID)
  36. {
  37. try
  38. {
  39. service.SaveSurvey(SurveySuggest, Apply_ID);
  40. }
  41. catch (Exception ex)
  42. {
  43. throw;
  44. }
  45. }
  46. //经理审核
  47. public void MasterVerify(String applyId)
  48. {
  49. try
  50. {
  51. service.MasterVerify(applyId);
  52. }
  53. catch (Exception ex)
  54. {
  55. throw;
  56. }
  57. }
  58. public void PaymentForm(String applyId)
  59. {
  60. try
  61. {
  62. service.PaymentForm(applyId);
  63. }
  64. catch (Exception ex)
  65. {
  66. throw;
  67. }
  68. }
  69. public void UpdateEngineer(String appId, String type)
  70. {
  71. try
  72. {
  73. service.UpdateEngineer(appId, type);
  74. }
  75. catch (Exception ex)
  76. {
  77. throw;
  78. }
  79. }
  80. public void UpdateAceept(String appId, String type)
  81. {
  82. try
  83. {
  84. service.UpdateAceept(appId, type);
  85. }
  86. catch (Exception ex)
  87. {
  88. throw;
  89. }
  90. }
  91. public void UpdateThroughWater(String appId, String type)
  92. {
  93. try
  94. {
  95. service.UpdateThroughWater(appId, type);
  96. }
  97. catch (Exception ex)
  98. {
  99. throw;
  100. }
  101. }
  102. public void UpdateCreateCus(String appId, String type)
  103. {
  104. try
  105. {
  106. service.UpdateCreateCus(appId, type);
  107. }
  108. catch (Exception ex)
  109. {
  110. throw;
  111. }
  112. }
  113. }
  114. //public class ManyType
  115. //{
  116. // public int SurveyType { get; set; }
  117. // public int DesginType { get; set; }
  118. // public int DesginVerfiyType { get; set; }
  119. // public int MasterVerifyType { get; set; }
  120. // public int budgetType { get; set; }
  121. // public int PayMentType { get; set; }
  122. // public int ConstructionType { get; set; }
  123. // public int AcceptType { get; set; }
  124. // public int ThroughWaterType { get; set; }
  125. // public int CreateCusInfoType { get; set; }
  126. //}
  127. }