From 87a541df1b0da771c3d4718c42217c5f08251428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=AE=8F=E6=96=8C?= <2164406372@qq.com> Date: Thu, 4 Sep 2025 16:24:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9**=E5=B7=A5=E5=BA=8F=E7=9C=8B?= =?UTF-8?q?=E6=9D=BFsql=EF=BC=8C=E6=9F=A5=E8=AF=A2=E5=BC=80=E5=B7=A5?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/board/BoardMapper.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper/board/BoardMapper.xml b/src/main/resources/mapper/board/BoardMapper.xml index b381fc6..18ce99b 100644 --- a/src/main/resources/mapper/board/BoardMapper.xml +++ b/src/main/resources/mapper/board/BoardMapper.xml @@ -141,7 +141,8 @@ T.QtyApprove, isnull(SOP1.QtyApprove,0) lastApproveQty, b.NeedDate as planFinishTime, - S90.TextValue as remark + S90.TextValue as remark, + T.OutWorkFlag as ClosedFlag from SOScheduledRouting T LEFT JOIN SOScheduledRouting SOP1 ON SOP1.site=t.site and SOP1.OrderNo=t.OrderNo and SOP1.SeqNo = isnull(T.PreviousSeqNo,-1) ,SORouting a @@ -168,7 +169,8 @@ b.NeedDate as planFinishTime, '温:' + Convert(varchar(100),isnull(S90.NumValue,0)) + ' ' + '时:' + Convert(varchar(100),isnull(S91.NumValue,0)) as text1, '温:' + Convert(varchar(100),isnull(S92.NumValue,0)) + ' ' + '时:' + Convert(varchar(100),isnull(S93.NumValue,0)) as text2, - p3.TextValue text3 + p3.TextValue text3, + T.OutWorkFlag as ClosedFlag from SOScheduledRouting T LEFT JOIN SOScheduledRouting SOP1 ON SOP1.site=t.site and SOP1.OrderNo=t.OrderNo and SOP1.SeqNo = isnull(T.PreviousSeqNo,-1) ,SORouting a left join ShopOrder b on a.site=b.site and a.orderNo=b.orderNo @@ -197,7 +199,8 @@ T.QtyApprove, isnull(SOP.QtyApprove,0) lastApproveQty, T.S_ScheduledDate as planFinishTime, - isnull(CONVERT(varchar(30), p1.NumValue),p1.TextValue) text2,p2.NumValue num2,p3.TextValue text1,p4.TextValue text3 + isnull(CONVERT(varchar(30), p1.NumValue),p1.TextValue) text2,p2.NumValue num2,p3.TextValue text1,p4.TextValue text3, + T.OutWorkFlag as ClosedFlag from SOScheduledRouting T LEFT JOIN SOScheduledRouting SOP ON SOP.site=t.site and SOP.OrderNo=t.OrderNo and SOP.SeqNo = isnull(T.PreviousSeqNo,-1) ,SORouting a left join ShopOrder b on a.site=b.site and a.orderNo=b.orderNo