Beispiel #1
0
        public void Update(decimal TestId, decimal?TestTypeId, string Barcode, string TestSeq, decimal?PatientId,
                           DateTime?TestDate, DateTime?RequireDate, decimal?AssignId, decimal?DiagnosticianId, string ReceiverId,
                           short?TestStatus, string DiagResult, string UpdateUser, DateTime?UpdateDate, string Lam,
                           string CanLamSangId, decimal?DeviceId, int?PrintStatus, int?ResultCount, int?RegCount,
                           int?RegNoResultCount)
        {
            var item = new TTestInfo();

            item.MarkOld();
            item.IsLoaded = true;

            item.TestId = TestId;

            item.TestTypeId = TestTypeId;

            item.Barcode = Barcode;

            item.TestSeq = TestSeq;

            item.PatientId = PatientId;

            item.TestDate = TestDate;

            item.RequireDate = RequireDate;

            item.AssignId = AssignId;

            item.DiagnosticianId = DiagnosticianId;

            item.ReceiverId = ReceiverId;

            item.TestStatus = TestStatus;

            item.DiagResult = DiagResult;

            item.UpdateUser = UpdateUser;

            item.UpdateDate = UpdateDate;

            item.Lam = Lam;

            item.CanLamSangId = CanLamSangId;

            item.DeviceId = DeviceId;

            item.PrintStatus = PrintStatus;

            item.ResultCount = ResultCount;

            item.RegCount = RegCount;

            item.RegNoResultCount = RegNoResultCount;

            item.Save(UserName);
        }
Beispiel #2
0
 public bool Destroy(object TestId)
 {
     return(TTestInfo.Destroy(TestId) == 1);
 }
Beispiel #3
0
 public bool Delete(object TestId)
 {
     return(TTestInfo.Delete(TestId) == 1);
 }