|
|
@ -185,7 +185,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
where parent_id = (select id from sys_category where code = 'materialType') ) |
|
|
|
)cate on erp.material_type = cate.code |
|
|
|
where cate.parent_id in (select id from sys_category where code in ('cp','bcp')) |
|
|
|
and erp.del_flag = '0' and erp.audit_status = '1' and erp.use_status = '1' |
|
|
|
and erp.audit_status = '1' and erp.use_status = '1' |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="selectAllErpMaterialListByMaterialVo" parameterType="ErpMaterial" resultMap="ErpMaterialResult"> |
|
|
@ -355,7 +355,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
where parent_id = (select id from sys_category where code = 'materialType') ) |
|
|
|
)cate on erp.material_type = cate.code |
|
|
|
where cate.parent_id in (select id from sys_category where code in ('cp','bcp')) |
|
|
|
and erp.del_flag = '0' and erp.audit_status = '1' |
|
|
|
and erp.audit_status = '1' and erp.use_status = '1' |
|
|
|
and material_no like concat(#{prefix}, '%') escape '\\' |
|
|
|
</select> |
|
|
|
|
|
|
|