diff --git a/jsowell-pile/src/main/resources/mapper/pile/PileBasicInfoMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/PileBasicInfoMapper.xml index 3d1f595f5..cb89a06dc 100644 --- a/jsowell-pile/src/main/resources/mapper/pile/PileBasicInfoMapper.xml +++ b/jsowell-pile/src/main/resources/mapper/pile/PileBasicInfoMapper.xml @@ -171,7 +171,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" LEFT join pile_model_info t6 on t6.id = t1.model_id where t1.del_flag = '0' - and t1.sn = #{dto.pileSn,jdbcType=VARCHAR} + and (t1.sn = #{dto.pileSn,jdbcType=VARCHAR} or t1.sn like concat('%', #{dto.pileSn,jdbcType=VARCHAR}, '%')) and t1.station_Id = #{dto.stationId,jdbcType=VARCHAR}