|
|
|
@ -56,15 +56,6 @@
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
<select id="filterNotRelCodeGroup" resultType="com.glxp.api.entity.collect.IoCollectCodeBackup">
|
|
|
|
|
select * from io_collect_code_backup a where EXISTS(
|
|
|
|
|
select * from basic_products b where LEFT(a.code, 7) = b.nameCode and packLevel >1
|
|
|
|
|
) and not EXISTS (select 1 from rel_code_detail c where c.parentCode = a.code)
|
|
|
|
|
<if test="fromCorp != null and fromCorp != ''">
|
|
|
|
|
AND iccb.fromCorp LIKE concat('%', #{fromCorp}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
group by billNo
|
|
|
|
|
</select>
|
|
|
|
|
<select id="filterlargePackage" resultType="com.glxp.api.entity.collect.IoCollectCodeBackup">
|
|
|
|
|
select * from io_collect_code_backup a where EXISTS(
|
|
|
|
|
select * from basic_products b where LEFT(a.code, 7) = b.nameCode and packLevel >1
|
|
|
|
|