public DingdanMingxiDetailsModel JisuanMingxi(DingdanMingxiDetailsModel model) { DingdanMingxi mingxi = this.CreateDingdanMingxi(null, model); mingxi.Jisuan(); return(new DingdanMingxiDetailsModel(mingxi)); }
private DingdanMingxi CreateDingdanMingxi(Dingdan dingdan, DingdanMingxiDetailsModel detailsModel) { DingdanMingxiCreateInfo mingxiInfo = new DingdanMingxiCreateInfo(); ClassPropertyHelper.ChangeProperty(mingxiInfo, detailsModel); mingxiInfo.Dingdan = dingdan; mingxiInfo.Chanpin = this._coreManager.ChanpinManager.GetChanpinById(detailsModel.chanpin.id); return(new DingdanMingxi(mingxiInfo)); }