From 1cb73ffa597c2859ab746e58b5e8316bd5f875c8 Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Mon, 11 Mar 2024 16:38:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=85=85=E7=94=B5=E6=A1=A9?= =?UTF-8?q?=E5=88=97=E8=A1=A8=EF=BC=8C=E5=8F=AF=E4=BB=A5=E6=A8=A1=E7=B3=8A?= =?UTF-8?q?=E5=8C=B9=E9=85=8D=E6=A1=A9=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/pile/PileBasicInfoMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}