Ver código fonte

驾校带图片距离查询列表

zhangbin 4 anos atrás
pai
commit
87133ae85f

+ 4 - 0
hzgzpt-service-app/src/main/java/com/miaxis/app/school/dto/SchoolInfoDTO.java

@@ -40,4 +40,8 @@ public class SchoolInfoDTO  {
     @ApiModelProperty(value = "行政区划代码")
     private String areaCode;
 
+    /** 培训车型 */
+    @ApiModelProperty(value = "培训车型")
+    private String pxcx;
+
 }

+ 1 - 0
hzgzpt-service-app/src/main/resources/mapper/school/SchoolInfoMapper.xml

@@ -46,6 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <where>
             <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
             <if test="areaCode != null  and areaCode != ''"> and area_code = #{areaCode}</if>
+            <if test="pxcx != null  and pxcx != ''"> and pxcx like concat('%', #{pxcx}, '%')</if>
         </where>
 
         <if test="orderName!=null and orderType!=null">