From fa997fd4354db116cfae04f1232779ce0b38f629 Mon Sep 17 00:00:00 2001 From: yxj <yxj@hz-kingdee.com> Date: 星期五, 11 十月 2024 10:37:43 +0800 Subject: [PATCH] 考勤汇报单新增修改时根据参数自动审核单据功能修改 --- WebAPI/Controllers/SCGL/Sc_MESTransFerWorkBillController.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/SCGL/Sc_MESTransFerWorkBillController.cs b/WebAPI/Controllers/SCGL/Sc_MESTransFerWorkBillController.cs index 6d03813..8b463ff 100644 --- a/WebAPI/Controllers/SCGL/Sc_MESTransFerWorkBillController.cs +++ b/WebAPI/Controllers/SCGL/Sc_MESTransFerWorkBillController.cs @@ -530,7 +530,7 @@ string sql =string.Format(@"select A.HInterID,b.HEntryID,A.HBillStatus,A.HBillNo,A.HDate,A.HContext,A.HDescription,A.HRemark, A.HQty,A.HSendType,a.HForm,a.HChangeNote,a.HNote,a.HBadProcMan,f1.HName HBadProcManName, a.HQEMan,f2.HName HQEManName,a.HSourceID,s.HName HSourceName,a.HShiftsID,s1.HName HShiftsName, - A.HDeptID,D.HName HDeptName, A.HSendMan, + A.HDeptID,D.HName HDeptName, A.HSendMan,a.HCenterID HCenterID,wo.HName HCenterName, A.HReceiveMan,A.HCopyMan,A.HHasten, A.HLevel,A.HMaterNumber,A.HMaterName,A.HMaterModel, B.HReadFlag, A.HMaker,A.HMakeDate,A.HUpDater,A.HUpDateDate,A.HChecker,A.HCheckDate,A.HCloseMan,A.HCloseDate,A.HDeleteMan,A.HDeleteDate, @@ -545,6 +545,7 @@ left join Gy_Employee f2 on a.HQEMan=f2.HItemID left join Gy_Source s on a.HSourceID=s.HItemID left join Gy_Shifts s1 on a.HShiftsID=s1.HItemID + left join Gy_WorkCenter wo on a.HCenterID=wo.HItemID where A.HInterID='" + HID + "' and b.HEntryID='" + HEntryID + "'"); var dataSet = oCN.RunProcReturn(sql, "OA_ErrMsgBackBillMain"); if (dataSet == null || dataSet.Tables[0].Rows.Count == 0) -- Gitblit v1.9.1