This commit is contained in:
zds
2022-06-28 09:56:47 +08:00
parent adf3bdb086
commit 4b908ac5da
2 changed files with 11 additions and 1 deletions

View File

@@ -297,10 +297,13 @@
IF 输入.flag = "7"
QUERY
SELECT
ProductMaterialSet.*
ProductMaterialSet.*,
classstandard.class_code
FROM
MD_PD_ProductMaterialSet ProductMaterialSet
LEFT JOIN md_me_producmaterialext producmaterialext ON producmaterialext.material_id = ProductMaterialSet.material_id
left join md_me_materialbase materialbase on materialbase.material_id = ProductMaterialSet.set_material_id
LEFT JOIN md_pb_classstandard classstandard ON classstandard.class_id = materialbase.material_type_id
WHERE
1 = 1
and producmaterialext.net_rate>0
@@ -313,6 +316,7 @@
OPTION 输入.set_type <> ""
ProductMaterialSet.set_type = 输入.set_type
ENDOPTION
order by classstandard.class_code asc
ENDSELECT
ENDQUERY
ENDIF