充值按钮

查询积分sql
查询已营销的数据
This commit is contained in:
wangshuai 2024-07-21 17:37:04 +08:00
parent 4fdb0185b0
commit 563aad498b
3 changed files with 4 additions and 3 deletions

View File

@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="getIntegralByAccount" resultType="java.lang.Integer" >
select ai_duration_balance
from bus_agent_info
where id = #{account}
where agent_account = #{account}
</select>
<insert id="insertBusAgentInfo" parameterType="BusAgentInfo">

View File

@ -131,7 +131,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectBusReturnVisitInfoVo"/>
<where>
<if test="privcyPhone != null and privcyPhone != ''"> and phone_number = #{privcyPhone}</if>
and return_visit_time is null
and return_visit_time is not null
</where>
</select>

View File

@ -98,7 +98,7 @@
<!-- <el-table-column label="删除状态" align="center" prop="delStatus" /> -->
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button v-if="scope.row.superiorAgentAccount == 'admin'"
<el-button v-if="user != 'admin' || scope.row.superiorAgentAccount == 'admin'"
size="mini"
type="text"
icon="el-icon-edit"
@ -211,6 +211,7 @@ export default {
superiorAgentAccount: null,
delStatus: "1"
},
user: this.$store.state.user.name,
//
form: {},
//