From 3d6dc4f08917a0a58db94ab22ce0da9615de7dcc Mon Sep 17 00:00:00 2001 From: haotian <2421912570@qq.com> Date: Fri, 21 Feb 2025 11:55:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E7=AE=A1=E7=90=86--=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E8=B5=84=E6=BA=90=E4=BD=8D=E5=88=97=E8=A1=A8--?= =?UTF-8?q?=E4=BF=AE=E6=94=B9--=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6,int=E7=B1=BB=E5=9E=8B=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=80=BC=E4=B8=BA0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../backstage/SysSourceController.java | 2 ++ .../mapper/system/SysSourceMapper.xml | 26 +++++++++---------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/backstage/SysSourceController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/backstage/SysSourceController.java index 49455376..b9a6a008 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/backstage/SysSourceController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/backstage/SysSourceController.java @@ -72,6 +72,8 @@ public class SysSourceController extends BaseController { @GetMapping("/getAllSource") public TableDataInfo getAllSource(SysSource sysSource) { + System.out.println("搜索条件: "+sysSource.getCity()+sysSource.getScenic()+sysSource.getcX()+sysSource.getcY()); + startPage(); diff --git a/ruoyi-system/src/main/resources/mapper/system/SysSourceMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysSourceMapper.xml index f7700742..464018f3 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysSourceMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysSourceMapper.xml @@ -115,23 +115,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" on s.order_id = o.order_id and s.source_id = #{sourceId} - and city_id = #{cityId} + and city = #{city} - and scenic_id = #{scenicId} + and scenic = #{scenic} and part = #{part} - and scale = #{scale} - and coordinate = #{coordinate} - and price = #{price} + + + and source_status = #{sourceStatus} - and work_address = #{workAddress} - and start_time = #{startTime} - and end_time = #{endTime} - and b_bought = #{bBought} - and order_id = #{orderId} - and work_id = #{workId} - and c_x = #{cX} - and c_y = #{cY} + + + + + + + and c_x = #{cX} + and c_y = #{cY}