1
This commit is contained in:
parent
0221b1073a
commit
9e9c793a90
@ -45,6 +45,12 @@ public class DriveSchoolSwiperController extends BaseController
|
||||
@GetMapping("/pclist")
|
||||
@PermitAll
|
||||
public CommonResult pclist(DriveSchoolSwiper driveSchoolSwiper) {
|
||||
if(driveSchoolSwiper.getPageNum() == null) {
|
||||
driveSchoolSwiper.setPageNum(1);
|
||||
}
|
||||
if(driveSchoolSwiper.getPageSize() == null) {
|
||||
driveSchoolSwiper.setPageSize(100);
|
||||
}
|
||||
Page<DriveSchoolSwiper> page = new Page<>(driveSchoolSwiper.getPageNum(), driveSchoolSwiper.getPageSize());
|
||||
IPage<DriveSchoolSwiper> driveSchoolSeparateIPage = driveSchoolSwiperService.selectDriveSchoolSwiperPclist(driveSchoolSwiper, page);
|
||||
|
||||
|
@ -8,7 +8,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.springframework.data.repository.query.Param;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -111,24 +111,24 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
FROM drive_school_swiper
|
||||
<where>
|
||||
deleted = 0
|
||||
<if test="driveSchoolSwiper != null">
|
||||
<if test="driveSchoolSwiper.swiperName != null and driveSchoolSwiper.swiperName != ''">
|
||||
AND swiper_name LIKE CONCAT('%', #{driveSchoolSwiper.swiperName}, '%')
|
||||
|
||||
<if test="entity.swiperName != null and entity.swiperName != ''">
|
||||
AND swiper_name LIKE CONCAT('%', #{entity.swiperName}, '%')
|
||||
</if>
|
||||
<if test="driveSchoolSwiper.swiperPicture != null and driveSchoolSwiper.swiperPicture != ''">
|
||||
AND swiper_picture = #{driveSchoolSwiper.swiperPicture}
|
||||
<if test="entity.swiperPicture != null and entity.swiperPicture != ''">
|
||||
AND swiper_picture = #{entity.swiperPicture}
|
||||
</if>
|
||||
<if test="driveSchoolSwiper.jumpUrl != null and driveSchoolSwiper.jumpUrl != ''">
|
||||
AND jump_url = #{driveSchoolSwiper.jumpUrl}
|
||||
<if test="entity.jumpUrl != null and entity.jumpUrl != ''">
|
||||
AND jump_url = #{entity.jumpUrl}
|
||||
</if>
|
||||
<if test="driveSchoolSwiper.deptId != null">
|
||||
AND dept_id = #{driveSchoolSwiper.deptId}
|
||||
</if>
|
||||
<if test="driveSchoolSwiper.listOrder != null">
|
||||
AND list_order = #{driveSchoolSwiper.listOrder}
|
||||
<if test="entity.deptId != null">
|
||||
AND dept_id = #{entity.deptId}
|
||||
</if>
|
||||
<if test="entity.listOrder != null">
|
||||
AND list_order = #{entity.listOrder}
|
||||
</if>
|
||||
|
||||
|
||||
</where>
|
||||
ORDER BY list_order ASC
|
||||
</select>
|
||||
|
@ -303,6 +303,9 @@ yudao:
|
||||
- /app-api/** #小程序端接口,不区分租户
|
||||
- /repair/tickets/print/**
|
||||
- /admin-api/repair/tickets/print/**
|
||||
- /admin-api/jx/auth/**
|
||||
- /admin-api/jx/**
|
||||
- /admin-api/jx/auth/getAppInfo
|
||||
ignore-tables:
|
||||
- system_tenant
|
||||
- system_tenant_package
|
||||
|
Loading…
Reference in New Issue
Block a user