From 5d2da14bbfd657652d8d3afda265b8b2e0ddb13b Mon Sep 17 00:00:00 2001 From: "albedo.wang" <10103513+albedopage@user.noreply.gitee.com> Date: Mon, 29 Aug 2022 06:33:31 +0000 Subject: [PATCH] =?UTF-8?q?update=20Vboot.Core/Module/Sys/Todo/Main/SysTod?= =?UTF-8?q?oMainService.cs.=20=E4=BF=AE=E5=A4=8D=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=97=B6=E6=89=BE=E4=B8=8D=E5=88=B0t.tid?= =?UTF-8?q?=E4=B8=8Et.uid=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8Csys=5Ftodo=5F?= =?UTF-8?q?main=E8=A1=A8=E5=88=97=E5=90=8D=E4=B8=8E=E6=9F=A5=E8=AF=A2sql?= =?UTF-8?q?=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: albedo.wang <10103513+albedopage@user.noreply.gitee.com> --- Vboot.Core/Module/Sys/Todo/Main/SysTodoMainService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Vboot.Core/Module/Sys/Todo/Main/SysTodoMainService.cs b/Vboot.Core/Module/Sys/Todo/Main/SysTodoMainService.cs index 0509b64..c43022e 100644 --- a/Vboot.Core/Module/Sys/Todo/Main/SysTodoMainService.cs +++ b/Vboot.Core/Module/Sys/Todo/Main/SysTodoMainService.cs @@ -1,4 +1,4 @@ -using Vboot.Core.Module.Bpm; +using Vboot.Core.Module.Bpm; namespace Vboot.Core.Module.Sys; @@ -23,8 +23,8 @@ public class SysTodoMainService : BaseService, ITransient public async Task DoneTodo(Zbpm zbpm) { - string sql = "select m.id,t.id as tid from sys_todo_main m inner join sys_todo_user t on t.tid=m.id " + - "where t.uid=@uid and m.modid=@modid"; + string sql = "select m.id,t.id as tid from sys_todo_main m inner join sys_todo_user t on t.todoid=m.id " + + "where t.userid=@uid and m.modid=@modid"; dynamic map = repo.Context.Ado.SqlQuerySingle(sql, new {uid = zbpm.haman, modid = zbpm.proid}); if (map != null) -- Gitee