From 76043587fd6c2c6a4b1bb7a455aef8bd1388a150 Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期一, 28 八月 2023 13:53:43 +0800 Subject: [PATCH] 异常反馈单:修复编辑功能子表重复添加问题、子表2添加报错问题 PDA_异常反馈单:设置发送人的阅读状态为已阅 --- WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs b/WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs index faa72bb..76a04e3 100644 --- a/WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs +++ b/WebAPI/Controllers/SCGL/Sc_MESBeginWorkBillController.cs @@ -648,7 +648,7 @@ public DataTable getInfodatanow(string hsoucreID) { SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); - string sql = $" select HMacAddr, runStu, countAll from Gy_Source t1 left join HX_LIOTsys..Info_data_now t2 on t1.HMacAddr = t2.hid where t1.hitemid={hsoucreID}"; + string sql = $" select HMacAddr, isnull(runStu,'')runStu, isnull(countAll,0)countAll from Gy_Source t1 left join HX_LIOTsys..Info_data_now t2 on t1.HMacAddr = t2.hid where t1.hitemid={hsoucreID}"; DataTable dt = oCn.RunProcReturn(sql, "dt").Tables[0]; return dt; } -- Gitblit v1.9.1