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