hanfucheng 6 kuukautta sitten
vanhempi
commit
780d5f86b8

+ 1 - 1
src/main/resources/mapper/digitaltraffic/CenterdataTSupermapLevelMapper.xml

@@ -70,7 +70,7 @@
             <if test="type != null  and type != ''">and a.type = #{type}</if>
             <if test="personName != null and personName != ''">
                 <choose>
-                    <when test="type == '1'">
+                    <when test="type == 1">
                         and p.lin_name like concat('%',#{personName},'%')
                     </when>
                     <otherwise>and p.name like concat('%',#{personName},'%')</otherwise>