Merge remote-tracking branch 'origin/dev_fifo_z' into dev_fifo_z

dev_unify
yewj 7 months ago
commit 862ba42729

@ -668,16 +668,24 @@
<if test="diType != '' and diType != null">
AND diType = #{diType}
</if>
<if test="filterType != null and filterType == 1">
<if test="filterType != null and filterType == 1 and productsType == 1">
AND (thirdId <![CDATA[<>]]> '' or thirdId1 <![CDATA[<>]]> '' or thirdId2 <![CDATA[<>]]> '' or
thirdId3 <![CDATA[<>]]> '' or thirdId4 <![CDATA[<>]]> '')
<if test="productsType == 1">
and basic_products.originUuid <![CDATA[<>]]> ''
</if>
<if test="filterType != null and filterType == 1 and productsType == 2">
AND (thirdId <![CDATA[<>]]> '' or thirdId1 <![CDATA[<>]]> '' or thirdId2 <![CDATA[<>]]> '' or
thirdId3 <![CDATA[<>]]> '' or thirdId4 <![CDATA[<>]]> '')
and mainId <![CDATA[<>]]> ''
</if>
<if test="filterType != null and filterType == 2">
<if test="filterType != null and filterType == 2 and productsType == 1">
AND basic_products.originUuid is NULL
</if>
<if test="filterType != null and filterType == 2 and productsType == 2">
AND ((thirdId = '' or thirdId is null) or (thirdId1 = '' or thirdId1 is null)
or (thirdId2 = '' or thirdId2 is null) or (thirdId3 = '' or thirdId3 is null)
or (thirdId4 = '' or thirdId4 is null)) AND (mainId = '' or mainId is null)
</if>
<if test="filterType != null and filterType == 3">
AND (mainId is NULL or mainId = '')
<if test="productsType == 1">

@ -25,6 +25,7 @@
pur_apply_detail.*,
basic_products.nameCode nameCode,
basic_products.ggxh spec,
basic_products.bzgg,
basic_products.packUnit,
basic_products.manufactory,
basic_products.ylqxzcrbarmc,

Loading…
Cancel
Save