public static QuickResponse SelQuickResponse(QuickResponse _param) { _param.Type = QmsConstant.TYPE_QUICK_RESPONSE; QuickResponse quickResponse = DaoFactory.GetData <QuickResponse>("Qms.SelQuickResponse", _param); quickResponse.BPolicy = BPolicyRepository.SelBPolicy(new BPolicy { Type = QmsConstant.TYPE_QUICK_RESPONSE, OID = quickResponse.BPolicyOID }).First(); return(quickResponse); }
public QuickResponseView(QuickResponse response) { this.OID = response.OID; this.Name = response.Name; this.OccurrenceDt = response.OccurrenceDt; this.OccurrenceNm = response.OccurrenceNm; this.PartNm = response.PartNm; this.CarCode = response.CarCode; this.PartGrpNm = response.PartGrpNm; this.Title = response.Title; this.CreateUsNm = response.CreateUsNm; this.PlanUserNm = response.PlanUserNm; }
public static int DelQuickResponse(QuickResponse _param) { _param.DeleteUs = 1; return(DaoFactory.SetUpdate("Qms.DelQuickResponse", _param)); }
public static int UdtQuickResponse(QuickResponse _param) { _param.ModifyUs = 1; return(DaoFactory.SetUpdate("Qms.UdtQuickResponse", _param)); }
public static int InsQuickResponse(QuickResponse _param) { _param.CreateUs = 1; return(DaoFactory.SetInsert("Qms.InsQuickResponse", _param)); }
public static List <QuickResponse> SelQuickResponses(QuickResponse _param) { return(DaoFactory.GetList <QuickResponse>("Qms.SelQuickResponse", _param)); }