折扣营销

This commit is contained in:
齐天大圣 2023-11-15 18:26:05 +08:00
parent 88e9ba8bc9
commit 1c320b17c1
12 changed files with 403 additions and 443 deletions

View File

@ -41,10 +41,6 @@
>新增</el-button>
</el-col>
</el-row>
<el-table v-loading="loading" :data="activeConsumptionList" @selection-change="handleSelectionChange">
@ -402,21 +398,14 @@
<el-select v-model="form.participationCondition" clearable placeholder="请选择天参与条件">
<el-option label="不限制" value="0"></el-option>
<el-option label="优惠订单不参与" value="1"></el-option>
</el-select>
</el-form-item>
<el-form-item label="参与次数类别" prop="participationAcount">
<el-select v-model="form.participationAcount" clearable placeholder="请选择参与次数类别">
<el-option label="不限制" value="0"></el-option>
<el-option label="限制" value="1"></el-option>
</el-select>
</el-form-item>
<el-form-item label="限制次数" prop="limitAcount" v-if="form.participationAcount == 1">
<el-input v-model="form.limitAcount" placeholder="请输入限制次数" />
</el-form-item>

View File

@ -1,22 +1,7 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="所属连锁店id" prop="chainStoreId">
<el-input
v-model="queryParams.chainStoreId"
placeholder="请输入所属连锁店id"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="所属店铺id" prop="storeId">
<el-input
v-model="queryParams.storeId"
placeholder="请输入所属店铺id"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<div class="">
<el-card style="margin-bottom: 20px">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
<el-form-item label="活动名称" prop="name">
<el-input
v-model="queryParams.name"
@ -25,92 +10,26 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="活动开始时间" prop="activeStartTime">
<el-date-picker clearable
v-model="queryParams.activeStartTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择活动开始时间">
</el-date-picker>
<el-form-item label="状态">
<el-select v-model="queryParams.status" clearable placeholder="请选择活动状态">
<el-option label="启用" value="0"></el-option>
<el-option label="禁用" value="1"></el-option>
</el-select>
</el-form-item>
<el-form-item label="活动结束时间" prop="activeEndTime">
<el-date-picker clearable
v-model="queryParams.activeEndTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择活动结束时间">
</el-date-picker>
</el-form-item>
<el-form-item label="适用油品092# 1: 95# 298# 30# 4-10# 5 LNG 6CNG 7京92# 8京95# 9京0#" prop="adaptOil">
<el-input
v-model="queryParams.adaptOil"
placeholder="请输入适用油品092# 1: 95# 298# 30# 4-10# 5 LNG 6CNG 7京92# 8京95# 9京0#"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="柴油会员等级 1一级会员 2二级会员。。。。。。。" prop="dieselUserLevel">
<el-input
v-model="queryParams.dieselUserLevel"
placeholder="请输入柴油会员等级 1一级会员 2二级会员。。。。。。。"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="汽油会员等级 1一级会员 2二级会员。。。。。。。" prop="gasolineUserLevel">
<el-input
v-model="queryParams.gasolineUserLevel"
placeholder="请输入汽油会员等级 1一级会员 2二级会员。。。。。。。"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="天然气会员等级 1一级会员 2二级会员。。。。。。。" prop="naturalUserLevel">
<el-input
v-model="queryParams.naturalUserLevel"
placeholder="请输入天然气会员等级 1一级会员 2二级会员。。。。。。。"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="参与条件 0不限制 1优惠订单不参与" prop="participationCondition">
<el-input
v-model="queryParams.participationCondition"
placeholder="请输入参与条件 0不限制 1优惠订单不参与"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="参与次数类别0不限制 1限制" prop="participationAcount">
<el-input
v-model="queryParams.participationAcount"
placeholder="请输入参与次数类别0不限制 1限制"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="限制次数" prop="limitAcount">
<el-input
v-model="queryParams.limitAcount"
placeholder="请输入限制次数"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="是否在线 0在线 1 下线" prop="isonline">
<el-input
v-model="queryParams.isonline"
placeholder="请输入是否在线 0在线 1 下线"
clearable
@keyup.enter.native="handleQuery"
/>
<el-form-item label="是否在线" prop="isonline">
<el-select v-model="queryParams.isonline" clearable placeholder="请选择是否在线">
<el-option label="在线" value="0"></el-option>
<el-option label="下线" value="1"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
</el-card>
<el-card style="margin-bottom: 20px">
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
@ -119,72 +38,18 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['business/marketingActivity:activeDiscount:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['business/marketingActivity:activeDiscount:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['business/marketingActivity:activeDiscount:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['business/marketingActivity:activeDiscount:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="activeDiscountList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="主键id" align="center" prop="id" />
<el-table-column label="所属连锁店id" align="center" prop="chainStoreId" />
<el-table-column label="所属店铺id" align="center" prop="storeId" />
<el-table-column label="活动id" align="center" prop="id" />
<el-table-column label="活动名称" align="center" prop="name" />
<el-table-column label="活动开始时间" align="center" prop="activeStartTime" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.activeStartTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="活动结束时间" align="center" prop="activeEndTime" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.activeEndTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="适用油品092# 1: 95# 298# 30# 4-10# 5 LNG 6CNG 7京92# 8京95# 9京0#" align="center" prop="adaptOil" />
<el-table-column label="适用会员类型 0:全部用户 1全部会员 2等级会员" align="center" prop="adaptUserType" />
<el-table-column label="会员类型 0汽油会员 1柴油会员 2天然气会员" align="center" prop="memberType" />
<el-table-column label="柴油会员等级 1一级会员 2二级会员。。。。。。。" align="center" prop="dieselUserLevel" />
<el-table-column label="汽油会员等级 1一级会员 2二级会员。。。。。。。" align="center" prop="gasolineUserLevel" />
<el-table-column label="天然气会员等级 1一级会员 2二级会员。。。。。。。" align="center" prop="naturalUserLevel" />
<el-table-column label="支付方式 0微信支付 1支付宝 2银行卡 3会员卡 4现金 5组合支付" align="center" prop="paymentType" />
<el-table-column label="参与条件 0不限制 1优惠订单不参与" align="center" prop="participationCondition" />
<el-table-column label="参与次数类别0不限制 1限制" align="center" prop="participationAcount" />
<el-table-column label="限制次数" align="center" prop="limitAcount" />
<el-table-column label="活动状态 0启用 1禁用" align="center" prop="status" />
<el-table-column label="是否在线 0在线 1 下线" align="center" prop="isonline" />
<el-table-column label="柴油会员等级 " align="center" prop="dieselUserLevel" />
<el-table-column label="汽油会员等级 " align="center" prop="gasolineUserLevel" />
<el-table-column label="天然气会员等级 " align="center" prop="naturalUserLevel" />
<el-table-column label="活动状态 " align="center" prop="status" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
@ -192,15 +57,15 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['business/marketingActivity:activeDiscount:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['business/marketingActivity:activeDiscount:remove']"
>删除</el-button>
@click="handleDeletexia(scope.row)"
v-if="scope.row.isonline == 0"
>下线</el-button>
</template>
</el-table-column>
</el-table>
@ -212,58 +77,94 @@
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
</el-card>
<!-- 添加或修改折扣营销对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="所属连锁店id" prop="chainStoreId">
<el-input v-model="form.chainStoreId" placeholder="请输入所属连锁店id" />
</el-form-item>
<el-form-item label="所属店铺id" prop="storeId">
<el-input v-model="form.storeId" placeholder="请输入所属店铺id" />
</el-form-item>
<el-form-item label="活动名称" prop="name">
<el-input v-model="form.name" placeholder="请输入活动名称" />
</el-form-item>
<el-form-item label="活动开始时间" prop="activeStartTime">
<el-date-picker clearable
v-model="form.activeStartTime"
type="date"
value-format="yyyy-MM-dd"
type="datetime"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="请选择活动开始时间">
</el-date-picker>
</el-form-item>
<el-form-item label="活动结束时间" prop="activeEndTime">
<el-date-picker clearable
v-model="form.activeEndTime"
type="date"
value-format="yyyy-MM-dd"
type="datetime"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="请选择活动结束时间">
</el-date-picker>
</el-form-item>
<el-form-item label="适用油品092# 1: 95# 298# 30# 4-10# 5 LNG 6CNG 7京92# 8京95# 9京0#" prop="adaptOil">
<el-input v-model="form.adaptOil" placeholder="请输入适用油品092# 1: 95# 298# 30# 4-10# 5 LNG 6CNG 7京92# 8京95# 9京0#" />
<el-form-item label="可用油品" prop="adaptOil" >
<el-checkbox-group v-model="form.adaptOil">
<el-checkbox v-for="city in oillist" :label="city" :key="city">{{city}}</el-checkbox>
</el-checkbox-group>
</el-form-item>
<el-form-item label="柴油会员等级 1一级会员 2二级会员。。。。。。。" prop="dieselUserLevel">
<el-input v-model="form.dieselUserLevel" placeholder="请输入柴油会员等级 1一级会员 2二级会员。。。。。。。" />
<el-form-item label="柴油会员等级" prop="dieselUserLevel">
<el-select v-model="form.dieselUserLevel" multiple clearable placeholder="请选择柴油会员等级">
<el-option label="V1会员" value="1"></el-option>
<el-option label="V2会员" value="2"></el-option>
<el-option label="V3会员" value="3"></el-option>
<el-option label="V4会员" value="4"></el-option>
<el-option label="V5会员" value="5"></el-option>
<el-option label="V6会员" value="6"></el-option>
<el-option label="V7会员" value="7"></el-option>
<el-option label="V8会员" value="8"></el-option>
<el-option label="V9会员" value="9"></el-option>
</el-select>
</el-form-item>
<el-form-item label="汽油会员等级 1一级会员 2二级会员。。。。。。。" prop="gasolineUserLevel">
<el-input v-model="form.gasolineUserLevel" placeholder="请输入汽油会员等级 1一级会员 2二级会员。。。。。。。" />
<el-form-item label="汽油会员等级" prop="gasolineUserLevel">
<el-select v-model="form.gasolineUserLevel" multiple clearable placeholder="请选择汽油会员等级">
<el-option label="V1会员" value="1"></el-option>
<el-option label="V2会员" value="2"></el-option>
<el-option label="V3会员" value="3"></el-option>
<el-option label="V4会员" value="4"></el-option>
<el-option label="V5会员" value="5"></el-option>
<el-option label="V6会员" value="6"></el-option>
<el-option label="V7会员" value="7"></el-option>
<el-option label="V8会员" value="8"></el-option>
<el-option label="V9会员" value="9"></el-option>
</el-select>
</el-form-item>
<el-form-item label="天然气会员等级 1一级会员 2二级会员。。。。。。。" prop="naturalUserLevel">
<el-input v-model="form.naturalUserLevel" placeholder="请输入天然气会员等级 1一级会员 2二级会员。。。。。。。" />
<el-form-item label="天然气会员等级" prop="naturalUserLevel">
<el-select v-model="form.naturalUserLevel" multiple clearable placeholder="请选择天然气会员等级">
<el-option label="V1会员" value="1"></el-option>
<el-option label="V2会员" value="2"></el-option>
<el-option label="V3会员" value="3"></el-option>
<el-option label="V4会员" value="4"></el-option>
<el-option label="V5会员" value="5"></el-option>
<el-option label="V6会员" value="6"></el-option>
<el-option label="V7会员" value="7"></el-option>
<el-option label="V8会员" value="8"></el-option>
<el-option label="V9会员" value="9"></el-option>
</el-select>
</el-form-item>
<el-form-item label="参与条件 0不限制 1优惠订单不参与" prop="participationCondition">
<el-input v-model="form.participationCondition" placeholder="请输入参与条件 0不限制 1优惠订单不参与" />
<el-form-item label="参与条件" prop="participationCondition">
<el-select v-model="form.participationCondition" clearable placeholder="请选择天参与条件">
<el-option label="不限制" value="0"></el-option>
<el-option label="优惠订单不参与" value="1"></el-option>
</el-select>
</el-form-item>
<el-form-item label="参与次数类别0不限制 1限制" prop="participationAcount">
<el-input v-model="form.participationAcount" placeholder="请输入参与次数类别0不限制 1限制" />
<el-form-item label="参与次数类别" prop="participationAcount">
<el-select v-model="form.participationAcount" clearable placeholder="请选择参与次数类别">
<el-option label="不限制" value="0"></el-option>
<el-option label="限制" value="1"></el-option>
</el-select>
</el-form-item>
<el-form-item label="限制次数" prop="limitAcount">
<el-input v-model="form.limitAcount" placeholder="请输入限制次数" />
<el-form-item label="限制次数" prop="limitAcount" v-if="form.participationAcount ==1">
<el-input-number v-model="form.limitAcount" placeholder="请输入限制次数" />
</el-form-item>
<el-form-item label="是否在线 0在线 1 下线" prop="isonline">
<el-input v-model="form.isonline" placeholder="请输入是否在线 0在线 1 下线" />
<el-form-item label="是否上线" prop="isonline">
<el-select v-model="form.isonline" clearable placeholder="请选择参与次数类别">
<el-option label="上线" value="0"></el-option>
<el-option label="下线" value="1"></el-option>
</el-select>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
@ -281,6 +182,7 @@ export default {
name: "ActiveDiscount",
data() {
return {
oillist:['92#','95#','98#','0#','-10#','LNG','CNG','京92#','京95#','京0#',],
//
loading: true,
//
@ -336,8 +238,8 @@ export default {
getList() {
this.loading = true;
listActiveDiscount(this.queryParams).then(response => {
this.activeDiscountList = response.rows;
this.total = response.total;
this.activeDiscountList = response.data.records;
this.total = response.data.total;
this.loading = false;
});
},
@ -355,18 +257,19 @@ export default {
name: null,
activeStartTime: null,
activeEndTime: null,
adaptOil: null,
adaptOil: [],
adaptUserType: null,
memberType: null,
dieselUserLevel: null,
gasolineUserLevel: null,
naturalUserLevel: null,
dieselUserLevel: [],
gasolineUserLevel: [],
naturalUserLevel: [],
paymentType: null,
participationCondition: null,
participationAcount: null,
limitAcount: null,
status: null,
isonline: null,
status: 0,
isonline: 0,
activeDiscountChildList: [],
createBy: null,
createTime: null,
updateBy: null,

View File

@ -1,22 +1,7 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="所属连锁店id" prop="chainStorId">
<el-input
v-model="queryParams.chainStorId"
placeholder="请输入所属连锁店id"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="所属店铺id" prop="storeId">
<el-input
v-model="queryParams.storeId"
placeholder="请输入所属店铺id"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<div class="">
<el-card style="margin-bottom: 20px">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
<el-form-item label="活动名称" prop="name">
<el-input
v-model="queryParams.name"
@ -25,92 +10,26 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="活动开始时间" prop="activeStartTime">
<el-date-picker clearable
v-model="queryParams.activeStartTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择活动开始时间">
</el-date-picker>
<el-form-item label="状态">
<el-select v-model="queryParams.status" clearable placeholder="请选择活动状态">
<el-option label="启用" value="0"></el-option>
<el-option label="禁用" value="1"></el-option>
</el-select>
</el-form-item>
<el-form-item label="活动结束时间" prop="activeEndTime">
<el-date-picker clearable
v-model="queryParams.activeEndTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择活动结束时间">
</el-date-picker>
</el-form-item>
<el-form-item label="适用油品092# 1: 95# 298# 30# 4-10# 5 LNG 6CNG 7京92# 8京95# 9京0#" prop="adaptOil">
<el-input
v-model="queryParams.adaptOil"
placeholder="请输入适用油品092# 1: 95# 298# 30# 4-10# 5 LNG 6CNG 7京92# 8京95# 9京0#"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="柴油会员等级 1一级会员 2二级会员。。。。。。。" prop="dieselUserLevel">
<el-input
v-model="queryParams.dieselUserLevel"
placeholder="请输入柴油会员等级 1一级会员 2二级会员。。。。。。。"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="汽油会员等级 1一级会员 2二级会员。。。。。。。" prop="gasolineUserLevel">
<el-input
v-model="queryParams.gasolineUserLevel"
placeholder="请输入汽油会员等级 1一级会员 2二级会员。。。。。。。"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="天然气会员等级 1一级会员 2二级会员。。。。。。。" prop="naturalUserLevel">
<el-input
v-model="queryParams.naturalUserLevel"
placeholder="请输入天然气会员等级 1一级会员 2二级会员。。。。。。。"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="参与条件 0不限制 1优惠订单不参与" prop="participationCondition">
<el-input
v-model="queryParams.participationCondition"
placeholder="请输入参与条件 0不限制 1优惠订单不参与"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="参与次数类别0不限制 1限制" prop="participationAcount">
<el-input
v-model="queryParams.participationAcount"
placeholder="请输入参与次数类别0不限制 1限制"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="限制次数" prop="limitAcount">
<el-input
v-model="queryParams.limitAcount"
placeholder="请输入限制次数"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="是否在线 0在线 1 下线" prop="isonline">
<el-input
v-model="queryParams.isonline"
placeholder="请输入是否在线 0在线 1 下线"
clearable
@keyup.enter.native="handleQuery"
/>
<el-form-item label="是否在线" prop="isonline">
<el-select v-model="queryParams.isonline" clearable placeholder="请选择是否在线">
<el-option label="在线" value="0"></el-option>
<el-option label="下线" value="1"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
</el-card>
<el-card style="margin-bottom: 20px">
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
@ -119,72 +38,18 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['business/marketingActivity:activeFullminus:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['business/marketingActivity:activeFullminus:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['business/marketingActivity:activeFullminus:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['business/marketingActivity:activeFullminus:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="activeFullminusList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="主键id" align="center" prop="id" />
<el-table-column label="所属连锁店id" align="center" prop="chainStorId" />
<el-table-column label="所属店铺id" align="center" prop="storeId" />
<el-table-column label="活动id" align="center" prop="id" />
<el-table-column label="活动名称" align="center" prop="name" />
<el-table-column label="活动开始时间" align="center" prop="activeStartTime" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.activeStartTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="活动结束时间" align="center" prop="activeEndTime" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.activeEndTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="适用油品092# 1: 95# 298# 30# 4-10# 5 LNG 6CNG 7京92# 8京95# 9京0#" align="center" prop="adaptOil" />
<el-table-column label="适用会员类型 0:全部用户 1全部会员 2等级会员" align="center" prop="adaptUserType" />
<el-table-column label="会员类型 0汽油会员 1柴油会员 2天然气会员" align="center" prop="memberType" />
<el-table-column label="柴油会员等级 1一级会员 2二级会员。。。。。。。" align="center" prop="dieselUserLevel" />
<el-table-column label="汽油会员等级 1一级会员 2二级会员。。。。。。。" align="center" prop="gasolineUserLevel" />
<el-table-column label="天然气会员等级 1一级会员 2二级会员。。。。。。。" align="center" prop="naturalUserLevel" />
<el-table-column label="支付方式 0微信支付 1支付宝 2银行卡 3会员卡 4现金 5组合支付" align="center" prop="paymentType" />
<el-table-column label="参与条件 0不限制 1优惠订单不参与" align="center" prop="participationCondition" />
<el-table-column label="参与次数类别0不限制 1限制" align="center" prop="participationAcount" />
<el-table-column label="限制次数" align="center" prop="limitAcount" />
<el-table-column label="活动状态 0启用 1禁用" align="center" prop="status" />
<el-table-column label="是否在线 0在线 1 下线" align="center" prop="isonline" />
<el-table-column label="柴油会员等级 " align="center" prop="dieselUserLevel" />
<el-table-column label="汽油会员等级 " align="center" prop="gasolineUserLevel" />
<el-table-column label="天然气会员等级 " align="center" prop="naturalUserLevel" />
<el-table-column label="活动状态 " align="center" prop="status" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
@ -200,7 +65,7 @@
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['business/marketingActivity:activeFullminus:remove']"
>删除</el-button>
>下线</el-button>
</template>
</el-table-column>
</el-table>
@ -212,58 +77,95 @@
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
</el-card>
<!-- 添加或修改满减营销对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="所属连锁店id" prop="chainStorId">
<el-input v-model="form.chainStorId" placeholder="请输入所属连锁店id" />
</el-form-item>
<el-form-item label="所属店铺id" prop="storeId">
<el-input v-model="form.storeId" placeholder="请输入所属店铺id" />
</el-form-item>
<el-form-item label="活动名称" prop="name">
<el-input v-model="form.name" placeholder="请输入活动名称" />
</el-form-item>
<el-form-item label="活动开始时间" prop="activeStartTime">
<el-date-picker clearable
v-model="form.activeStartTime"
type="date"
value-format="yyyy-MM-dd"
type="datetime"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="请选择活动开始时间">
</el-date-picker>
</el-form-item>
<el-form-item label="活动结束时间" prop="activeEndTime">
<el-date-picker clearable
v-model="form.activeEndTime"
type="date"
value-format="yyyy-MM-dd"
type="datetime"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="请选择活动结束时间">
</el-date-picker>
</el-form-item>
<el-form-item label="适用油品092# 1: 95# 298# 30# 4-10# 5 LNG 6CNG 7京92# 8京95# 9京0#" prop="adaptOil">
<el-input v-model="form.adaptOil" placeholder="请输入适用油品092# 1: 95# 298# 30# 4-10# 5 LNG 6CNG 7京92# 8京95# 9京0#" />
<el-form-item label="可用油品" prop="adaptOil" >
<el-checkbox-group v-model="form.adaptOil">
<el-checkbox v-for="city in oillist" :label="city" :key="city">{{city}}</el-checkbox>
</el-checkbox-group>
</el-form-item>
<el-form-item label="柴油会员等级 1一级会员 2二级会员。。。。。。。" prop="dieselUserLevel">
<el-input v-model="form.dieselUserLevel" placeholder="请输入柴油会员等级 1一级会员 2二级会员。。。。。。。" />
<el-form-item label="柴油会员等级" prop="dieselUserLevel">
<el-select v-model="form.dieselUserLevel" multiple clearable placeholder="请选择柴油会员等级">
<el-option label="V1会员" value="1"></el-option>
<el-option label="V2会员" value="2"></el-option>
<el-option label="V3会员" value="3"></el-option>
<el-option label="V4会员" value="4"></el-option>
<el-option label="V5会员" value="5"></el-option>
<el-option label="V6会员" value="6"></el-option>
<el-option label="V7会员" value="7"></el-option>
<el-option label="V8会员" value="8"></el-option>
<el-option label="V9会员" value="9"></el-option>
</el-select>
</el-form-item>
<el-form-item label="汽油会员等级 1一级会员 2二级会员。。。。。。。" prop="gasolineUserLevel">
<el-input v-model="form.gasolineUserLevel" placeholder="请输入汽油会员等级 1一级会员 2二级会员。。。。。。。" />
<el-form-item label="汽油会员等级" prop="gasolineUserLevel">
<el-select v-model="form.gasolineUserLevel" multiple clearable placeholder="请选择汽油会员等级">
<el-option label="V1会员" value="1"></el-option>
<el-option label="V2会员" value="2"></el-option>
<el-option label="V3会员" value="3"></el-option>
<el-option label="V4会员" value="4"></el-option>
<el-option label="V5会员" value="5"></el-option>
<el-option label="V6会员" value="6"></el-option>
<el-option label="V7会员" value="7"></el-option>
<el-option label="V8会员" value="8"></el-option>
<el-option label="V9会员" value="9"></el-option>
</el-select>
</el-form-item>
<el-form-item label="天然气会员等级 1一级会员 2二级会员。。。。。。。" prop="naturalUserLevel">
<el-input v-model="form.naturalUserLevel" placeholder="请输入天然气会员等级 1一级会员 2二级会员。。。。。。。" />
<el-form-item label="天然气会员等级" prop="naturalUserLevel">
<el-select v-model="form.naturalUserLevel" multiple clearable placeholder="请选择天然气会员等级">
<el-option label="V1会员" value="1"></el-option>
<el-option label="V2会员" value="2"></el-option>
<el-option label="V3会员" value="3"></el-option>
<el-option label="V4会员" value="4"></el-option>
<el-option label="V5会员" value="5"></el-option>
<el-option label="V6会员" value="6"></el-option>
<el-option label="V7会员" value="7"></el-option>
<el-option label="V8会员" value="8"></el-option>
<el-option label="V9会员" value="9"></el-option>
</el-select>
</el-form-item>
<el-form-item label="参与条件 0不限制 1优惠订单不参与" prop="participationCondition">
<el-input v-model="form.participationCondition" placeholder="请输入参与条件 0不限制 1优惠订单不参与" />
<el-form-item label="参与条件" prop="participationCondition">
<el-select v-model="form.participationCondition" clearable placeholder="请选择天参与条件">
<el-option label="不限制" value="0"></el-option>
<el-option label="优惠订单不参与" value="1"></el-option>
</el-select>
</el-form-item>
<el-form-item label="参与次数类别0不限制 1限制" prop="participationAcount">
<el-input v-model="form.participationAcount" placeholder="请输入参与次数类别0不限制 1限制" />
<el-form-item label="参与次数类别" prop="participationAcount">
<el-select v-model="form.participationAcount" clearable placeholder="请选择参与次数类别">
<el-option label="不限制" value="0"></el-option>
<el-option label="限制" value="1"></el-option>
</el-select>
</el-form-item>
<el-form-item label="限制次数" prop="limitAcount">
<el-input v-model="form.limitAcount" placeholder="请输入限制次数" />
<el-form-item label="限制次数" prop="limitAcount" v-if="form.participationAcount ==1">
<el-input-number v-model="form.limitAcount" placeholder="请输入限制次数" />
</el-form-item>
<el-form-item label="是否在线 0在线 1 下线" prop="isonline">
<el-input v-model="form.isonline" placeholder="请输入是否在线 0在线 1 下线" />
<el-form-item label="是否上线" prop="isonline">
<el-select v-model="form.isonline" clearable placeholder="请选择参与次数类别">
<el-option label="上线" value="0"></el-option>
<el-option label="下线" value="1"></el-option>
</el-select>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
@ -281,6 +183,7 @@ export default {
name: "ActiveFullminus",
data() {
return {
oillist:['92#','95#','98#','0#','-10#','LNG','CNG','京92#','京95#','京0#',],
//
loading: true,
//
@ -336,8 +239,8 @@ export default {
getList() {
this.loading = true;
listActiveFullminus(this.queryParams).then(response => {
this.activeFullminusList = response.rows;
this.total = response.total;
this.activeFullminusList = response.data.records;
this.total = response.data.total;
this.loading = false;
});
},
@ -355,18 +258,19 @@ export default {
name: null,
activeStartTime: null,
activeEndTime: null,
adaptOil: null,
adaptOil: [],
adaptUserType: null,
memberType: null,
dieselUserLevel: null,
gasolineUserLevel: null,
naturalUserLevel: null,
dieselUserLevel: [],
gasolineUserLevel: [],
naturalUserLevel: [],
paymentType: null,
participationCondition: null,
participationAcount: null,
limitAcount: null,
status: null,
isonline: null,
status: 0,
isonline: 0,
activeDiscountChildList: [],
createBy: null,
createTime: null,
updateBy: null,

View File

@ -158,6 +158,7 @@ public class ActiveDiscountServiceImpl extends ServiceImpl<ActiveDiscountMapper,
*/
@Override
public Boolean updateOneById(ActiveDiscountDTO activeDiscountDTO) {
boolean update = false;
//更新折扣营销
ActiveDiscount activeDiscount = new ActiveDiscount();
BeanUtils.copyProperties(activeDiscountDTO,activeDiscount);
@ -168,7 +169,22 @@ public class ActiveDiscountServiceImpl extends ServiceImpl<ActiveDiscountMapper,
//天然气会员等级
activeDiscount.setNaturalUserLevel(arrayToString(activeDiscountDTO.getNaturalUserLevel()));
activeDiscount.setAdaptOil(arrayToString(activeDiscountDTO.getAdaptOil()));
return updateById(activeDiscount);
update = updateById(activeDiscount);
//更新子表数据
LambdaQueryWrapper<ActiveDiscountChild> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(ActiveDiscountChild::getActiveDiscountId,activeDiscountDTO.getId());
activeDiscountChildService.remove(queryWrapper);
//新增兑换物品
List<ActiveDiscountChild> activeDiscountChildList = activeDiscountDTO.getActiveDiscountChildList();
if (CollectionUtils.isNotEmpty(activeDiscountChildList)){
activeDiscountChildList.stream().map(s ->{
s.setActiveDiscountId(activeDiscount.getId());
return s;
}).collect(Collectors.toList());
update = activeDiscountChildService.saveBatch(activeDiscountChildList);
}
return update;
}
/**

View File

@ -152,6 +152,7 @@ public class ActiveFullminusServiceImpl extends ServiceImpl<ActiveFullminusMappe
@Override
public Boolean updateOneById(ActiveFullminusDTO activeFullminusDTO) {
boolean update = false;
//更新折扣营销
ActiveFullminus activeFullminus = new ActiveFullminus();
BeanUtils.copyProperties(activeFullminusDTO,activeFullminus);
@ -162,7 +163,22 @@ public class ActiveFullminusServiceImpl extends ServiceImpl<ActiveFullminusMappe
//天然气会员等级
activeFullminus.setNaturalUserLevel(arrayToString(activeFullminusDTO.getNaturalUserLevel()));
activeFullminus.setAdaptOil(arrayToString(activeFullminusDTO.getAdaptOil()));
return updateById(activeFullminus);
updateById(activeFullminus);
//更新子表数据
LambdaQueryWrapper<ActiveDiscountChild> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(ActiveDiscountChild::getActiveFullminusId,activeFullminusDTO.getId());
activeDiscountChildService.remove(queryWrapper);
//新增兑换物品
List<ActiveDiscountChild> activeDiscountChildList = activeFullminusDTO.getActiveDiscountChildList();
if (CollectionUtils.isNotEmpty(activeDiscountChildList)){
activeDiscountChildList.stream().map(s ->{
s.setActiveFullminusId(activeFullminus.getId());
return s;
}).collect(Collectors.toList());
update = activeDiscountChildService.saveBatch(activeDiscountChildList);
}
return update;
}
/**

View File

@ -22,8 +22,10 @@ public class ActiveNewlywedsChild extends Model<ActiveNewlywedsChild> {
private Integer id;
//新人有礼活动id
private Integer activeNewlywedsId;
//有礼奖励 0优惠券 1兑换券 2成长值 3积分
private String courtesyReward;
/**
* 活动奖品 0赠送积分1赠送优惠券 2. 赠送兑换券 3赠送成长值 4. 赠送实物
*/
private String activeGift;
//券id
private Integer vouchersId;
//赠送卡券名称
@ -34,6 +36,12 @@ public class ActiveNewlywedsChild extends Model<ActiveNewlywedsChild> {
private String giftCardDetail;
//券有效期
private Integer giftCardTime;
//有效期0
private Integer validityZero;
//有效期1
private Integer validityOne;
//有效期2
private Integer validityTwo;
//券数量
private Integer giftCardTotal;
//创建者
@ -47,6 +55,29 @@ public class ActiveNewlywedsChild extends Model<ActiveNewlywedsChild> {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTime;
public Integer getValidityZero() {
return validityZero;
}
public void setValidityZero(Integer validityZero) {
this.validityZero = validityZero;
}
public Integer getValidityOne() {
return validityOne;
}
public void setValidityOne(Integer validityOne) {
this.validityOne = validityOne;
}
public Integer getValidityTwo() {
return validityTwo;
}
public void setValidityTwo(Integer validityTwo) {
this.validityTwo = validityTwo;
}
public Integer getId() {
return id;
@ -64,12 +95,12 @@ public class ActiveNewlywedsChild extends Model<ActiveNewlywedsChild> {
this.activeNewlywedsId = activeNewlywedsId;
}
public String getCourtesyReward() {
return courtesyReward;
public String getActiveGift() {
return activeGift;
}
public void setCourtesyReward(String courtesyReward) {
this.courtesyReward = courtesyReward;
public void setActiveGift(String activeGift) {
this.activeGift = activeGift;
}
public Integer getVouchersId() {

View File

@ -15,6 +15,7 @@ import com.fuint.business.marketingActivity.activeNewlyweds.mapper.ActiveNewlywe
import com.fuint.business.marketingActivity.activeNewlyweds.entity.ActiveNewlyweds;
import com.fuint.business.marketingActivity.activeNewlyweds.service.ActiveNewlywedsChildService;
import com.fuint.business.marketingActivity.activeNewlyweds.service.ActiveNewlywedsService;
import com.fuint.business.marketingActivity.activeRecommend.entity.ActiveRecommendChild;
import com.fuint.business.store.service.StoreService;
import com.fuint.common.util.TokenUtil;
import org.apache.commons.lang3.ObjectUtils;
@ -145,12 +146,28 @@ public class ActiveNewlywedsServiceImpl extends ServiceImpl<ActiveNewlywedsMappe
*/
@Override
public Boolean updateOneById(ActiveNewlywedsDTO activeNewlywedsDTO) {
boolean update = false;
//更新新人有礼活动
ActiveNewlyweds activeNewlyweds = new ActiveNewlyweds();
BeanUtils.copyProperties(activeNewlywedsDTO,activeNewlyweds);
//奖励类型
activeNewlyweds.setCourtesyReward(arrayToString(activeNewlywedsDTO.getCourtesyReward()));
return updateById(activeNewlyweds);
update = updateById(activeNewlyweds);
//更新子表数据
LambdaQueryWrapper<ActiveNewlywedsChild> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(ActiveNewlywedsChild::getActiveNewlywedsId,activeNewlywedsDTO.getId());
activeNewlywedsChildService.remove(queryWrapper);
//新增兑换物品
List<ActiveNewlywedsChild> activeNewlywedsChildList = activeNewlywedsDTO.getActiveNewlywedsChildList();
if (CollectionUtils.isNotEmpty(activeNewlywedsChildList)){
activeNewlywedsChildList.stream().map(s ->{
s.setActiveNewlywedsId(activeNewlyweds.getId());
return s;
}).collect(Collectors.toList());
update = activeNewlywedsChildService.saveBatch(activeNewlywedsChildList);
}
return update;
}
/**

View File

@ -34,6 +34,8 @@ public class ActiveRecommendDTO extends Model<ActiveRecommendDTO> {
private String newuserGiftType;
//分享标题
private String title;
//分享图片
private String titleUrl;
//邀请二维码类型 0小程序二维码 1参数二维码
private String invitationCodeType;
//奖励显示 0优惠券 1成长值总额 2积分总额
@ -73,6 +75,14 @@ public class ActiveRecommendDTO extends Model<ActiveRecommendDTO> {
this.activeRecommendChildList = activeRecommendChildList;
}
public String getTitleUrl() {
return titleUrl;
}
public void setTitleUrl(String titleUrl) {
this.titleUrl = titleUrl;
}
public Integer getId() {
return id;
}

View File

@ -36,6 +36,8 @@ public class ActiveRecommend extends Model<ActiveRecommend> {
private String newuserGiftType;
//分享标题
private String title;
//分享图片
private String titleUrl;
//邀请二维码类型 0小程序二维码 1参数二维码
private String invitationCodeType;
//奖励显示 0优惠券 1成长值总额 2积分总额
@ -57,6 +59,13 @@ public class ActiveRecommend extends Model<ActiveRecommend> {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTime;
public String getTitleUrl() {
return titleUrl;
}
public void setTitleUrl(String titleUrl) {
this.titleUrl = titleUrl;
}
public Integer getId() {
return id;

View File

@ -22,8 +22,10 @@ public class ActiveRecommendChild extends Model<ActiveRecommendChild> {
private Integer id;
//推荐有礼活动id
private Integer activeRecommendId;
//邀请人获得 0优惠券 1兑换券 2成长值 3积分
private String inviterGiftType;
/**
* 活动奖品 0赠送积分1赠送优惠券 2. 赠送兑换券 3赠送成长值 4. 赠送实物
*/
private String activeGift;
//礼品对象类型 0邀请人获得 1新用户获得
private String giftUserType;
//券id
@ -36,6 +38,12 @@ public class ActiveRecommendChild extends Model<ActiveRecommendChild> {
private String giftCardDetail;
//券有效期
private Integer giftCardTime;
//有效期0
private Integer validityZero;
//有效期1
private Integer validityOne;
//有效期2
private Integer validityTwo;
//券数量
private Integer giftCardTotal;
//创建者
@ -49,6 +57,30 @@ public class ActiveRecommendChild extends Model<ActiveRecommendChild> {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTime;
public Integer getValidityZero() {
return validityZero;
}
public void setValidityZero(Integer validityZero) {
this.validityZero = validityZero;
}
public Integer getValidityOne() {
return validityOne;
}
public void setValidityOne(Integer validityOne) {
this.validityOne = validityOne;
}
public Integer getValidityTwo() {
return validityTwo;
}
public void setValidityTwo(Integer validityTwo) {
this.validityTwo = validityTwo;
}
public String getGiftUserType() {
return giftUserType;
}
@ -73,12 +105,12 @@ public class ActiveRecommendChild extends Model<ActiveRecommendChild> {
this.activeRecommendId = activeRecommendId;
}
public String getInviterGiftType() {
return inviterGiftType;
public String getActiveGift() {
return activeGift;
}
public void setInviterGiftType(String inviterGiftType) {
this.inviterGiftType = inviterGiftType;
public void setActiveGift(String activeGift) {
this.activeGift = activeGift;
}
public Integer getVouchersId() {

View File

@ -3,6 +3,7 @@ package com.fuint.business.marketingActivity.activeRecommend.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fuint.business.marketingActivity.activeDiscount.entity.ActiveDiscountChild;
import com.fuint.business.marketingActivity.activeNewlyweds.controller.vo.ActiveNewlywedsVO;
import com.fuint.business.marketingActivity.activeNewlyweds.entity.ActiveNewlyweds;
import com.fuint.business.marketingActivity.activeNewlyweds.entity.ActiveNewlywedsChild;
@ -47,6 +48,11 @@ public class ActiveRecommendServiceImpl extends ServiceImpl<ActiveRecommendMappe
@Transactional
public Boolean add(ActiveRecommendDTO activeRecommendDTO) {
boolean save = false;
//根据id查询
ActiveRecommendVO activeRecommendVO = getOneById(activeRecommendDTO.getId());
if (ObjectUtils.isNotEmpty(activeRecommendVO)){
save = this.updateOneById(activeRecommendDTO);
}else {
//获取当前店铺的id和连锁店id
if (ObjectUtils.isNotEmpty(TokenUtil.getNowAccountInfo().getStoreId())) {
activeRecommendDTO.setStoreId(TokenUtil.getNowAccountInfo().getStoreId());
@ -54,21 +60,22 @@ public class ActiveRecommendServiceImpl extends ServiceImpl<ActiveRecommendMappe
}
//新增推荐有礼模板
ActiveRecommend activeRecommend = new ActiveRecommend();
if (ObjectUtils.isNotEmpty(activeRecommendDTO)){
BeanUtils.copyProperties(activeRecommendDTO,activeRecommend);
if (ObjectUtils.isNotEmpty(activeRecommendDTO)) {
BeanUtils.copyProperties(activeRecommendDTO, activeRecommend);
//邀请人礼品类型
activeRecommend.setInviterGiftType(arrayToString(activeRecommendDTO.getInviterGiftType()));
save = save(activeRecommend);
}
//礼品
List<ActiveRecommendChild> list = activeRecommendDTO.getActiveRecommendChildList();
if (CollectionUtils.isNotEmpty(list)){
list.stream().map(s ->{
if (CollectionUtils.isNotEmpty(list)) {
list.stream().map(s -> {
s.setActiveRecommendId(activeRecommend.getId());
return s;
}).collect(Collectors.toList());
save = activeRecommendChildService.saveBatch(list);
}
}
return save;
}
@ -105,12 +112,28 @@ public class ActiveRecommendServiceImpl extends ServiceImpl<ActiveRecommendMappe
*/
@Override
public Boolean updateOneById(ActiveRecommendDTO activeRecommendDTO) {
boolean update = false;
//更新推荐有礼活动
ActiveRecommend activeRecommend = new ActiveRecommend();
BeanUtils.copyProperties(activeRecommendDTO,activeRecommend);
//柴油会员等级
activeRecommend.setInviterGiftType(arrayToString(activeRecommendDTO.getInviterGiftType()));
return updateById(activeRecommend);
update = updateById(activeRecommend);
//更新子表数据
LambdaQueryWrapper<ActiveRecommendChild> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(ActiveRecommendChild::getActiveRecommendId,activeRecommendDTO.getId());
activeRecommendChildService.remove(queryWrapper);
//新增兑换物品
List<ActiveRecommendChild> activeRecommendChildList = activeRecommendDTO.getActiveRecommendChildList();
if (CollectionUtils.isNotEmpty(activeRecommendChildList)){
activeRecommendChildList.stream().map(s ->{
s.setActiveRecommendId(activeRecommend.getId());
return s;
}).collect(Collectors.toList());
update = activeRecommendChildService.saveBatch(activeRecommendChildList);
}
return update;
}
/**

View File

@ -34,6 +34,8 @@ public class ActiveRecommendVO extends Model<ActiveRecommendVO> {
private String newuserGiftType;
//分享标题
private String title;
//分享图片
private String titleUrl;
//邀请二维码类型 0小程序二维码 1参数二维码
private String invitationCodeType;
//奖励显示 0优惠券 1成长值总额 2积分总额
@ -57,6 +59,14 @@ public class ActiveRecommendVO extends Model<ActiveRecommendVO> {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTime;
public String getTitleUrl() {
return titleUrl;
}
public void setTitleUrl(String titleUrl) {
this.titleUrl = titleUrl;
}
public String[] getInviterGiftType() {
return inviterGiftType;
}