This commit is contained in:
2025-06-24 14:47:52 +08:00
parent 8b67ee7129
commit 2a21065aa6
3 changed files with 864 additions and 498 deletions

View File

@@ -617,7 +617,7 @@ namespace Pilot.Report.Exploitation.SpecialDetails
on B.FENTRYID = H7.FSID
--ES、W、SX、CW、D、CY
Where D.FNUMBER not in ('P','E','C','S')
AND A.F_YKQC_CheckBox_qtr1 = 1 AND B.FQTY >= 0
AND (A.F_YKQC_CHECKBOX_QTR1 = 1 OR a.F_GROSSMARGIN1='<35%') AND B.FQTY >= 0
AND A.FDocumentStatus = 'C' AND A.FBusinessType = 'NORMAL' AND A.FMANUALCLOSE = '0'
AND A.FID in (Select * From #TABLEXYX)
AND A.F_contractnumber NOT LIKE 'Z%'