diff --git a/dl-module-inspection/src/main/resources/mapper/partner/PartnerCustomerInfoMapper.xml b/dl-module-inspection/src/main/resources/mapper/partner/PartnerCustomerInfoMapper.xml index 8c63ac7c..9da421eb 100644 --- a/dl-module-inspection/src/main/resources/mapper/partner/PartnerCustomerInfoMapper.xml +++ b/dl-module-inspection/src/main/resources/mapper/partner/PartnerCustomerInfoMapper.xml @@ -46,6 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where id = #{id} + + + + diff --git a/dl-module-jx/src/main/resources/mapper/jx/DriveSchoolSwiperMapper.xml b/dl-module-jx/src/main/resources/mapper/jx/DriveSchoolSwiperMapper.xml index be301f00..50e7f386 100644 --- a/dl-module-jx/src/main/resources/mapper/jx/DriveSchoolSwiperMapper.xml +++ b/dl-module-jx/src/main/resources/mapper/jx/DriveSchoolSwiperMapper.xml @@ -21,19 +21,31 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select id, swiper_name, dept_id,swiper_picture, jump_url, list_order, creator, create_time, updater, update_time from drive_school_swiper - + SELECT id, swiper_name, dept_id, swiper_picture, jump_url, list_order, creator, create_time, updater, update_time + FROM drive_school_swiper deleted = 0 - and swiper_name like concat('%', #{swiperName}, '%') - and swiper_picture = #{swiperPicture} - and jump_url = #{jumpUrl} - and dept_id = #{deptId} - and list_order = #{listOrder} + + AND swiper_name LIKE CONCAT('%', #{swiperName}, '%') + + + AND swiper_picture = #{swiperPicture} + + + AND jump_url = #{jumpUrl} + + + AND dept_id = #{deptId} + + + AND list_order = #{listOrder} + - order by list_order asc + ORDER BY list_order ASC + + SELECT id, swiper_name, dept_id, swiper_picture, jump_url, list_order, creator, create_time, updater, update_time + FROM drive_school_swiper + + deleted = 0 + + + AND swiper_name LIKE CONCAT('%', #{driveSchoolSwiper.swiperName}, '%') + + + AND swiper_picture = #{driveSchoolSwiper.swiperPicture} + + + AND jump_url = #{driveSchoolSwiper.jumpUrl} + + + AND dept_id = #{driveSchoolSwiper.deptId} + + + AND list_order = #{driveSchoolSwiper.listOrder} + + + + ORDER BY list_order ASC + + + +