From ce2f96006b1a1c0936a6e99a7aefec0c19c6893d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com> Date: Wed, 10 Jan 2024 13:54:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fuintAdmin/src/api/EventMarketing/oilBlock.js | 2 +- .../src/views/EventMarketing/SaveBlock/index.vue | 4 ++-- .../src/views/EventMarketing/storeOilBlock/index.vue | 8 ++++---- .../mapper/xml/OilNumberMapper.xml | 12 +++++++++--- 4 files changed, 16 insertions(+), 10 deletions(-) diff --git a/fuintAdmin/src/api/EventMarketing/oilBlock.js b/fuintAdmin/src/api/EventMarketing/oilBlock.js index 1b90a21c6..d90104883 100644 --- a/fuintAdmin/src/api/EventMarketing/oilBlock.js +++ b/fuintAdmin/src/api/EventMarketing/oilBlock.js @@ -11,7 +11,7 @@ export function getList(query) { // 查询油号 export function oilName(oilType) { return request({ - url: 'business/petrolStationManagement/oilName/getList?oilType='+oilType, + url: '/business/petrolStationManagement/oilNumber/getList2?oilType='+oilType, method: 'get', }) diff --git a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue index 2de5b4a10..fbaa97466 100644 --- a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue +++ b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue @@ -465,7 +465,7 @@ label="券详情" width="100"> + :value="dict.id"> @@ -365,8 +365,8 @@ this.oilList = [] oilName(this.queryParams.type).then(res=>{ - this.oilList = res.data - console.log( this.oilList) + this.oilList = res.data.records + console.log('我的油站' ,res) }) }, getlist(){ diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/mapper/xml/OilNumberMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/mapper/xml/OilNumberMapper.xml index 5dab6ffaa..fb573dd7e 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/mapper/xml/OilNumberMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/mapper/xml/OilNumberMapper.xml @@ -31,17 +31,23 @@ where store_id = #{oilNumber.storeId} + @@ -139,4 +145,4 @@ onu.store_id = #{storeId} and onu.state = '启用' - \ No newline at end of file +