Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
96af32a2dd
@ -384,7 +384,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- <div style="text-align: center;margin-bottom: 10px">赠送金额</div> -->
|
<!-- <div style="text-align: center;margin-bottom: 10px">赠送金额</div> -->
|
||||||
<div>
|
<div>
|
||||||
<el-input v-model="authCode" @keydown.enter.native="collection"
|
<el-input v-model="authCode"
|
||||||
|
v-focus ref="getFocus"
|
||||||
|
autofocus="autofocus"
|
||||||
|
@keydown.enter.native="collection"
|
||||||
placeholder="扫描或输入付款码、支持微信、支付宝、云闪付">
|
placeholder="扫描或输入付款码、支持微信、支付宝、云闪付">
|
||||||
<i
|
<i
|
||||||
slot="suffix">
|
slot="suffix">
|
||||||
@ -978,6 +981,19 @@ export default {
|
|||||||
this.selectOilType(this.oilTypeList[0].oilType);
|
this.selectOilType(this.oilTypeList[0].oilType);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
directives: {
|
||||||
|
// 注册一个局部的自定义指令 v-focus
|
||||||
|
focus: {
|
||||||
|
// 指令的定义
|
||||||
|
inserted: function (el) {
|
||||||
|
// 聚焦元素
|
||||||
|
el.querySelector('input').focus()
|
||||||
|
// this.$nextTick( () =>{
|
||||||
|
// this.$refs.getFocus.focus()
|
||||||
|
// })
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
this.id = this.$route.query.id;
|
this.id = this.$route.query.id;
|
||||||
this.getUserInfo();
|
this.getUserInfo();
|
||||||
|
@ -130,7 +130,7 @@
|
|||||||
@click="patchwork(scope.row)"
|
@click="patchwork(scope.row)"
|
||||||
type="primary" plain round>补打</el-button>
|
type="primary" plain round>补打</el-button>
|
||||||
<el-button style="width: 60px" size="mini"
|
<el-button style="width: 60px" size="mini"
|
||||||
v-if = "scope.row.status !== 'refund'"
|
v-if = "scope.row.status === 'paid'"
|
||||||
@click="handleRefund(scope.row.id)"
|
@click="handleRefund(scope.row.id)"
|
||||||
type="danger" plain round>退款</el-button>
|
type="danger" plain round>退款</el-button>
|
||||||
</template>
|
</template>
|
||||||
@ -230,6 +230,8 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 订单退款-->
|
<!-- 订单退款-->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
:close-on-click-modal="false"
|
||||||
|
|
||||||
title="订单退款"
|
title="订单退款"
|
||||||
width="25%"
|
width="25%"
|
||||||
:visible.sync="dialogRefund">
|
:visible.sync="dialogRefund">
|
||||||
@ -247,7 +249,7 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-input placeholder="请输入退款原因" v-model="refundRemark" show-password></el-input>
|
<el-input placeholder="请输入退款原因" v-model="refundRemark" ></el-input>
|
||||||
<br/>
|
<br/>
|
||||||
<span style="color: grey;font-size: 12px">退款仅支持全额退款,退款金额将按照支付信息原路退回、优惠券、储值卡等原路退回处理</span>
|
<span style="color: grey;font-size: 12px">退款仅支持全额退款,退款金额将按照支付信息原路退回、优惠券、储值卡等原路退回处理</span>
|
||||||
</div>
|
</div>
|
||||||
@ -394,6 +396,9 @@ import {refundApi} from "@/api/order/refund";
|
|||||||
type: "canRefund"
|
type: "canRefund"
|
||||||
}
|
}
|
||||||
refundApi(map).then(res=>{
|
refundApi(map).then(res=>{
|
||||||
|
// if() {
|
||||||
|
//
|
||||||
|
// }
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
message: '退款成功'
|
message: '退款成功'
|
||||||
|
@ -158,7 +158,7 @@
|
|||||||
<el-table-column label="操作" align="center" width="300" class-name="small-padding fixed-width">
|
<el-table-column label="操作" align="center" width="300" class-name="small-padding fixed-width">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button style="width: 60px" size="mini"
|
<el-button style="width: 60px" size="mini"
|
||||||
v-if = "scope.row.status !== 'refund'"
|
v-if = "scope.row.status === 'paid'"
|
||||||
@click="handleRefund(scope.row.id)"
|
@click="handleRefund(scope.row.id)"
|
||||||
type="danger" plain round>退款</el-button>
|
type="danger" plain round>退款</el-button>
|
||||||
</template>
|
</template>
|
||||||
@ -180,6 +180,8 @@
|
|||||||
|
|
||||||
<!-- 订单退款-->
|
<!-- 订单退款-->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
:close-on-click-modal="false"
|
||||||
|
|
||||||
title="订单退款"
|
title="订单退款"
|
||||||
width="25%"
|
width="25%"
|
||||||
:visible.sync="dialogRefund">
|
:visible.sync="dialogRefund">
|
||||||
@ -197,7 +199,7 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-input placeholder="请输入退款原因" v-model="refundRemark" show-password></el-input>
|
<el-input placeholder="请输入退款原因" v-model="refundRemark" ></el-input>
|
||||||
<br/>
|
<br/>
|
||||||
<span style="color: grey;font-size: 12px">退款仅支持全额退款,退款金额将按照支付信息原路退回、优惠券、储值卡等原路退回处理</span>
|
<span style="color: grey;font-size: 12px">退款仅支持全额退款,退款金额将按照支付信息原路退回、优惠券、储值卡等原路退回处理</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -208,7 +208,7 @@
|
|||||||
type="primary" plain round>补打</el-button>
|
type="primary" plain round>补打</el-button>
|
||||||
<el-button style="width: 60px" size="mini"
|
<el-button style="width: 60px" size="mini"
|
||||||
@click="handleRefund(scope.row.id)"
|
@click="handleRefund(scope.row.id)"
|
||||||
v-if = "scope.row.status !== 'refund'"
|
v-if = "scope.row.status === 'paid'"
|
||||||
type="danger" plain round>退款</el-button>
|
type="danger" plain round>退款</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@ -229,6 +229,7 @@
|
|||||||
|
|
||||||
<!-- 订单退款-->
|
<!-- 订单退款-->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
:close-on-click-modal="false"
|
||||||
title="订单退款"
|
title="订单退款"
|
||||||
width="25%"
|
width="25%"
|
||||||
:visible.sync="dialogRefund">
|
:visible.sync="dialogRefund">
|
||||||
@ -246,7 +247,7 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-input placeholder="请输入退款原因" v-model="refundRemark" show-password></el-input>
|
<el-input placeholder="请输入退款原因" v-model="refundRemark" ></el-input>
|
||||||
<br/>
|
<br/>
|
||||||
<span style="color: grey;font-size: 12px">退款仅支持全额退款,退款金额将按照支付信息原路退回、优惠券、储值卡等原路退回处理</span>
|
<span style="color: grey;font-size: 12px">退款仅支持全额退款,退款金额将按照支付信息原路退回、优惠券、储值卡等原路退回处理</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -92,58 +92,47 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column prop="terminal" label="终端" width="100">
|
||||||
prop="terminal"
|
|
||||||
label="终端"
|
|
||||||
width="100">
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{getType(terminalList,scope.row.terminal)}}</span>
|
<span>{{getType(terminalList,scope.row.terminal)}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column prop="orderNo" label="订单号" width="220"> </el-table-column>
|
||||||
prop="orderNo"
|
<el-table-column label="订单信息" align="center">
|
||||||
label="订单号"
|
<el-table-column prop="oilGunNum" label="油品/油枪" align="center" width="120">
|
||||||
width="220">
|
<template slot-scope="props">
|
||||||
</el-table-column>
|
<span>{{ getName(oilNameList,props.row.oils) }}/{{ getName1(oilGunList,props.row.oilGunNum) }}</span>
|
||||||
<el-table-column
|
</template>
|
||||||
prop="amount"
|
|
||||||
label="订单金额">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="payAmount"
|
|
||||||
label="实付金额">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="订单金额组成">
|
|
||||||
<el-table-column
|
|
||||||
prop="oilOrderAmount"
|
|
||||||
label="油品金额">
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column prop="orderAmount" label="订单金额" align="center" width="120"> </el-table-column>
|
||||||
prop="goodsOrderAmount"
|
<el-table-column prop="discountAmount" label="优惠金额" align="center" width="120"> </el-table-column>
|
||||||
label="商品金额">
|
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="付款信息" align="center">
|
||||||
|
<el-table-column prop="payAmount" label="实付金额" align="center" width="120"> </el-table-column>
|
||||||
|
<el-table-column prop="payUser" label="付款用户" align="center" > </el-table-column>
|
||||||
|
<el-table-column prop="payType" label="付款方式" align="center" width="120">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{getType(payList,scope.row.payType)}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="orderStatus" label="付款状态" align="center" width="120">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-tag v-if="scope.row.orderStatus === 'unpaid'">未支付</el-tag>
|
||||||
|
<el-tag type="success" v-else-if="scope.row.orderStatus === 'paid'">已支付</el-tag>
|
||||||
|
<el-tag type="danger" v-else-if="scope.row.orderStatus === 'refund'">已退款</el-tag>
|
||||||
|
<el-tag type="danger" v-else>支付失败</el-tag>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column prop="invoicing" label="开票标识" align="center" > </el-table-column>
|
||||||
|
|
||||||
<el-table-column
|
|
||||||
prop="payUser"
|
|
||||||
label="付款用户">
|
|
||||||
</el-table-column>
|
|
||||||
|
|
||||||
<el-table-column
|
|
||||||
prop="status"
|
|
||||||
label="状态">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<el-tag v-if="scope.row.status == 'unpaid'">未支付</el-tag>
|
|
||||||
<el-tag type="success" v-else-if="scope.row.status == 'paid'">已支付</el-tag>
|
|
||||||
<el-tag type="danger" v-else>支付失败</el-tag>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="交易时间" align="center" width="160" prop="payTime">
|
<el-table-column label="交易时间" align="center" width="160" prop="payTime">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.payTime ? parseTime(scope.row.payTime):"--" }}</span>
|
<span>{{ scope.row.payTime ? parseTime(scope.row.payTime):"--" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="300" class-name="small-padding fixed-width">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- <el-button style="width: 60px" size="mini"-->
|
<!-- <el-button style="width: 60px" size="mini"-->
|
||||||
<!-- @click="getOrdersInfo(scope.row.id)"-->
|
<!-- @click="getOrdersInfo(scope.row.id)"-->
|
||||||
@ -220,6 +209,9 @@ import {cashierOrder, listCashierOrder,orderStatisticsApi} from "@/api/order/cas
|
|||||||
import {getDicts} from "@/api/order/data";
|
import {getDicts} from "@/api/order/data";
|
||||||
import {queryStaffs} from "@/api/order/staff";
|
import {queryStaffs} from "@/api/order/staff";
|
||||||
import { exportExcelCashierApi } from "@/api/order/exportExcel";
|
import { exportExcelCashierApi } from "@/api/order/exportExcel";
|
||||||
|
import {listOilOrder} from "@/api/order/oilorder";
|
||||||
|
import {getOilNumberGun} from "@/api/oilConfig/oilGuns";
|
||||||
|
import {getOilNameList} from "@/api/order/oilnumgun";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "order_Cashier",
|
name: "order_Cashier",
|
||||||
@ -260,6 +252,9 @@ import { exportExcelCashierApi } from "@/api/order/exportExcel";
|
|||||||
theTotalAmountOfOil:'0',
|
theTotalAmountOfOil:'0',
|
||||||
theTotalAmountOfTheItem:'0',
|
theTotalAmountOfTheItem:'0',
|
||||||
},
|
},
|
||||||
|
oilNameList:[],
|
||||||
|
oilGunList:[],
|
||||||
|
payList:[],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@ -267,8 +262,58 @@ import { exportExcelCashierApi } from "@/api/order/exportExcel";
|
|||||||
this.getOrderStatistics();
|
this.getOrderStatistics();
|
||||||
|
|
||||||
this.getTerList();
|
this.getTerList();
|
||||||
|
this.getOilNameGun();
|
||||||
|
this.getOilGunList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 获取油号名称
|
||||||
|
getName(oilNameList,id){
|
||||||
|
let name = ""
|
||||||
|
let _this = this;
|
||||||
|
if(oilNameList!=null && oilNameList!=""){
|
||||||
|
oilNameList.forEach(item => {
|
||||||
|
if (item.id == id){
|
||||||
|
name = item.oilName;
|
||||||
|
_this.oilType = item.oilType;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
return name;
|
||||||
|
},
|
||||||
|
// 获取油枪名称
|
||||||
|
getName1(oilNameList,id){
|
||||||
|
let name = ""
|
||||||
|
let _this = this;
|
||||||
|
if(oilNameList!=null && oilNameList!=""){
|
||||||
|
oilNameList.forEach(item => {
|
||||||
|
if (item.id == id){
|
||||||
|
name = item.gunName;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
return name;
|
||||||
|
},
|
||||||
|
getOilNameGun(){
|
||||||
|
getOilNameList().then( response => {
|
||||||
|
this.oilNameList = response.data;
|
||||||
|
})
|
||||||
|
getDicts("payment_type").then( response => {
|
||||||
|
this.payList = response.data;
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 获取油枪信息
|
||||||
|
getOilGunList(){
|
||||||
|
getOilNumberGun().then(res => {
|
||||||
|
res.data.forEach(item => {
|
||||||
|
if (item.oilGunList.length>0){
|
||||||
|
item.oilGunList.forEach(i => {
|
||||||
|
i.oilName = item.oilName
|
||||||
|
this.oilGunList.push(i)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
exportExcelApplet() {
|
exportExcelApplet() {
|
||||||
exportExcelCashierApi(this.addDateRange(this.queryParams, this.dateRange)).then(res=>{
|
exportExcelCashierApi(this.addDateRange(this.queryParams, this.dateRange)).then(res=>{
|
||||||
const blob = new Blob([res], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' });
|
const blob = new Blob([res], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' });
|
||||||
@ -341,7 +386,7 @@ import { exportExcelCashierApi } from "@/api/order/exportExcel";
|
|||||||
this.queryParams.page = val
|
this.queryParams.page = val
|
||||||
}
|
}
|
||||||
console.log("123123123",this.queryParams)
|
console.log("123123123",this.queryParams)
|
||||||
listCashierOrder(this.addDateRange(this.queryParams, this.dateRange)).then( response => {
|
listOilOrder(this.addDateRange(this.queryParams, this.dateRange)).then( response => {
|
||||||
this.list = response.data.records;
|
this.list = response.data.records;
|
||||||
this.total = response.data.total;
|
this.total = response.data.total;
|
||||||
})
|
})
|
||||||
|
@ -157,6 +157,7 @@
|
|||||||
:value="item.dutyId+''"
|
:value="item.dutyId+''"
|
||||||
></el-option>
|
></el-option>
|
||||||
<el-option
|
<el-option
|
||||||
|
v-if="form.roleId == 12"
|
||||||
label="油站站长"
|
label="油站站长"
|
||||||
:value="12+''"
|
:value="12+''"
|
||||||
></el-option>
|
></el-option>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
clearable
|
clearable
|
||||||
placeholder="全部"
|
placeholder="全部"
|
||||||
>
|
>
|
||||||
<el-option v-for="item in staffList" :key="item.id" :label="item.realName" :value="item.id">
|
<el-option v-for="item in staffList" :key="item.id" :label="item.realName" :value="item.id+''">
|
||||||
<span style="float: left">{{ item.realName }}</span>
|
<span style="float: left">{{ item.realName }}</span>
|
||||||
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.mobile }}</span>
|
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.mobile }}</span>
|
||||||
</el-option>
|
</el-option>
|
||||||
@ -123,10 +123,10 @@
|
|||||||
@sort-change="handleSortChange">
|
@sort-change="handleSortChange">
|
||||||
<el-table-column label="ID" prop="id" align="center" width="60"/>
|
<el-table-column label="ID" prop="id" align="center" width="60"/>
|
||||||
<el-table-column label="方案名称" prop="name" align="center"/>
|
<el-table-column label="方案名称" prop="name" align="center"/>
|
||||||
<el-table-column label="员工角色" prop="dutyName" align="center">
|
<el-table-column label="员工角色" prop="staffRoleGroup" align="center">
|
||||||
<!-- <template slot-scope="scope">-->
|
<template slot-scope="scope">
|
||||||
<!-- <dict-tag :options="dict.type.staff_role" :value="scope.row.staffRoleGroup"/>-->
|
<span>{{scope.row.staffRoleGroup ? getStaffDuty(roleList,scope.row.staffRoleGroup) : "--"}}</span>
|
||||||
<!-- </template>-->
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="提成来源" prop="commissionSource" align="center" />
|
<el-table-column label="提成来源" prop="commissionSource" align="center" />
|
||||||
<el-table-column label="满足条件" prop="meetCondition" align="center" width="260">
|
<el-table-column label="满足条件" prop="meetCondition" align="center" width="260">
|
||||||
@ -213,13 +213,16 @@
|
|||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="角色组" prop="staffRoleGroup">
|
<el-form-item label="角色组" prop="staffRoleGroup">
|
||||||
<el-select v-model="form.staffRoleGroup" placeholder="请选择所属角色">
|
<el-select v-model="staffRoleGroup"
|
||||||
|
placeholder="请选择所属角色"
|
||||||
|
@change="getCheckbox">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in roleList"
|
v-for="(item,index) in roleList"
|
||||||
:key="item.dutyId+''"
|
:key="index"
|
||||||
:label="item.dutyName"
|
:label="item.dutyName"
|
||||||
:value="item.dutyId+''"
|
:value="item.dutyId"
|
||||||
></el-option>
|
></el-option>
|
||||||
|
<!-- :value="item.dutyId"-->
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -301,7 +304,7 @@ import {listDuty} from "@/api/staff/duty";
|
|||||||
import {queryStaffs} from "@/api/order/staff";
|
import {queryStaffs} from "@/api/order/staff";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
dicts: ['source','role','zhzt','comissionType','staff_role'],
|
dicts: ['source','role','zhzt','comissionType'],
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
// 提成总额
|
// 提成总额
|
||||||
@ -347,6 +350,7 @@ export default {
|
|||||||
// 显示搜索条件
|
// 显示搜索条件
|
||||||
showSearch: true,
|
showSearch: true,
|
||||||
roleList:[],
|
roleList:[],
|
||||||
|
staffRoleGroup:[],
|
||||||
// 表单校验
|
// 表单校验
|
||||||
rules: {
|
rules: {
|
||||||
name: [
|
name: [
|
||||||
@ -378,10 +382,24 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList();
|
this.getList();
|
||||||
this.getDuty();
|
|
||||||
this.getStaffList();
|
this.getStaffList();
|
||||||
|
this.getDuty();
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
getStaffDuty(list,ids){
|
||||||
|
let id = ids.split(",")
|
||||||
|
let name = ""
|
||||||
|
let dutyName = ""
|
||||||
|
list.forEach(item => {
|
||||||
|
id.forEach(i => {
|
||||||
|
if (item.dutyId=i){
|
||||||
|
name = item.dutyName
|
||||||
|
}
|
||||||
|
dutyName += name +","
|
||||||
|
})
|
||||||
|
})
|
||||||
|
return name
|
||||||
|
},
|
||||||
getStaffList(){
|
getStaffList(){
|
||||||
queryStaffs().then( response => {
|
queryStaffs().then( response => {
|
||||||
this.staffList = response.data;
|
this.staffList = response.data;
|
||||||
@ -425,7 +443,9 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getCheckbox(){
|
getCheckbox(){
|
||||||
this.form.commissionSource = this.commissionSource.toString()
|
console.log(this.staffRoleGroup)
|
||||||
|
// this.form.commissionSource = this.commissionSource.toString()
|
||||||
|
this.form.staffRoleGroup = this.staffRoleGroup.toString()
|
||||||
},
|
},
|
||||||
// 查询列表
|
// 查询列表
|
||||||
getList() {
|
getList() {
|
||||||
@ -453,6 +473,7 @@ export default {
|
|||||||
// 表单重置
|
// 表单重置
|
||||||
reset() {
|
reset() {
|
||||||
this.resetForm("form");
|
this.resetForm("form");
|
||||||
|
this.staffRoleGroup = []
|
||||||
if (this.activeName == 'oil'){
|
if (this.activeName == 'oil'){
|
||||||
this.form = {
|
this.form = {
|
||||||
type:'orderAmount',
|
type:'orderAmount',
|
||||||
@ -484,6 +505,9 @@ export default {
|
|||||||
this.form.royaltyRate = this.form.royaltyRate.slice(0,this.form.royaltyRate.length-1)
|
this.form.royaltyRate = this.form.royaltyRate.slice(0,this.form.royaltyRate.length-1)
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "编辑提成方案";
|
this.title = "编辑提成方案";
|
||||||
|
if (response.data.staffRoleGroup){
|
||||||
|
this.staffRoleGroup = response.data.staffRoleGroup.split(",");
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -524,8 +548,9 @@ export default {
|
|||||||
submitForm: function() {
|
submitForm: function() {
|
||||||
this.$refs["form"].validate(valid => {
|
this.$refs["form"].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.form.royaltyRate = this.form.royaltyRate + this.select
|
||||||
|
this.form.staffRoleGroup = this.staffRoleGroup.toString()
|
||||||
if (this.form.id) {
|
if (this.form.id) {
|
||||||
this.form.royaltyRate = this.form.royaltyRate + this.select
|
|
||||||
updateCommission(this.form).then(response => {
|
updateCommission(this.form).then(response => {
|
||||||
if (response.data==1){
|
if (response.data==1){
|
||||||
this.$modal.msgSuccess("提成方案更新成功");
|
this.$modal.msgSuccess("提成方案更新成功");
|
||||||
@ -536,7 +561,6 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.form.royaltyRate = this.form.royaltyRate + this.select
|
|
||||||
addCommission(this.form).then(response => {
|
addCommission(this.form).then(response => {
|
||||||
if (response.data==1) {
|
if (response.data==1) {
|
||||||
this.$modal.msgSuccess("提成方案新增成功");
|
this.$modal.msgSuccess("提成方案新增成功");
|
||||||
@ -573,7 +597,7 @@ export default {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.app-container{
|
.app-container{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 100%;
|
||||||
background: #f6f8f9;
|
background: #f6f8f9;
|
||||||
}
|
}
|
||||||
.clearfix{
|
.clearfix{
|
||||||
|
@ -581,7 +581,6 @@ export default {
|
|||||||
// 是否开启等级功能
|
// 是否开启等级功能
|
||||||
getISEnableLevel(){
|
getISEnableLevel(){
|
||||||
getChainStoreConfig().then(response => {
|
getChainStoreConfig().then(response => {
|
||||||
// console.log(response)
|
|
||||||
this.isEnableLevel = response.data.isEnableLevel;
|
this.isEnableLevel = response.data.isEnableLevel;
|
||||||
this.clear = response.data.isMonthClear;
|
this.clear = response.data.isMonthClear;
|
||||||
if (response.data.gasGrowthValue){
|
if (response.data.gasGrowthValue){
|
||||||
|
@ -74,12 +74,13 @@ export function resetUserPwd(userId, password) {
|
|||||||
password
|
password
|
||||||
}
|
}
|
||||||
return request({
|
return request({
|
||||||
url: '/system/user/resetPwd',
|
url: '/backendApi/account/resetPwd',
|
||||||
method: 'put',
|
method: 'post',
|
||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// url: '/system/user/resetPwd',
|
||||||
|
//
|
||||||
// 用户状态修改
|
// 用户状态修改
|
||||||
export function changeUserStatus(userId, status) {
|
export function changeUserStatus(userId, status) {
|
||||||
const data = {
|
const data = {
|
||||||
|
@ -110,85 +110,93 @@ public class StaffCommissionServiceImpl extends ServiceImpl<StaffCommissionMappe
|
|||||||
if (list.size()>0 && ObjectUtil.isNotEmpty(staff)){
|
if (list.size()>0 && ObjectUtil.isNotEmpty(staff)){
|
||||||
for (StaffCommission staffCommission : list) {
|
for (StaffCommission staffCommission : list) {
|
||||||
CommissionRecord commissionRecord = new CommissionRecord();
|
CommissionRecord commissionRecord = new CommissionRecord();
|
||||||
if (type.equals("1") && staffCommission.getCommissionSource().equals("油品")
|
String[] staffRoleGroups = staffCommission.getStaffRoleGroup().split(",");
|
||||||
&& staff.getRoleId().equals(staffCommission.getStaffRoleGroup())){
|
if (type.equals("1") && staffCommission.getCommissionSource().equals("油品")){
|
||||||
commissionRecord.setStaffId(staffId);
|
for (String staffRoleGroup : staffRoleGroups) {
|
||||||
commissionRecord.setStoreId(storeId);
|
if (staff.getRoleId().equals(staffRoleGroup)){
|
||||||
commissionRecord.setType(type);
|
commissionRecord.setStaffId(staffId);
|
||||||
commissionRecord.setDescription(staffCommission.getCommissionSource()+"订单出售提成");
|
commissionRecord.setStoreId(storeId);
|
||||||
commissionRecord.setOrderNo(orderNo);
|
commissionRecord.setType(type);
|
||||||
Double royaltyRate = Double.valueOf(staffCommission.getRoyaltyRate().substring(0,staffCommission.getRoyaltyRate().length()-1));
|
commissionRecord.setDescription(staffCommission.getCommissionSource()+"订单出售提成");
|
||||||
String unit = staffCommission.getRoyaltyRate().substring(staffCommission.getRoyaltyRate().length()-1);
|
commissionRecord.setOrderNo(orderNo);
|
||||||
|
Double royaltyRate = Double.valueOf(staffCommission.getRoyaltyRate().substring(0,staffCommission.getRoyaltyRate().length()-1));
|
||||||
|
String unit = staffCommission.getRoyaltyRate().substring(staffCommission.getRoyaltyRate().length()-1);
|
||||||
// 按照订单金额计算提成
|
// 按照订单金额计算提成
|
||||||
if (staffCommission.getType().equals("orderAmount")){
|
if (staffCommission.getType().equals("orderAmount")){
|
||||||
if (amount>=Double.valueOf(staffCommission.getMeetCondition())){
|
if (amount>=Double.valueOf(staffCommission.getMeetCondition())){
|
||||||
if (unit.equals("元")){
|
if (unit.equals("元")){
|
||||||
commissionRecord.setAmount(royaltyRate);
|
commissionRecord.setAmount(royaltyRate);
|
||||||
|
}
|
||||||
|
if (unit.equals("%")){
|
||||||
|
commissionRecord.setAmount(amount*(royaltyRate/100));
|
||||||
|
}
|
||||||
|
commissionRecordService.insertRecord(commissionRecord);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (unit.equals("%")){
|
|
||||||
commissionRecord.setAmount(amount*(royaltyRate/100));
|
|
||||||
}
|
|
||||||
commissionRecordService.insertRecord(commissionRecord);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// 按照实付金额计算提成
|
// 按照实付金额计算提成
|
||||||
if (staffCommission.getType().equals("payAmount")){
|
if (staffCommission.getType().equals("payAmount")){
|
||||||
if (payAmount>=Double.valueOf(staffCommission.getMeetCondition())){
|
if (payAmount>=Double.valueOf(staffCommission.getMeetCondition())){
|
||||||
if (unit.equals("元")){
|
if (unit.equals("元")){
|
||||||
commissionRecord.setAmount(royaltyRate);
|
commissionRecord.setAmount(royaltyRate);
|
||||||
|
}
|
||||||
|
if (unit.equals("%")){
|
||||||
|
commissionRecord.setAmount(payAmount*(royaltyRate/100));
|
||||||
|
}
|
||||||
|
commissionRecordService.insertRecord(commissionRecord);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (unit.equals("%")){
|
|
||||||
commissionRecord.setAmount(payAmount*(royaltyRate/100));
|
|
||||||
}
|
|
||||||
commissionRecordService.insertRecord(commissionRecord);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// 按照加油数量计算提成
|
// 按照加油数量计算提成
|
||||||
if (staffCommission.getType().equals("refuleNum")){
|
if (staffCommission.getType().equals("refuleNum")){
|
||||||
if (oilLiters>=Double.valueOf(staffCommission.getMeetCondition())){
|
if (oilLiters>=Double.valueOf(staffCommission.getMeetCondition())){
|
||||||
if (unit.equals("元")){
|
if (unit.equals("元")){
|
||||||
commissionRecord.setAmount(royaltyRate);
|
commissionRecord.setAmount(royaltyRate);
|
||||||
|
}
|
||||||
|
if (unit.equals("%")){
|
||||||
|
commissionRecord.setAmount(oilLiters*(royaltyRate/100));
|
||||||
|
}
|
||||||
|
commissionRecordService.insertRecord(commissionRecord);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (unit.equals("%")){
|
}
|
||||||
commissionRecord.setAmount(oilLiters*(royaltyRate/100));
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
if (type.equals("2") && staffCommission.getCommissionSource().equals("非油品")){
|
||||||
|
for (String staffRoleGroup : staffRoleGroups) {
|
||||||
|
if (staff.getRoleId().equals(staffRoleGroup)) {
|
||||||
|
commissionRecord.setStaffId(staffId);
|
||||||
|
commissionRecord.setStoreId(storeId);
|
||||||
|
commissionRecord.setType(staffCommission.getCommissionSource() + "订单出售");
|
||||||
|
commissionRecord.setDescription(staffCommission.getCommissionSource() + "订单出售提成");
|
||||||
|
commissionRecord.setOrderNo(orderNo);
|
||||||
|
Double royaltyRate = Double.valueOf(staffCommission.getRoyaltyRate().substring(0, staffCommission.getRoyaltyRate().length() - 1));
|
||||||
|
String unit = staffCommission.getRoyaltyRate().substring(staffCommission.getRoyaltyRate().length() - 1);
|
||||||
|
// 按照订单金额计算提成
|
||||||
|
if (staffCommission.getType().equals("orderAmount")) {
|
||||||
|
if (amount >= Double.valueOf(staffCommission.getMeetCondition())) {
|
||||||
|
if (unit.equals("元")) {
|
||||||
|
commissionRecord.setAmount(royaltyRate);
|
||||||
|
}
|
||||||
|
if (unit.equals("%")) {
|
||||||
|
commissionRecord.setAmount(amount * (royaltyRate / 100));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 按照实付金额计算提成
|
||||||
|
if (staffCommission.getType().equals("payAmount")) {
|
||||||
|
if (payAmount >= Double.valueOf(staffCommission.getMeetCondition())) {
|
||||||
|
if (unit.equals("元")) {
|
||||||
|
commissionRecord.setAmount(royaltyRate);
|
||||||
|
}
|
||||||
|
if (unit.equals("%")) {
|
||||||
|
commissionRecord.setAmount(payAmount * (royaltyRate / 100));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
commissionRecordService.insertRecord(commissionRecord);
|
commissionRecordService.insertRecord(commissionRecord);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (type.equals("2") && staffCommission.getCommissionSource().equals("非油品")
|
|
||||||
&& staff.getRoleId().equals(staffCommission.getStaffRoleGroup())){
|
|
||||||
commissionRecord.setStaffId(staffId);
|
|
||||||
commissionRecord.setStoreId(storeId);
|
|
||||||
commissionRecord.setType(staffCommission.getCommissionSource()+"订单出售");
|
|
||||||
commissionRecord.setDescription(staffCommission.getCommissionSource()+"订单出售提成");
|
|
||||||
commissionRecord.setOrderNo(orderNo);
|
|
||||||
Double royaltyRate = Double.valueOf(staffCommission.getRoyaltyRate().substring(0,staffCommission.getRoyaltyRate().length()-1));
|
|
||||||
String unit = staffCommission.getRoyaltyRate().substring(staffCommission.getRoyaltyRate().length()-1);
|
|
||||||
// 按照订单金额计算提成
|
|
||||||
if (staffCommission.getType().equals("orderAmount")){
|
|
||||||
if (amount>=Double.valueOf(staffCommission.getMeetCondition())){
|
|
||||||
if (unit.equals("元")){
|
|
||||||
commissionRecord.setAmount(royaltyRate);
|
|
||||||
}
|
|
||||||
if (unit.equals("%")){
|
|
||||||
commissionRecord.setAmount(amount*(royaltyRate/100));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// 按照实付金额计算提成
|
|
||||||
if (staffCommission.getType().equals("payAmount")){
|
|
||||||
if (payAmount>=Double.valueOf(staffCommission.getMeetCondition())){
|
|
||||||
if (unit.equals("元")){
|
|
||||||
commissionRecord.setAmount(royaltyRate);
|
|
||||||
}
|
|
||||||
if (unit.equals("%")){
|
|
||||||
commissionRecord.setAmount(payAmount*(royaltyRate/100));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
commissionRecordService.insertRecord(commissionRecord);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package com.fuint.business.convenienceSore.entity;
|
package com.fuint.business.convenienceSore.entity;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fuint.framework.entity.BaseEntity;
|
import com.fuint.framework.entity.BaseEntity;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ -30,6 +31,7 @@ public class MtDamage extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 制单日期
|
* 制单日期
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date orderDate;
|
private Date orderDate;
|
||||||
/**
|
/**
|
||||||
* 审核人
|
* 审核人
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package com.fuint.business.convenienceSore.entity;
|
package com.fuint.business.convenienceSore.entity;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fuint.framework.entity.BaseEntity;
|
import com.fuint.framework.entity.BaseEntity;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ -30,6 +31,7 @@ public class MtInventory extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 制单日期
|
* 制单日期
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date orderDate;
|
private Date orderDate;
|
||||||
/**
|
/**
|
||||||
* 审核人
|
* 审核人
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package com.fuint.business.convenienceSore.entity;
|
package com.fuint.business.convenienceSore.entity;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fuint.framework.entity.BaseEntity;
|
import com.fuint.framework.entity.BaseEntity;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ -30,6 +31,7 @@ public class MtPurchase extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 制单日期
|
* 制单日期
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date orderDate;
|
private Date orderDate;
|
||||||
/**
|
/**
|
||||||
* 审核人
|
* 审核人
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package com.fuint.business.convenienceSore.entity;
|
package com.fuint.business.convenienceSore.entity;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fuint.framework.entity.BaseEntity;
|
import com.fuint.framework.entity.BaseEntity;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ -30,6 +31,7 @@ public class MtReturns extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 制单日期
|
* 制单日期
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date orderDate;
|
private Date orderDate;
|
||||||
/**
|
/**
|
||||||
* 审核人
|
* 审核人
|
||||||
|
@ -2,6 +2,7 @@ package com.fuint.business.convenienceSore.vo;
|
|||||||
|
|
||||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||||
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fuint.framework.entity.BaseEntity;
|
import com.fuint.framework.entity.BaseEntity;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@ -46,5 +47,6 @@ public class SaleStatisticVo extends BaseEntity {
|
|||||||
private Double profitTotal;
|
private Double profitTotal;
|
||||||
// 销售时间
|
// 销售时间
|
||||||
@ExcelProperty(value = "销售时间")
|
@ExcelProperty(value = "销售时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
}
|
}
|
||||||
|
@ -27,10 +27,10 @@ public class ActiveConsumptionDTO extends Model<ActiveConsumptionDTO> {
|
|||||||
//满足金额
|
//满足金额
|
||||||
private String participationConditionMoney;
|
private String participationConditionMoney;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
||||||
private String[] adaptOil;
|
private String[] adaptOil;
|
||||||
@ -83,12 +83,12 @@ public class ActiveConsumptionDTO extends Model<ActiveConsumptionDTO> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public String getParticipationConditionMoney() {
|
public String getParticipationConditionMoney() {
|
||||||
|
@ -33,10 +33,10 @@ public class ActiveConsumption extends Model<ActiveConsumption> {
|
|||||||
//满足金额
|
//满足金额
|
||||||
private Double participationConditionMoney;
|
private Double participationConditionMoney;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
||||||
private String adaptOil;
|
private String adaptOil;
|
||||||
@ -69,12 +69,12 @@ public class ActiveConsumption extends Model<ActiveConsumption> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@ package com.fuint.business.marketingActivity.activeConsumption.entity;
|
|||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@ -71,6 +72,7 @@ public class ActiveConsumptionChild {
|
|||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
/**
|
/**
|
||||||
* 更新者
|
* 更新者
|
||||||
@ -79,6 +81,7 @@ public class ActiveConsumptionChild {
|
|||||||
/**
|
/**
|
||||||
* 更新时间
|
* 更新时间
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public String getTimeType() {
|
public String getTimeType() {
|
||||||
|
@ -27,10 +27,10 @@ public class ActiveConsumptionVO extends Model<ActiveConsumptionVO> {
|
|||||||
//满足金额
|
//满足金额
|
||||||
private String participationConditionMoney;
|
private String participationConditionMoney;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
||||||
private String[] adaptOils;
|
private String[] adaptOils;
|
||||||
@ -84,12 +84,12 @@ public class ActiveConsumptionVO extends Model<ActiveConsumptionVO> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public String getParticipationConditionMoney() {
|
public String getParticipationConditionMoney() {
|
||||||
|
@ -24,10 +24,10 @@ public class ActiveConsumptionVOS implements Serializable {
|
|||||||
//满足金额
|
//满足金额
|
||||||
private String participationConditionMoney;
|
private String participationConditionMoney;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
||||||
private String adaptOil;
|
private String adaptOil;
|
||||||
@ -62,11 +62,11 @@ public class ActiveConsumptionVOS implements Serializable {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
@ -20,10 +20,10 @@ public class ActiveDiscountDTO implements Serializable{
|
|||||||
//活动名称
|
//活动名称
|
||||||
private String name;
|
private String name;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
||||||
private String[] adaptOil;
|
private String[] adaptOil;
|
||||||
@ -54,12 +54,12 @@ public class ActiveDiscountDTO implements Serializable{
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public Integer getId() {
|
public Integer getId() {
|
||||||
|
@ -27,10 +27,10 @@ public class ActiveDiscount extends Model<ActiveDiscount> {
|
|||||||
//活动名称
|
//活动名称
|
||||||
private String name;
|
private String name;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
||||||
private String adaptOil;
|
private String adaptOil;
|
||||||
@ -59,12 +59,12 @@ public class ActiveDiscount extends Model<ActiveDiscount> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,12 +32,12 @@ public class ActiveDiscountChild extends Model<com.fuint.business.marketingActiv
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,10 +20,10 @@ public class ActiveDiscountVO implements Serializable{
|
|||||||
//活动名称
|
//活动名称
|
||||||
private String name;
|
private String name;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
||||||
private String[] adaptOils;
|
private String[] adaptOils;
|
||||||
@ -55,12 +55,12 @@ public class ActiveDiscountVO implements Serializable{
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public Integer getId() {
|
public Integer getId() {
|
||||||
|
@ -5,6 +5,8 @@ import java.util.Date;
|
|||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -27,10 +29,12 @@ public class ActiveDiscountRecords extends Model<ActiveDiscountRecords> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
@ -56,24 +56,24 @@ public class ActiveExchangeRecordDTO extends Model<ActiveExchangeRecordDTO> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
//到期时间
|
//到期时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date outTime;
|
private Date outTime;
|
||||||
//核销时间
|
//核销时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date cancelTime;
|
private Date cancelTime;
|
||||||
//开始时间
|
//开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
//结束时间
|
//结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
|
|
||||||
public String getCardType() {
|
public String getCardType() {
|
||||||
|
@ -56,24 +56,24 @@ public class ActiveExchangeRecordVO extends Model<ActiveExchangeRecordVO> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
//到期时间
|
//到期时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date outTime;
|
private Date outTime;
|
||||||
//核销时间
|
//核销时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date cancelTime;
|
private Date cancelTime;
|
||||||
//开始时间
|
//开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
//结束时间
|
//结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
|
|
||||||
public String getCardType() {
|
public String getCardType() {
|
||||||
|
@ -23,12 +23,12 @@ public class MaxoutVO implements Serializable {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public Integer getId() {
|
public Integer getId() {
|
||||||
|
@ -20,10 +20,10 @@ public class ActiveFullminusDTO implements Serializable {
|
|||||||
//活动名称
|
//活动名称
|
||||||
private String name;
|
private String name;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
||||||
private String[] adaptOil;
|
private String[] adaptOil;
|
||||||
@ -54,12 +54,12 @@ public class ActiveFullminusDTO implements Serializable {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public Integer getId() {
|
public Integer getId() {
|
||||||
|
@ -27,10 +27,10 @@ public class ActiveFullminus extends Model<ActiveFullminus> {
|
|||||||
//活动名称
|
//活动名称
|
||||||
private String name;
|
private String name;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
||||||
private String adaptOil;
|
private String adaptOil;
|
||||||
@ -59,12 +59,12 @@ public class ActiveFullminus extends Model<ActiveFullminus> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,10 +20,10 @@ public class ActiveFullminusVO implements Serializable {
|
|||||||
//活动名称
|
//活动名称
|
||||||
private String name;
|
private String name;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
//适用油品0:92# 1: 95# 2:98# 3:0# 4:-10# 5: LNG 6;CNG 7:京92# 8:京95# 9:京0#
|
||||||
private String[] adaptOils;
|
private String[] adaptOils;
|
||||||
@ -55,12 +55,12 @@ public class ActiveFullminusVO implements Serializable {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public Integer getId() {
|
public Integer getId() {
|
||||||
|
@ -5,6 +5,8 @@ import java.util.Date;
|
|||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -27,10 +29,12 @@ public class ActiveFullminusRecords extends Model<ActiveFullminusRecords> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,10 +20,10 @@ public class ActiveNewlywedsVO {
|
|||||||
//活动名称
|
//活动名称
|
||||||
private String name;
|
private String name;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//有礼奖励 0:优惠券 1:兑换券 2:成长值 3:积分
|
//有礼奖励 0:优惠券 1:兑换券 2:成长值 3:积分
|
||||||
private String[] courtesyReward;
|
private String[] courtesyReward;
|
||||||
@ -46,11 +46,11 @@ public class ActiveNewlywedsVO {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
@ -20,10 +20,10 @@ public class ActiveNewlywedsDTO implements Serializable {
|
|||||||
//活动名称
|
//活动名称
|
||||||
private String name;
|
private String name;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//有礼奖励 0:优惠券 1:兑换券 2:成长值 3:积分
|
//有礼奖励 0:优惠券 1:兑换券 2:成长值 3:积分
|
||||||
private String[] courtesyReward;
|
private String[] courtesyReward;
|
||||||
@ -46,12 +46,12 @@ public class ActiveNewlywedsDTO implements Serializable {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public String getActiveCode() {
|
public String getActiveCode() {
|
||||||
|
@ -27,10 +27,10 @@ public class ActiveNewlyweds extends Model<ActiveNewlyweds> {
|
|||||||
//活动名称
|
//活动名称
|
||||||
private String name;
|
private String name;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeStartTime;
|
private Date activeStartTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date activeEndTime;
|
private Date activeEndTime;
|
||||||
//有礼奖励 0:优惠券 1:兑换券 2:成长值 3:积分
|
//有礼奖励 0:优惠券 1:兑换券 2:成长值 3:积分
|
||||||
private String courtesyReward;
|
private String courtesyReward;
|
||||||
@ -51,12 +51,12 @@ public class ActiveNewlyweds extends Model<ActiveNewlyweds> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public String getActiveCode() {
|
public String getActiveCode() {
|
||||||
|
@ -51,12 +51,12 @@ public class ActiveNewlywedsChild extends Model<ActiveNewlywedsChild> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,12 +33,12 @@ public class ActiveNewlywedsRecords extends Model<ActiveNewlywedsRecords> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,12 +51,12 @@ public class ActiveRecommendDTO extends Model<ActiveRecommendDTO> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public String[] getInviterGiftType() {
|
public String[] getInviterGiftType() {
|
||||||
|
@ -53,12 +53,12 @@ public class ActiveRecommend extends Model<ActiveRecommend> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,12 +53,12 @@ public class ActiveRecommendChild extends Model<ActiveRecommendChild> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ public class ActiveRecommendRecords extends Model<ActiveRecommendRecords> {
|
|||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,12 +53,12 @@ public class ActiveRecommendVO extends Model<ActiveRecommendVO> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,17 +45,17 @@ public class CardExchange extends Model<CardExchange> {
|
|||||||
//参与次数
|
//参与次数
|
||||||
private Integer count;
|
private Integer count;
|
||||||
//过期时间
|
//过期时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date outTime;
|
private Date outTime;
|
||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,24 +57,24 @@ public class CardExchangeRecord extends Model<CardExchangeRecord> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
//到期时间
|
//到期时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date outTime;
|
private Date outTime;
|
||||||
//核销时间
|
//核销时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date cancelTime;
|
private Date cancelTime;
|
||||||
//开始时间
|
//开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
//结束时间
|
//结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ package com.fuint.business.marketingActivity.cardFavorable.dto;
|
|||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
@ -52,12 +53,14 @@ public class CardFavorableDTO extends Model<CardFavorableDTO> {
|
|||||||
//有效期2
|
//有效期2
|
||||||
private Integer validityTwo;
|
private Integer validityTwo;
|
||||||
//固定有效期开始日期
|
//固定有效期开始日期
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date effectiveDate;
|
private Date effectiveDate;
|
||||||
//领券后第几天生效
|
//领券后第几天生效
|
||||||
private String validityDay;
|
private String validityDay;
|
||||||
//生效时间类型 0:领取时间 1:指定时间
|
//生效时间类型 0:领取时间 1:指定时间
|
||||||
private String effectiveDateType;
|
private String effectiveDateType;
|
||||||
//生效时间
|
//生效时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date effectiveDateStart;
|
private Date effectiveDateStart;
|
||||||
//可用时段
|
//可用时段
|
||||||
private String[] availablePeriod;
|
private String[] availablePeriod;
|
||||||
@ -66,6 +69,7 @@ public class CardFavorableDTO extends Model<CardFavorableDTO> {
|
|||||||
//可用日期
|
//可用日期
|
||||||
private String[] checkTime;
|
private String[] checkTime;
|
||||||
//排除日期
|
//排除日期
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date checkOutTime;
|
private Date checkOutTime;
|
||||||
//互斥功能 0:满减活动 1:储值卡付款
|
//互斥功能 0:满减活动 1:储值卡付款
|
||||||
private String exclusiveFunction;
|
private String exclusiveFunction;
|
||||||
@ -80,10 +84,12 @@ public class CardFavorableDTO extends Model<CardFavorableDTO> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public String[] getOilType() {
|
public String[] getOilType() {
|
||||||
|
@ -54,14 +54,14 @@ public class CardFavorable extends Model<CardFavorable> {
|
|||||||
//有效期2
|
//有效期2
|
||||||
private Integer validityTwo;
|
private Integer validityTwo;
|
||||||
//固定有效期开始日期
|
//固定有效期开始日期
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date effectiveDate;
|
private Date effectiveDate;
|
||||||
//领券后第几天生效
|
//领券后第几天生效
|
||||||
private String validityDay;
|
private String validityDay;
|
||||||
//生效时间类型 0:领取时间 1:指定时间
|
//生效时间类型 0:领取时间 1:指定时间
|
||||||
private String effectiveDateType;
|
private String effectiveDateType;
|
||||||
//生效时间
|
//生效时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date effectiveDateStart;
|
private Date effectiveDateStart;
|
||||||
//可用时段
|
//可用时段
|
||||||
private String availablePeriod;
|
private String availablePeriod;
|
||||||
@ -70,7 +70,7 @@ public class CardFavorable extends Model<CardFavorable> {
|
|||||||
//可用日期
|
//可用日期
|
||||||
private String checkTime;
|
private String checkTime;
|
||||||
//排除日期
|
//排除日期
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date checkOutTime;
|
private Date checkOutTime;
|
||||||
//互斥功能 0:满减活动 1:储值卡付款
|
//互斥功能 0:满减活动 1:储值卡付款
|
||||||
private String exclusiveFunction;
|
private String exclusiveFunction;
|
||||||
@ -85,12 +85,12 @@ public class CardFavorable extends Model<CardFavorable> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,21 +39,22 @@ public class CardFavorableRecord extends Model<CardFavorableRecord> {
|
|||||||
//券状态 0:未使用 1:已使用
|
//券状态 0:未使用 1:已使用
|
||||||
private String status;
|
private String status;
|
||||||
//有效期开始时间
|
//有效期开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
//有效期结束时间
|
//有效期结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
//描述信息
|
//描述信息
|
||||||
private String exchangeFrom;
|
private String exchangeFrom;
|
||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ package com.fuint.business.marketingActivity.cardFavorable.vo;
|
|||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
@ -54,12 +55,14 @@ public class CardFavorableVO extends Model<CardFavorableVO> {
|
|||||||
//有效期2
|
//有效期2
|
||||||
private Integer validityTwo;
|
private Integer validityTwo;
|
||||||
//固定有效期开始日期
|
//固定有效期开始日期
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date effectiveDate;
|
private Date effectiveDate;
|
||||||
//领券后第几天生效
|
//领券后第几天生效
|
||||||
private String validityDay;
|
private String validityDay;
|
||||||
//生效时间类型 0:领取时间 1:指定时间
|
//生效时间类型 0:领取时间 1:指定时间
|
||||||
private String effectiveDateType;
|
private String effectiveDateType;
|
||||||
//生效时间
|
//生效时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date effectiveDateStart;
|
private Date effectiveDateStart;
|
||||||
//可用时段
|
//可用时段
|
||||||
private String[] availablePeriod;
|
private String[] availablePeriod;
|
||||||
@ -68,6 +71,7 @@ public class CardFavorableVO extends Model<CardFavorableVO> {
|
|||||||
//可用日期
|
//可用日期
|
||||||
private String[] checkTime;
|
private String[] checkTime;
|
||||||
//排除日期
|
//排除日期
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date checkOutTime;
|
private Date checkOutTime;
|
||||||
//互斥功能 0:满减活动 1:储值卡付款
|
//互斥功能 0:满减活动 1:储值卡付款
|
||||||
private String exclusiveFunction;
|
private String exclusiveFunction;
|
||||||
@ -82,10 +86,12 @@ public class CardFavorableVO extends Model<CardFavorableVO> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -27,9 +27,9 @@ public class CouponVO implements Serializable {
|
|||||||
//券有效期
|
//券有效期
|
||||||
private String couponTime;
|
private String couponTime;
|
||||||
//券开始时间
|
//券开始时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
//券结束时间
|
//券结束时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
package com.fuint.business.marketingActivity.cardFule.entity;
|
package com.fuint.business.marketingActivity.cardFule.entity;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fuint.repository.model.base.BaseEntity;
|
import com.fuint.repository.model.base.BaseEntity;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ -52,6 +54,7 @@ public class CardFuelChange extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 更新时间
|
* 更新时间
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
/**
|
/**
|
||||||
* 更新人
|
* 更新人
|
||||||
|
@ -43,10 +43,10 @@ public class CardFuelDiesel extends Model<CardFuelDiesel> {
|
|||||||
//活动时间 1:不限时间 2:自定义时间
|
//活动时间 1:不限时间 2:自定义时间
|
||||||
private String activeTime;
|
private String activeTime;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
//活动进度
|
//活动进度
|
||||||
private String activityProgress;
|
private String activityProgress;
|
||||||
@ -55,12 +55,12 @@ public class CardFuelDiesel extends Model<CardFuelDiesel> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,6 +6,8 @@ import java.util.Date;
|
|||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -38,8 +40,10 @@ public class CardFuelGasoline extends Model<CardFuelGasoline> {
|
|||||||
//活动时间 1:不限时间 2:自定义时间
|
//活动时间 1:不限时间 2:自定义时间
|
||||||
private String activeTime;
|
private String activeTime;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
//活动进度
|
//活动进度
|
||||||
private String activityProgress;
|
private String activityProgress;
|
||||||
@ -48,10 +52,12 @@ public class CardFuelGasoline extends Model<CardFuelGasoline> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
package com.fuint.business.marketingActivity.cardFule.entity;
|
package com.fuint.business.marketingActivity.cardFule.entity;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fuint.repository.model.base.BaseEntity;
|
import com.fuint.repository.model.base.BaseEntity;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ -98,6 +100,7 @@ public class CardFuelRecord extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
/**
|
/**
|
||||||
* 更新者
|
* 更新者
|
||||||
@ -106,6 +109,7 @@ public class CardFuelRecord extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 更新时间
|
* 更新时间
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
/**
|
/**
|
||||||
* 支付状态
|
* 支付状态
|
||||||
|
@ -50,7 +50,7 @@ public class CardFuleOrders extends Model<CardFuleOrders> {
|
|||||||
//订单状态
|
//订单状态
|
||||||
private String status;
|
private String status;
|
||||||
//支付时间
|
//支付时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date payTime;
|
private Date payTime;
|
||||||
//会员id
|
//会员id
|
||||||
private Integer mtUserId;
|
private Integer mtUserId;
|
||||||
@ -73,12 +73,12 @@ public class CardFuleOrders extends Model<CardFuleOrders> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,12 +48,12 @@ public class CardGift extends Model<CardGift> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,10 +53,10 @@ public class CardValueDTO extends Model<CardValue> {
|
|||||||
//活动进度
|
//活动进度
|
||||||
private String activityProgress;
|
private String activityProgress;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
//活动状态 1:启用 2:禁用
|
//活动状态 1:启用 2:禁用
|
||||||
private String activeStatus;
|
private String activeStatus;
|
||||||
@ -73,12 +73,12 @@ public class CardValueDTO extends Model<CardValue> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
public List<CardValueChild> getCardValueChildList() {
|
public List<CardValueChild> getCardValueChildList() {
|
||||||
|
@ -59,10 +59,10 @@ public class CardValue extends Model<CardValue> {
|
|||||||
//活动进度
|
//活动进度
|
||||||
private String activityProgress;
|
private String activityProgress;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
//活动状态 1:启用 2:禁用
|
//活动状态 1:启用 2:禁用
|
||||||
private String activeStatus;
|
private String activeStatus;
|
||||||
@ -77,12 +77,12 @@ public class CardValue extends Model<CardValue> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,12 +50,12 @@ public class CardValueChild extends Model<CardValueChild> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,12 +61,12 @@ public class CardValueRecord extends Model<CardValueRecord> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
// 支付状态
|
// 支付状态
|
||||||
private String payStatus;
|
private String payStatus;
|
||||||
|
@ -53,10 +53,10 @@ public class CardValueVO extends Model<CardValue> {
|
|||||||
//活动进度
|
//活动进度
|
||||||
private String activityProgress;
|
private String activityProgress;
|
||||||
//活动开始时间
|
//活动开始时间
|
||||||
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
//活动结束时间
|
//活动结束时间
|
||||||
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
//活动状态 1:启用 2:禁用
|
//活动状态 1:启用 2:禁用
|
||||||
private String activeStatus;
|
private String activeStatus;
|
||||||
@ -73,11 +73,11 @@ public class CardValueVO extends Model<CardValue> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
@ -33,12 +33,12 @@ public class CardValudChildrens extends Model<CardValudChildrens> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ public class CardValueOrders extends Model<CardValueOrders> {
|
|||||||
//订单状态
|
//订单状态
|
||||||
private String status;
|
private String status;
|
||||||
//支付时间
|
//支付时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date payTime;
|
private Date payTime;
|
||||||
//会员id
|
//会员id
|
||||||
private Integer mtUserId;
|
private Integer mtUserId;
|
||||||
@ -88,12 +88,12 @@ public class CardValueOrders extends Model<CardValueOrders> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -240,13 +240,13 @@ public class LJStaffServiceImpl extends ServiceImpl<LJStaffMapper, LJStaff> impl
|
|||||||
LJStaff staff = this.selectStaffById(id);
|
LJStaff staff = this.selectStaffById(id);
|
||||||
LJStore store = storeService.selectStoreByStoreId(staff.getStoreId());
|
LJStore store = storeService.selectStoreByStoreId(staff.getStoreId());
|
||||||
//在图片上生成二维码
|
//在图片上生成二维码
|
||||||
// String backgroundImage = "/static/qrCodeImg/laigeyouhui_bg.jpg";
|
String backgroundImage = "/static/qrCodeImg/laigeyouhui_bg.jpg";
|
||||||
// String logoImage = "/static/qrCodeImg/logo.png";
|
String logoImage = "/static/qrCodeImg/logo.png";
|
||||||
String backgroundImage = env.getProperty("staff.bg");
|
// String backgroundImage = env.getProperty("staff.bg");
|
||||||
String logoImage = env.getProperty("staff.logo");
|
// String logoImage = env.getProperty("staff.logo");
|
||||||
String url = staff.getStaffCode();
|
String url = staff.getStaffCode();
|
||||||
String area = store.getName();
|
String area = store.getName();
|
||||||
String finalPath="D:/qrCode/" + area + ".jpg";
|
String finalPath="D:/ruoyi/qrCode/" + area + ".jpg";
|
||||||
//背景图片路径 loge图片 二维码 输出地址
|
//背景图片路径 loge图片 二维码 输出地址
|
||||||
createLogoCodePicture(backgroundImage, logoImage, url, finalPath, area,store.getAddress());
|
createLogoCodePicture(backgroundImage, logoImage, url, finalPath, area,store.getAddress());
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@ package com.fuint.business.oilDepotConfiguration.entity;
|
|||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@ -28,10 +30,12 @@ public class OilDepotConfig extends Model<OilDepotConfig> {
|
|||||||
//创建者
|
//创建者
|
||||||
private String createBy;
|
private String createBy;
|
||||||
//创建时间
|
//创建时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
//更新者
|
//更新者
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
//更新时间
|
//更新时间
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
@ -66,7 +66,6 @@
|
|||||||
<include refid="selectOrders"></include>
|
<include refid="selectOrders"></include>
|
||||||
<where>
|
<where>
|
||||||
user_id = #{order.userId}
|
user_id = #{order.userId}
|
||||||
and terminal = 'applet'
|
|
||||||
<if test="order.storeId != null and order.storeId != ''">
|
<if test="order.storeId != null and order.storeId != ''">
|
||||||
and store_id = #{order.storeId}
|
and store_id = #{order.storeId}
|
||||||
</if>
|
</if>
|
||||||
|
@ -1038,7 +1038,7 @@ public class OilOrderServiceImpl extends ServiceImpl<OilOrderMapper, OilOrder> i
|
|||||||
receiveParameter.setGoodsMoney(Double.valueOf(map.get("payAmount")));
|
receiveParameter.setGoodsMoney(Double.valueOf(map.get("payAmount")));
|
||||||
receiveParameter.setStoreId(oilOrder.getStoreId());
|
receiveParameter.setStoreId(oilOrder.getStoreId());
|
||||||
receiveParameter.setPayType(oilOrder.getPayType());
|
receiveParameter.setPayType(oilOrder.getPayType());
|
||||||
receiveParameter.setUserId(userId);
|
receiveParameter.setUserId(oilOrder.getUserId());
|
||||||
// 调用支付接口
|
// 调用支付接口
|
||||||
try {
|
try {
|
||||||
applet = fyPayService.applet(receiveParameter);
|
applet = fyPayService.applet(receiveParameter);
|
||||||
|
@ -9,9 +9,9 @@ import java.util.Date;
|
|||||||
|
|
||||||
@Data
|
@Data
|
||||||
public class OilPurchaseDTO extends OilPurchaseVO {
|
public class OilPurchaseDTO extends OilPurchaseVO {
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date beginTime;
|
private Date beginTime;
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
|
|
||||||
private Integer supplierId;
|
private Integer supplierId;
|
||||||
|
@ -2,6 +2,7 @@ package com.fuint.business.petrolStationManagement.entity;
|
|||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fuint.repository.model.base.BaseEntity;
|
import com.fuint.repository.model.base.BaseEntity;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ -29,6 +30,7 @@ public class OilInventory extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 盘点时间
|
* 盘点时间
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date inventoryTime;
|
private Date inventoryTime;
|
||||||
/**
|
/**
|
||||||
* 盘点升数
|
* 盘点升数
|
||||||
@ -53,6 +55,7 @@ public class OilInventory extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 制单时间
|
* 制单时间
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date orderTime;
|
private Date orderTime;
|
||||||
/**
|
/**
|
||||||
* 状态
|
* 状态
|
||||||
|
@ -63,7 +63,7 @@ public class OilInventoryOrder extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 制单时间
|
* 制单时间
|
||||||
*/
|
*/
|
||||||
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
// private Data inventoryTime;
|
// private Data inventoryTime;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ public class OilPurchase extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 制单时间
|
* 制单时间
|
||||||
*/
|
*/
|
||||||
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createdAt;
|
private Date createdAt;
|
||||||
/**
|
/**
|
||||||
* 状态
|
* 状态
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package com.fuint.business.petrolStationManagement.vo;
|
package com.fuint.business.petrolStationManagement.vo;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fuint.business.petrolStationManagement.entity.OilInventoryOrder;
|
import com.fuint.business.petrolStationManagement.entity.OilInventoryOrder;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ -17,5 +18,6 @@ public class OilInventoryOrderVO extends OilInventoryOrder {
|
|||||||
/**
|
/**
|
||||||
* 盘点时间
|
* 盘点时间
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date inventoryTime;
|
private Date inventoryTime;
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@ package com.fuint.business.petrolStationManagement.vo;
|
|||||||
|
|
||||||
|
|
||||||
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
@ -54,6 +55,7 @@ public class OilTankExcel {
|
|||||||
* 更新时间
|
* 更新时间
|
||||||
*/
|
*/
|
||||||
@ExcelProperty("更新时间")
|
@ExcelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,7 @@ package com.fuint.business.userManager.entity;
|
|||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fuint.framework.entity.BaseEntity;
|
import com.fuint.framework.entity.BaseEntity;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
@ -47,6 +48,7 @@ public class Feedback extends BaseEntity implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
/**
|
/**
|
||||||
* 创建人
|
* 创建人
|
||||||
@ -55,6 +57,7 @@ public class Feedback extends BaseEntity implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 更新时间
|
* 更新时间
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
/**
|
/**
|
||||||
* 更新人
|
* 更新人
|
||||||
|
@ -782,53 +782,12 @@ public class MemberServiceImpl extends ServiceImpl<MtUserMapper, MtUser> impleme
|
|||||||
|
|
||||||
save(mtUser);
|
save(mtUser);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 新增余额信息
|
// 新增余额信息
|
||||||
if (ObjectUtil.isNotEmpty(storeId) && storeId !="") {
|
if (ObjectUtil.isNotEmpty(storeId) && storeId !="") {
|
||||||
|
createVaseInfo(mtUser, storeId, staffId, inviterId);
|
||||||
LJStore store = iljStoreService.selectStoreByStoreId(Integer.parseInt(storeId));
|
|
||||||
|
|
||||||
// 根据userid和连锁店id查询是否存在对应的余额信息
|
|
||||||
UserBalance userBalance = userBalanceService.selectUserBalance(mtUser.getId(), store.getChainStoreId());
|
|
||||||
if (ObjectUtil.isEmpty(userBalance)) {
|
|
||||||
// 新增余额信息
|
|
||||||
UserBalance userBalanceAdd = new UserBalance();
|
|
||||||
userBalanceAdd.setMtUserId(mtUser.getId());
|
|
||||||
userBalanceAdd.setStoreId(Integer.parseInt(storeId));
|
|
||||||
userBalanceAdd.setChainStoreId(store.getChainStoreId());
|
|
||||||
userBalanceAdd.setCardBalance(0.0);
|
|
||||||
userBalanceAdd.setPoints(0);
|
|
||||||
userBalanceAdd.setGrowthValue(0);
|
|
||||||
userBalanceAdd.setConsumeNum(0);
|
|
||||||
LJUserGrade ljUserGrade = ljUserGradeService.selectUserGradeByStoreId(Integer.parseInt(storeId));
|
|
||||||
if (ObjectUtil.isNotEmpty(ljUserGrade) && ObjectUtil.isNotEmpty(ljUserGrade.getId())) {
|
|
||||||
userBalanceAdd.setGradeId(ljUserGrade.getId());
|
|
||||||
}
|
|
||||||
// 新增会员余额信息
|
|
||||||
userBalanceService.insertUserBalance(userBalanceAdd);
|
|
||||||
}
|
|
||||||
// 查询关联表里面是否有信息 (注册邀请)
|
|
||||||
MtInvitation mtInvitation1 = mtInvitationMapper.queryByStoreId(Integer.parseInt(storeId), mtUser.getId());
|
|
||||||
if (ObjectUtil.isEmpty(mtInvitation1)) {
|
|
||||||
MtInvitation mtInvitation = new MtInvitation();
|
|
||||||
mtInvitation.setUserId(mtUser.getId());
|
|
||||||
mtInvitation.setStoreId(Integer.parseInt(storeId));
|
|
||||||
if (ObjectUtil.isNotEmpty(staffId) && staffId !="") {
|
|
||||||
mtInvitation.setStaffId(Integer.parseInt(staffId));
|
|
||||||
}
|
|
||||||
if (ObjectUtil.isNotEmpty(inviterId) && inviterId !="") {
|
|
||||||
mtInvitation.setInviterId(Integer.parseInt(inviterId));
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (!ObjectUtil.isEmpty(store)){
|
|
||||||
mtInvitation.setChainStoreId(store.getChainStoreId());
|
|
||||||
}
|
|
||||||
mtInvitationMapper.insert(mtInvitation);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return mtUser;
|
return mtUser;
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
@ -840,23 +799,16 @@ public class MemberServiceImpl extends ServiceImpl<MtUserMapper, MtUser> impleme
|
|||||||
mtUserMobile.setOpenId(openId);
|
mtUserMobile.setOpenId(openId);
|
||||||
|
|
||||||
updateById(mtUserMobile);
|
updateById(mtUserMobile);
|
||||||
|
// 新增余额信息
|
||||||
if (ObjectUtil.isNotEmpty(storeId) && storeId !="") {
|
if (ObjectUtil.isNotEmpty(storeId) && storeId !="") {
|
||||||
MtInvitation mtInvitation1 = mtInvitationMapper.queryByStoreId(Integer.parseInt(storeId), mtUserMobile.getId());
|
createVaseInfo(mtUserMobile,storeId,staffId,inviterId);
|
||||||
if (ObjectUtil.isEmpty(mtInvitation1)) {
|
|
||||||
MtInvitation mtInvitation = new MtInvitation();
|
|
||||||
mtInvitation.setUserId(mtUserMobile.getId());
|
|
||||||
mtInvitation.setStoreId(Integer.parseInt(storeId));
|
|
||||||
if (ObjectUtil.isNotEmpty(staffId) && staffId !="") {
|
|
||||||
mtInvitation.setStaffId(Integer.parseInt(staffId));
|
|
||||||
}
|
|
||||||
if (ObjectUtil.isNotEmpty(inviterId) && inviterId !="") {
|
|
||||||
mtInvitation.setInviterId(Integer.parseInt(inviterId));
|
|
||||||
}
|
|
||||||
mtInvitationMapper.insert(mtInvitation);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return mtUserMobile;
|
return mtUserMobile;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -977,6 +929,53 @@ public class MemberServiceImpl extends ServiceImpl<MtUserMapper, MtUser> impleme
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建用户的基础信息
|
||||||
|
*/
|
||||||
|
private void createVaseInfo (MtUser mtUser, String storeId,String staffId, String inviterId) {
|
||||||
|
LJStore store = iljStoreService.selectStoreByStoreId(Integer.parseInt(storeId));
|
||||||
|
|
||||||
|
// 根据userid和连锁店id查询是否存在对应的余额信息
|
||||||
|
UserBalance userBalance = userBalanceService.selectUserBalance(mtUser.getId(), store.getChainStoreId());
|
||||||
|
if (ObjectUtil.isEmpty(userBalance)) {
|
||||||
|
// 新增余额信息
|
||||||
|
UserBalance userBalanceAdd = new UserBalance();
|
||||||
|
userBalanceAdd.setMtUserId(mtUser.getId());
|
||||||
|
userBalanceAdd.setStoreId(Integer.parseInt(storeId));
|
||||||
|
userBalanceAdd.setChainStoreId(store.getChainStoreId());
|
||||||
|
userBalanceAdd.setCardBalance(0.0);
|
||||||
|
userBalanceAdd.setPoints(0);
|
||||||
|
userBalanceAdd.setGrowthValue(0);
|
||||||
|
userBalanceAdd.setConsumeNum(0);
|
||||||
|
LJUserGrade ljUserGrade = ljUserGradeService.selectUserGradeByStoreId(Integer.parseInt(storeId));
|
||||||
|
if (ObjectUtil.isNotEmpty(ljUserGrade) && ObjectUtil.isNotEmpty(ljUserGrade.getId())) {
|
||||||
|
userBalanceAdd.setGradeId(ljUserGrade.getId());
|
||||||
|
}
|
||||||
|
// 新增会员余额信息
|
||||||
|
userBalanceService.insertUserBalance(userBalanceAdd);
|
||||||
|
}
|
||||||
|
// 查询关联表里面是否有信息 (注册邀请)
|
||||||
|
MtInvitation mtInvitation1 = mtInvitationMapper.queryByStoreId(Integer.parseInt(storeId), mtUser.getId());
|
||||||
|
if (ObjectUtil.isEmpty(mtInvitation1)) {
|
||||||
|
MtInvitation mtInvitation = new MtInvitation();
|
||||||
|
mtInvitation.setUserId(mtUser.getId());
|
||||||
|
mtInvitation.setStoreId(Integer.parseInt(storeId));
|
||||||
|
if (ObjectUtil.isNotEmpty(staffId) && staffId !="") {
|
||||||
|
mtInvitation.setStaffId(Integer.parseInt(staffId));
|
||||||
|
}
|
||||||
|
if (ObjectUtil.isNotEmpty(inviterId) && inviterId !="") {
|
||||||
|
mtInvitation.setInviterId(Integer.parseInt(inviterId));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (!ObjectUtil.isEmpty(store)){
|
||||||
|
mtInvitation.setChainStoreId(store.getChainStoreId());
|
||||||
|
}
|
||||||
|
mtInvitationMapper.insert(mtInvitation);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//生成用户编号
|
//生成用户编号
|
||||||
private String editUserNo() {
|
private String editUserNo() {
|
||||||
|
@ -104,7 +104,7 @@ public class SysJob extends BaseEntity
|
|||||||
this.cronExpression = cronExpression;
|
this.cronExpression = cronExpression;
|
||||||
}
|
}
|
||||||
|
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
public Date getNextValidTime()
|
public Date getNextValidTime()
|
||||||
{
|
{
|
||||||
if (StringUtils.isNotEmpty(cronExpression))
|
if (StringUtils.isNotEmpty(cronExpression))
|
||||||
|
@ -2,6 +2,7 @@ package com.fuint.quartz.domain;
|
|||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fuint.framework.entity.BaseEntity;
|
import com.fuint.framework.entity.BaseEntity;
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
@ -42,9 +43,11 @@ public class SysJobLog extends BaseEntity
|
|||||||
private String exceptionInfo;
|
private String exceptionInfo;
|
||||||
|
|
||||||
/** 开始时间 */
|
/** 开始时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
|
|
||||||
/** 停止时间 */
|
/** 停止时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date stopTime;
|
private Date stopTime;
|
||||||
|
|
||||||
public Long getJobLogId()
|
public Long getJobLogId()
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -53,9 +55,11 @@ public class MtAddress implements Serializable {
|
|||||||
private String isDefault;
|
private String isDefault;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("状态")
|
@ApiModelProperty("状态")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -53,9 +55,11 @@ public class MtArticle implements Serializable {
|
|||||||
private Long click;
|
private Long click;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("最后操作人")
|
@ApiModelProperty("最后操作人")
|
||||||
|
@ -6,6 +6,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -48,9 +50,11 @@ public class MtBalance implements Serializable {
|
|||||||
private BigDecimal amount;
|
private BigDecimal amount;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("备注说明")
|
@ApiModelProperty("备注说明")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -47,9 +49,11 @@ public class MtBanner implements Serializable {
|
|||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("最后操作人")
|
@ApiModelProperty("最后操作人")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -53,9 +55,11 @@ public class MtCart implements Serializable {
|
|||||||
private Integer num;
|
private Integer num;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("状态")
|
@ApiModelProperty("状态")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -38,9 +40,11 @@ public class MtCommissionCash implements Serializable {
|
|||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("最后操作人")
|
@ApiModelProperty("最后操作人")
|
||||||
|
@ -6,6 +6,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -66,12 +68,15 @@ public class MtCommissionLog implements Serializable {
|
|||||||
private String isCash;
|
private String isCash;
|
||||||
|
|
||||||
@ApiModelProperty("提现时间")
|
@ApiModelProperty("提现时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date cashTime;
|
private Date cashTime;
|
||||||
|
|
||||||
@ApiModelProperty("是否提现")
|
@ApiModelProperty("是否提现")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("最后操作人")
|
@ApiModelProperty("最后操作人")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -41,9 +43,11 @@ public class MtCommissionRelation implements Serializable {
|
|||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("最后操作人")
|
@ApiModelProperty("最后操作人")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -44,9 +46,11 @@ public class MtCommissionRule implements Serializable {
|
|||||||
private Integer storeId;
|
private Integer storeId;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("备注")
|
@ApiModelProperty("备注")
|
||||||
|
@ -6,6 +6,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -60,9 +62,11 @@ public class MtCommissionRuleItem implements Serializable {
|
|||||||
private BigDecimal subMember;
|
private BigDecimal subMember;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("备注信息")
|
@ApiModelProperty("备注信息")
|
||||||
|
@ -6,6 +6,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -48,9 +50,11 @@ public class MtConfirmLog implements Serializable {
|
|||||||
private Integer orderId;
|
private Integer orderId;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("卡券所属用户ID")
|
@ApiModelProperty("卡券所属用户ID")
|
||||||
@ -66,6 +70,7 @@ public class MtConfirmLog implements Serializable {
|
|||||||
private String status;
|
private String status;
|
||||||
|
|
||||||
@ApiModelProperty("撤销时间")
|
@ApiModelProperty("撤销时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date cancelTime;
|
private Date cancelTime;
|
||||||
|
|
||||||
@ApiModelProperty("最后操作人")
|
@ApiModelProperty("最后操作人")
|
||||||
|
@ -6,6 +6,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -66,9 +68,11 @@ public class MtCoupon implements Serializable {
|
|||||||
private Integer expireTime;
|
private Integer expireTime;
|
||||||
|
|
||||||
@ApiModelProperty("开始有效期")
|
@ApiModelProperty("开始有效期")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date beginTime;
|
private Date beginTime;
|
||||||
|
|
||||||
@ApiModelProperty("结束有效期")
|
@ApiModelProperty("结束有效期")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
|
|
||||||
@ApiModelProperty("面额")
|
@ApiModelProperty("面额")
|
||||||
@ -111,9 +115,11 @@ public class MtCoupon implements Serializable {
|
|||||||
private String outRule;
|
private String outRule;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("最后操作人")
|
@ApiModelProperty("最后操作人")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -35,9 +37,11 @@ public class MtCouponGoods implements Serializable {
|
|||||||
private Integer goodsId;
|
private Integer goodsId;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("状态")
|
@ApiModelProperty("状态")
|
||||||
|
@ -6,6 +6,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -53,9 +55,11 @@ public class MtCouponGroup implements Serializable {
|
|||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
@ApiModelProperty("创建日期")
|
@ApiModelProperty("创建日期")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新日期")
|
@ApiModelProperty("更新日期")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("最后操作人")
|
@ApiModelProperty("最后操作人")
|
||||||
|
@ -6,6 +6,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -72,9 +74,11 @@ public class MtGive implements Serializable {
|
|||||||
private String message;
|
private String message;
|
||||||
|
|
||||||
@ApiModelProperty("赠送时间")
|
@ApiModelProperty("赠送时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("状态,A正常;C取消")
|
@ApiModelProperty("状态,A正常;C取消")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -35,9 +37,11 @@ public class MtGiveItem implements Serializable {
|
|||||||
private Integer userCouponId;
|
private Integer userCouponId;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("状态,A正常;D删除")
|
@ApiModelProperty("状态,A正常;D删除")
|
||||||
|
@ -6,6 +6,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -93,9 +95,11 @@ public class MtGoods implements Serializable {
|
|||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("最后操作人")
|
@ApiModelProperty("最后操作人")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -44,9 +46,11 @@ public class MtGoodsCate implements Serializable {
|
|||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("最后操作人")
|
@ApiModelProperty("最后操作人")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -65,9 +67,11 @@ public class MtMerchant implements Serializable {
|
|||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("状态,A:有效/启用;D:无效")
|
@ApiModelProperty("状态,A:有效/启用;D:无效")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -47,9 +49,11 @@ public class MtMessage implements Serializable {
|
|||||||
private String isRead;
|
private String isRead;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("参数信息")
|
@ApiModelProperty("参数信息")
|
||||||
@ -59,6 +63,7 @@ public class MtMessage implements Serializable {
|
|||||||
private String isSend;
|
private String isSend;
|
||||||
|
|
||||||
@ApiModelProperty("发送时间")
|
@ApiModelProperty("发送时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date sendTime;
|
private Date sendTime;
|
||||||
|
|
||||||
@ApiModelProperty("状态")
|
@ApiModelProperty("状态")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -47,9 +49,11 @@ public class MtOpenGift implements Serializable {
|
|||||||
private Integer couponNum;
|
private Integer couponNum;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("状态")
|
@ApiModelProperty("状态")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -37,6 +39,7 @@ public class MtOpenGiftItem implements Serializable {
|
|||||||
private Integer openGiftId;
|
private Integer openGiftId;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("状态")
|
@ApiModelProperty("状态")
|
||||||
|
@ -6,6 +6,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -87,15 +89,18 @@ public class MtOrder implements Serializable {
|
|||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@ApiModelProperty("更新时间")
|
@ApiModelProperty("更新时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@ApiModelProperty("订单状态")
|
@ApiModelProperty("订单状态")
|
||||||
private String status;
|
private String status;
|
||||||
|
|
||||||
@ApiModelProperty("支付时间")
|
@ApiModelProperty("支付时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date payTime;
|
private Date payTime;
|
||||||
|
|
||||||
@ApiModelProperty("支付状态")
|
@ApiModelProperty("支付状态")
|
||||||
|
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@ -53,6 +55,7 @@ public class MtOrderAddress implements Serializable {
|
|||||||
private Integer userId;
|
private Integer userId;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user