From 552545e4c3dfa60de2cbec9a13bba2edffc3fc89 Mon Sep 17 00:00:00 2001 From: lzttt <1803073139@qq.com> Date: Mon, 21 Oct 2024 11:25:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A9=BE=E6=A0=A1=E7=B3=BB=E7=BB=9Fbug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../partner/PartnerCustomerInfoMapper.xml | 1 + .../admin/DriveSchoolInfoController.java | 10 +++- .../admin/DriveSchoolSwiperController.java | 20 +++++-- .../jx/controller/admin/JxAuthController.java | 15 ++++- .../jx/mapper/DriveSchoolInfoMapper.java | 11 ++++ .../jx/mapper/DriveSchoolSwiperMapper.java | 17 +++++- .../payment/api/DriveSchoolPayController.java | 48 +++++++++++----- .../jx/service/IDriveSchoolInfoService.java | 2 +- .../jx/service/IDriveSchoolSwiperService.java | 12 +++- .../impl/DriveSchoolCoachServiceImpl.java | 14 +++-- .../impl/DriveSchoolExamPassServiceImpl.java | 37 +++++++++++- .../impl/DriveSchoolInfoServiceImpl.java | 46 +++++++++++---- .../impl/DriveSchoolSwiperServiceImpl.java | 21 +++++-- .../mapper/jx/DriveSchoolInfoMapper.xml | 3 + .../mapper/jx/DriveSchoolSwiperMapper.xml | 57 ++++++++++++++++--- 15 files changed, 259 insertions(+), 55 deletions(-) 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 + + + +