Browse Source

修复下单端系统派单

master
前端-胡立永 2 months ago
parent
commit
262cf0a2af
3 changed files with 14 additions and 4 deletions
  1. +2
    -2
      CatmDogd-Mall-Front-test/.env.development
  2. +10
    -2
      CatmDogd-Mall-Front-test/src/views/model/AppletOrder/index.vue
  3. +2
    -0
      ruoyi-catdog/src/main/resources/mapper/model/AppletOrderMapper.xml

+ 2
- 2
CatmDogd-Mall-Front-test/.env.development View File

@ -6,9 +6,9 @@ VUE_APP_TITLE = 下单伴宠师综合管理平台
# 若依管理系统/开发环境 https://pet-admin.hhlm1688.com/api
# VUE_APP_BASE_API = 'https://api.catmdogd.com'
VUE_APP_BASE_API = 'https://pet-admin.hhlm1688.com/api/'
# VUE_APP_BASE_API = 'https://pet-admin.hhlm1688.com/api/'
# VUE_APP_BASE_API = 'http://h5.xzaiyp.top'
# VUE_APP_BASE_API = 'http://localhost:8002'
VUE_APP_BASE_API = 'http://localhost:8002'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true


+ 10
- 2
CatmDogd-Mall-Front-test/src/views/model/AppletOrder/index.vue View File

@ -48,6 +48,13 @@
:value="dict.value" />
</el-select>
</el-form-item>
<el-form-item label="系统派单超时" prop="noticeSystemFlag">
<el-select v-model="queryParams.noticeSystemFlag" placeholder="请选择系统派单超时" clearable size="small">
<el-option label="超时" :value="1" />
<el-option label="未超时" :value="0" />
</el-select>
</el-form-item>
<el-form-item label="请输入订单编号" label-width="300" prop="orderSn">
<el-input v-model="queryParams.orderSn" placeholder="请输入订单编号" clearable size="small"
@keyup.enter.native="handleQuery" />
@ -243,7 +250,7 @@
<el-form-item label="伴宠师等级" prop="companionLevel" v-if="form.type == 0">
<el-select v-model="form.companionLevel" placeholder="请选择伴宠师等级" key="companionLevel">
<el-option label="" :value="0" />
<el-option label="所有等级" :value="0" />
<el-option label="初级伴宠师" :value="1" />
<el-option label="高级伴宠师" :value="2" />
</el-select>
@ -319,7 +326,8 @@ export default {
userIdJson: null,
orderSn: null,
orderId: null,
orderTime: null
orderTime: null,
noticeSystemFlag: null,
},
//
form: {},


+ 2
- 0
ruoyi-catdog/src/main/resources/mapper/model/AppletOrderMapper.xml View File

@ -55,6 +55,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="orderSn != null "> and order_sn = #{orderSn}</if>
<if test="orderId != null "> and order_id = #{orderId}</if>
<if test="orderTime != null "> and order_time = #{orderTime}</if>
<if test="noticeSystemFlag == 1 "> and notice_system_flag = -1 and user_id is null</if>
<if test="noticeSystemFlag == 0 "> and (notice_system_flag != -1 or user_id is not null)</if>
</where>
order by create_time desc


Loading…
Cancel
Save