diff --git a/mhd_wms/src/main/resources/mapper/materialBaseInfo/MaterialBaseInfoMapper.xml b/mhd_wms/src/main/resources/mapper/materialBaseInfo/MaterialBaseInfoMapper.xml index 403e8fc87..e308ebb5e 100644 --- a/mhd_wms/src/main/resources/mapper/materialBaseInfo/MaterialBaseInfoMapper.xml +++ b/mhd_wms/src/main/resources/mapper/materialBaseInfo/MaterialBaseInfoMapper.xml @@ -99,11 +99,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and shipper_name like concat('%', #{shipperName}, '%') - and material_code = #{materialCode} + and material_code like concat('%', #{materialCode}, '%') and material_name like concat('%', #{materialName}, '%') + + and unit_name like concat('%', #{unitName}, '%') + and bar_code like concat('%',#{barCode},'%')