1.删除多余代码

main
862857010@qq.com 2 years ago
parent db457b89de
commit 90226c280c
  1. 3
      cjy-module-traceability/cjy-module-traceability-biz/src/main/resources/mapper/product/ProductMapper.xml

@ -86,13 +86,12 @@
<select id="getSelfOroducedProductsAndInventory" resultType="java.util.Map">
String processingName
select t1.id, t1.processing_name as processingName,t1.inventory_production as inventoryProduction,t1.batch,t1.traceability_code as traceabilityCode
from traceability_product t1
left join traceability_agricultural_product t2 on t1.cropper_id = t2.id
where t1.deleted = 0
<if test="processingName != null and processingName != ''">
and processing_name like concat('%', #{processingName}, '%')
and t1.processing_name like concat('%', #{processingName}, '%')
</if>
and t1.source_type=1
</select>

Loading…
Cancel
Save