zhangbin 4 жил өмнө
parent
commit
183da00ee4

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

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

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

@@ -61,6 +61,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 sname like concat('%', #{pxcx}, '%')</if>
         </where>
         order by stars desc
     </select>