public CiRptpathgyViewModel(BaseContext baseContext) { this._Service = XapServiceMgr.find <ICirptpathgyCrudService>(); this.ICService = XapServiceMgr.find <ICiRptPathgyService>(); this.extService = XapServiceMgr.find <ICirptExtService>(); ciDO = new CiRptPathgyDO(); ciDO.Dt_rptpathgy = this.NowTime(); ciDO.Id_emp_rpt = baseContext.PsnInfo.Id_psndoc; ciDO.Rpt_name = baseContext.PsnInfo.Name; }
public CiExamCardViewModel(BaseContext baseContext) { this.service = XapServiceMgr.find <ICirptlabCrudService>(); this._Service = XapServiceMgr.find <ICiRptLabService>(); this._extService = XapServiceMgr.find <ICirptExtService>(); CirptlabAggDO CiAggDO = new CirptlabAggDO(); CiRptLabDO CiDO = CiAggDO.Parent as CiRptLabDO; CiDO.Dt_rptlab = this.NowTime(); CiDO.Id_emp = baseContext.PsnInfo.Id_psndoc; CiDO.Rpt_name = baseContext.PsnInfo.Name; this.AggDo = new XapAggDO <CirptlabAggDO>(this.service, CiAggDO); }
public CiCheckCardViewModel() { this._Service = XapServiceMgr.find <ICirptobsCrudService>(); this.ICService = XapServiceMgr.find <ICiRptObsService>(); _extService = XapServiceMgr.find <ICirptExtService>(); }