From f9fd4f4dd9741b6d9032e4b120c2159680c696ec Mon Sep 17 00:00:00 2001 From: maqiao <625215135@qq.com> Date: Wed, 17 Jul 2024 10:09:31 +0800 Subject: [PATCH] =?UTF-8?q?CollectDrug=E5=8E=BB=E6=8E=89Applyid=E7=9A=84Is?= =?UTF-8?q?PrimaryKey=3Dtrue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DM_Weight/Models/CollectDrug.cs | 2 +- DM_Weight/Models/DrugPleaseClaim.cs | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/DM_Weight/Models/CollectDrug.cs b/DM_Weight/Models/CollectDrug.cs index 6be463e..c222fdc 100644 --- a/DM_Weight/Models/CollectDrug.cs +++ b/DM_Weight/Models/CollectDrug.cs @@ -24,7 +24,7 @@ namespace DM_Weight.Models /// /// 主键 /// - [SugarColumn(ColumnName = "Applyid",IsPrimaryKey =true)] + [SugarColumn(ColumnName = "Applyid")] public int Applyid { get; set; } /// /// 药品请领单号 diff --git a/DM_Weight/Models/DrugPleaseClaim.cs b/DM_Weight/Models/DrugPleaseClaim.cs index c9e2e49..8bd248a 100644 --- a/DM_Weight/Models/DrugPleaseClaim.cs +++ b/DM_Weight/Models/DrugPleaseClaim.cs @@ -126,9 +126,5 @@ namespace DM_Weight.Models [Navigate(NavigateType.OneToOne, nameof(DrugId))] public DrugInfo DrugInfo { get; set; } - - - //private List manuNoList = new List(); - //public List ManuNoList { get=>manuNoList; set=>{ DrugManuNo}; } } }