Example #1
0
 public CreditContractController(
     dbwebContext context,
     IBookingServices ibookService,
     IUserServices iuserService,
     ICustomerServices icustService,
     IRelationService irelaService,
     IContractGroupService icontGroupService,
     IContractTypeService iconTypeService,
     IZoneService izoneService,
     IBranchService ibranchService,
     ISysParameterService isysParamService,
     IStatusService istatusService
     )
 {
     ctx               = context;
     iBookService      = ibookService;
     iUserService      = iuserService;
     iCustService      = icustService;
     iRelaService      = irelaService;
     iContGroupService = icontGroupService;
     iContTypeService  = iconTypeService;
     iZoneService      = izoneService;
     iBranchService    = ibranchService;
     iSysParamService  = isysParamService;
     iStatusService    = istatusService;
 }
Example #2
0
 public BookingController(
     dbwebContext _ctx,
     ISysParameterService isysParamService
     )
 {
     ctx = _ctx;
     iSysParamService = isysParamService;
 }
Example #3
0
 public RisController(dbwebContext _ctx,
                      ISysParameterService isysParamService,
                      ICustomerServices _iCustomer)
 {
     ctx = _ctx;
     iSysParamService = isysParamService;
     iCustomer        = _iCustomer;
 }
 public CreditPaymentController(
     dbwebContext _ctx,
     ISysParameterService isysParamService,
     IStatusService istatusService,
     IBankingService ibankingService
     )
 {
     ctx = _ctx;
     iSysParamService = isysParamService;
     iStatusService   = istatusService;
     iBankingService  = ibankingService;
 }
 public CreditCalculatesController(
     dbwebContext context,
     IBookingServices iBookingService,
     ISysParameterService isysParamService,
     ICustomerServices icustService
     )
 {
     _context         = context;
     iBookService     = iBookingService;
     iSysParamService = isysParamService;
     iCustomerService = icustService;
 }
 /// <summary>
 /// 初始化全局变量
 /// </summary>
 private void InitParameters()
 {
     _querySrv        = GetService <IQueryService>();
     _businessTypeSrv = GetServiceForThisTypeKey <IBusinessTypeService>();
     _sysParameterSrv = GetService <ISysParameterService>();
 }