Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public static int DelQuickResponse(QuickResponse _param)
 {
     _param.DeleteUs = 1;
     return(DaoFactory.SetUpdate("Qms.DelQuickResponse", _param));
 }
Esempio n. 4
0
 public static int UdtQuickResponse(QuickResponse _param)
 {
     _param.ModifyUs = 1;
     return(DaoFactory.SetUpdate("Qms.UdtQuickResponse", _param));
 }
Esempio n. 5
0
 public static int InsQuickResponse(QuickResponse _param)
 {
     _param.CreateUs = 1;
     return(DaoFactory.SetInsert("Qms.InsQuickResponse", _param));
 }
Esempio n. 6
0
 public static List <QuickResponse> SelQuickResponses(QuickResponse _param)
 {
     return(DaoFactory.GetList <QuickResponse>("Qms.SelQuickResponse", _param));
 }