diff --git a/OpenAuth.App/ServiceApp/DroneSsnydManage/DroneSsnyApp.cs b/OpenAuth.App/ServiceApp/DroneSsnydManage/DroneSsnyApp.cs index 4014328..86c399b 100644 --- a/OpenAuth.App/ServiceApp/DroneSsnydManage/DroneSsnyApp.cs +++ b/OpenAuth.App/ServiceApp/DroneSsnydManage/DroneSsnyApp.cs @@ -552,6 +552,7 @@ namespace OpenAuth.App.ServiceApp.DroneSsnydManage public async Task>> ProjectSupervise(DroneSsnydRcjgPageReq req) { + var project = await Repository.GetByIdAsync(req.ProjectId); RefAsync totalCount = 0; var list = await Repository .ChangeRepository>() @@ -593,6 +594,7 @@ namespace OpenAuth.App.ServiceApp.DroneSsnydManage fujian_rczg = a.fujian_rczg, // 整改_附件 fujian_rcfh = a.fujian_rcfh, // 复核_附件 is_lishi = a.is_lishi, // 0新的1历史 + xiangmu_no = project.xiangmu_no }) .ToPageListAsync(req.page, req.limit, totalCount); return new PageInfo> diff --git a/OpenAuth.Repository/Domain/DroneSsnydRcjg.cs b/OpenAuth.Repository/Domain/DroneSsnydRcjg.cs index e2e9949..9429a32 100644 --- a/OpenAuth.Repository/Domain/DroneSsnydRcjg.cs +++ b/OpenAuth.Repository/Domain/DroneSsnydRcjg.cs @@ -11,10 +11,10 @@ namespace OpenAuth.Repository.Domain [SugarTable("drone_ssnyd_rcjg")] public partial class DroneSsnydRcjg { - public DroneSsnydRcjg(){ + public DroneSsnydRcjg() + { + } - - } /// /// Desc: /// Default: @@ -218,14 +218,13 @@ namespace OpenAuth.Repository.Domain /// Nullable:True /// public string fujian_rcfh { get; set; } - + /// /// 0 新的 1 历史 /// public int is_lishi { get; set; } - - [SugarColumn(IsIgnore = true)] - public string taskId { get; set; } + [SugarColumn(IsIgnore = true)] public string taskId { get; set; } + [SugarColumn(IsIgnore = true)] public string xiangmu_no { get; set; } } -} +} \ No newline at end of file