From af6f066719e6d7aa1b8bfc5927c77010e38956f4 Mon Sep 17 00:00:00 2001 From: maqiao <625215135@qq.com> Date: Wed, 20 Nov 2024 17:15:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BA=BB=E9=86=89=E5=B8=88?= =?UTF-8?q?=E8=BF=98=E8=8D=AF=E6=97=B6=E6=A0=B9=E6=8D=AE=E6=89=8B=E9=BA=BB?= =?UTF-8?q?=E4=BC=A0=E6=9D=A5=E7=9A=84=E7=94=A8=E8=8D=AF=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E8=80=8C=E9=9D=9E=E5=A4=84=E6=96=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DM_Weight/Models/OrderDetail.cs | 2 +- DM_Weight/Models/OrderInfo.cs | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/DM_Weight/Models/OrderDetail.cs b/DM_Weight/Models/OrderDetail.cs index 2ccf232..5d9f380 100644 --- a/DM_Weight/Models/OrderDetail.cs +++ b/DM_Weight/Models/OrderDetail.cs @@ -7,7 +7,7 @@ namespace DM_Weight.Models /// /// /// - [SugarTable("order_detail")] + [SugarTable("order_detail_sm")] public class OrderDetail { /// diff --git a/DM_Weight/Models/OrderInfo.cs b/DM_Weight/Models/OrderInfo.cs index 3684e95..34e3242 100644 --- a/DM_Weight/Models/OrderInfo.cs +++ b/DM_Weight/Models/OrderInfo.cs @@ -8,7 +8,7 @@ namespace DM_Weight.Models /// /// /// - [SugarTable("order_info")] + [SugarTable("order_info_sm")] public class OrderInfo:BindableBase { @@ -252,7 +252,11 @@ namespace DM_Weight.Models //麻醉师工号 - [SugarColumn(ColumnName = "doctor_Code")] + [SugarColumn(ColumnName = "anaesthetist_code")] public string DoctorCode { get; set; } + + //麻醉师姓名 + [SugarColumn(ColumnName = "anaesthetist_name")] + public string AnaesthetistName { get; set; } } } \ No newline at end of file