qzyReal 3 år sedan
förälder
incheckning
c8417ba8a7

+ 9 - 0
app/pages/business-entering/business-entering.vue

@@ -82,6 +82,15 @@
 				</view>
 			</view>
 			<view class="item">
+				<view class="l">预计入场:</view>
+				<view class="r">
+					<view class="r">
+						<uni-datetime-picker  type="datetime" v-model="form.expectInDay" start="2021-11-30"
+							end="2090-6-20" />
+					</view>
+				</view>
+			</view>
+			<view class="item">
 				<view class="l">中国车牌号:</view>
 				<view class="r">
 					<u-input placeholder="司机身份证号码" @input="handler()" v-model="form.chinaCarNo" />

+ 26 - 19
sp-admin/sa-view/tb-business/tb-business-list.html

@@ -32,8 +32,8 @@
 				<div class="fast-btn">
 					<el-button size="mini" type="primary" v-if="perCode.indexOf('tb-business-add')!=-1" @click="add()">
 						新增</el-button>
-					<el-button size="mini" type="primary" v-if="perCode.indexOf('tb-business-confirm')!=-1"
-						@click="confirmBatch()">确认</el-button>
+					<!-- 	<el-button size="mini" type="primary" v-if="perCode.indexOf('tb-business-confirm')!=-1"
+						@click="confirmBatch()">确认</el-button> -->
 					<el-button size="mini" type="success" @click="getBySelect()">查看</el-button>
 					<el-button size="mini" type="danger" @click="deleteByIds()">删除</el-button>
 					<!-- <el-button size="mini" type="warning" icon="el-icon-download" @click="sa.exportExcel()">导出</el-button> -->
@@ -51,34 +51,40 @@
 					<sa-td name="支付凭证" prop="payTicket" type="img-list"></sa-td>
 					<sa-td name="业务费(元)" prop="itemPrice"></sa-td>
 					<sa-td name="入场时间" width="140" prop="realInTime"></sa-td>
-					<sa-td name="离场时间"  width="140" prop="outDayTime"></sa-td>
+					<sa-td name="离场时间" width="140" prop="outDayTime"></sa-td>
 					<sa-td width="130" name="支付状态" prop="payStatus" type="enum"
-						:jv="{1: '未支付[#ff0000]', 2: '已支付未确认[#ffaa00]', 3: '已支付已确认[#005500]'}"></sa-td>
+						:jv="{1: '未支付[#ff0000]', 2: '已支付未确认[#ffaa00]', 3: '已支付已确认[#005500]'}"></sa-td>
 					<sa-td width="160" name="支付时间" prop="payTime"></sa-td>
 					<sa-td width="160" name="录入时间" prop="createTime"></sa-td>
 					<sa-td name="账单确认" prop="confirmInput" type="enum" :jv="{0: '未确认[#ff0000]', 1: '已确认[#005500]'}">
 					</sa-td>
 					<el-table-column label="操作" width="240px" fixed="right">
 						<template slot-scope="s">
-							<el-button class="c-btn" type="success"
-								v-if="perCode.indexOf('tb-business-pay')!=-1&&s.row.payStatus==1" @click="payFn(s.row)">
-								支付</el-button>
-							<el-button class="c-btn" type="primary"
-								v-if="s.row.confirmInput==0&&perCode.indexOf('tb-business-confirm')!=-1&&currentCustomerId!='1'"
-								@click="confirmFn(s.row)">确认账单</el-button>
+							<el-button class="c-btn" type="success" v-if="perCode.indexOf('tb-business-pay')!=-1
+								&&s.row.payStatus==1
+								&&s.row.outDayTime
+								&&s.row.confirmInput==1" @click="payFn(s.row)">
+								支付确认</el-button>
+							<el-button class="c-btn" type="primary" v-if="s.row.confirmInput==0
+								&&s.row.payStatus==1
+								&&perCode.indexOf('tb-business-confirm')!=-1
+								&&currentCustomerId!='1'" @click="confirmFn(s.row)">确认账单</el-button>
 							<el-button class="c-btn" type="primary"
 								v-if="currentCustomerId=='1'&&s.row.realInTime==null" @click="inFn(s.row)">确认入场
 							</el-button>
 							<el-button class="c-btn" type="primary"
-								v-if="currentCustomerId=='1'&&s.row.outDayTime==null" @click="outFn(s.row)">确认离场
+								v-if="currentCustomerId=='1'&&s.row.outDayTime==null&&s.row.realInTime!=null"
+								@click="outFn(s.row)">确认离场
 							</el-button>
-							<el-button class="c-btn" type="success" v-if="adminId=='1'&&s.row.payStatus<3"
+							<el-button class="c-btn" type="success"
+								v-if="currentCustomerId=='1'&&s.row.payStatus<3&&s.row.outDayTime!=null"
 								@click="adminSurePayFn(s.row)">确认支付</el-button>
 							<el-button class="c-btn" type="success" @click="get(s.row)">查看</el-button>
 							<el-button class="c-btn" type="primary" v-if="currentCustomerId=='1'"
 								@click="update(s.row)">修改</el-button>
 							<el-button class="c-btn" type="danger"
-								v-if="s.row.payStatus==1&&perCode.indexOf('tb-business-add')!=-1" @click="del(s.row)">删除
+								v-if="s.row.payStatus==1&&s.row.confirmInput==0&&perCode.indexOf('tb-business-add')!=-1"
+								@click="del(s.row)">删除
 							</el-button>
 						</template>
 					</el-table-column>
@@ -88,6 +94,8 @@
 				</sa-item>
 			</div>
 			<el-dialog title="支付业务" :visible.sync="modal.visible" width="400px">
+				<sa-info name="业务单号" br>{{modal.form.no}}</sa-info>
+				<sa-info name="总计费用" br>{{modal.form.totalMoney}}元</sa-info>
 				<sa-item type="img-list" name="支付凭据" v-model="modal.form.payTicket" br></sa-item>
 				<span slot="footer" class="dialog-footer">
 					<el-button @click="modal.visible=false">取 消</el-button>
@@ -102,7 +110,7 @@
 				</span>
 			</el-dialog>
 			<el-dialog title="支付确认" :visible.sync="pay.visible" width="30%">
-				<span>是否确认所选业务的支付?</span>
+				<sa-item type="img-list" name="支付凭据" v-model="pay.form.payTicket" br></sa-item>
 				<span slot="footer" class="dialog-footer">
 					<el-button @click="pay.visible = false">取 消</el-button>
 					<el-button type="primary" @click="surePayirmFn">确 认</el-button>
@@ -132,6 +140,7 @@
 		<script>
 			var app = new Vue({
 				components: {
+					"sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue'),
 					"sa-item": httpVueLoader('../../sa-frame/com/sa-item.vue'),
 					"sa-td": httpVueLoader('../../sa-frame/com/sa-td.vue'),
 				},
@@ -261,7 +270,8 @@
 						Object.assign(this.pay, {
 							visible: true,
 							form: {
-								ids: data.id
+								ids: data.id,
+								payticket:''
 							}
 						})
 					},
@@ -304,10 +314,7 @@
 					payFn(data) {
 						Object.assign(this.modal, {
 							visible: true,
-							form: {
-								id: data.id,
-								payTicket: data.payTicket
-							}
+							form: data
 						})
 					},
 					surePayFn() {

+ 6 - 6
sp-admin/sa-view/tb-costomer/tb-costomer-add.html

@@ -29,14 +29,14 @@
 					<el-form v-if="m">
 						<el-row>
 							<sa-item type="text" name="客户名称" v-model="m.name" br></sa-item>
+							<sa-item type="text" name="联系人" v-model="m.dutyPeople" br></sa-item>
 							<sa-item type="text" name="联系号码" v-model="m.phone" br></sa-item>
-							<sa-item type="text" name="负责人" v-model="m.dutyPeople" br></sa-item>
 							<sa-item type="enum" name="结账方式" v-model="m.payType" :jv="{2: '月结', 1: '现结'}" jtype="1" br></sa-item>
-							<div class="c-item br">
+						<!-- 	<div class="c-item br">
 								<label class="c-label"><label style="color: red">*</label>地区:</label>
 								<el-cascader size="mini" placeholder="请选择" v-model="m.address_arry"
 									:options="options" :props={value:'id',label:'district'}></el-cascader>
-							</div>
+							</div> -->
 							<sa-item type="img" name="营业执照" v-model="m.businessLicence" br></sa-item>
 						</el-row>
 						<sa-item name="" class="s-ok" br>
@@ -79,7 +79,7 @@
 							addressStr: '',		// 地址 
 							businessLicence: '',		// 营业执照 
 							address_arry:[],
-							payType:2,
+							payType:1,
 							status: '1',		// 状态(0=否,1=是) 
 							judgeStatus: '2',		// 审核状态(1=未审核,2审核通过,3审核不通过) 
 						}
@@ -91,8 +91,8 @@
 						sa.checkNull(m.name, '请输入 [客户名称]');
 						sa.checkNull(m.phone, '请输入 [联系号码]');
 						sa.checkNull(m.dutyPeople, '请输入 [负责人]');
-						this.m.addressIds = this.m.address_arry.join(',');
-						sa.checkNull(m.addressIds, '请选择 [地址信息]');
+						// this.m.addressIds = this.m.address_arry.join(',');
+						// sa.checkNull(m.addressIds, '请选择 [地址信息]');
 						// 开始增加或修改
 						if(this.id <= 0) {	// 添加
 							sa.ajax('/TbCostomer/add', m, function(res){

+ 1 - 1
sp-admin/sa-view/tb-costomer/tb-costomer-info.html

@@ -28,7 +28,7 @@
 								<sa-info name="名称" br>{{m.name}}</sa-info>
 								<sa-info name="联系号码" br>{{m.phone}}</sa-info>
 								<sa-info name="负责人" br>{{m.dutyPeople}}</sa-info>
-								<sa-info name="地址" br>{{m.addressStr}}</sa-info>
+								<!-- <sa-info name="地址" br>{{m.addressStr}}</sa-info> -->
 								<sa-info type="img" name="营业执照" :value="m.businessLicence" br></sa-info>
 							</el-col>
 							<el-col span="12">

+ 92 - 77
sp-admin/sa-view/tb-costomer/tb-costomer-list.html

@@ -3,7 +3,8 @@
 	<head>
 		<title>客户管理-列表</title>
 		<meta charset="utf-8">
-		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
+		<meta name="viewport"
+			content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
 		<!-- 所有的 css & js 资源 -->
 		<link rel="stylesheet" href="../../static/kj/element-ui/theme-chalk/index.css">
 		<link rel="stylesheet" href="../../static/sa.css">
@@ -26,10 +27,10 @@
 					<div class="c-item">
 						<label class="c-label">审核状态:</label>
 						<el-select v-model="p.judgeStatus" placeholder="请选择" filterable>
-							<el-option  label="-全部-" value=""> </el-option>
-							<el-option  label="未审核" value="1"> </el-option>
-							<el-option  label="审核通过" value="2"> </el-option>
-							<el-option  label="审核不通过" value="3"> </el-option>
+							<el-option label="-全部-" value=""> </el-option>
+							<el-option label="未审核" value="1"> </el-option>
+							<el-option label="审核通过" value="2"> </el-option>
+							<el-option label="审核不通过" value="3"> </el-option>
 						</el-select>
 					</div>
 					<el-button type="primary" icon="el-icon-search" @click="p.pageNo = 1; f5()">查询</el-button>
@@ -42,39 +43,48 @@
 						</el-radio-group>
 					</sa-item>
 				</el-form>
-				<el-button type="primary" icon="el-icon-plus" @click="add()" v-if="currentCustomerId=='1'">新增</el-button>
-				<el-button type="success" icon="el-icon-view" @click="getBySelect()" >查看</el-button>
-				<el-button type="danger" icon="el-icon-delete" @click="deleteByIds()" v-if="currentCustomerId=='1'">删除</el-button>
-				<el-button type="info"  icon="el-icon-refresh"  @click="sa.f5()">重置</el-button>
+				<el-button type="primary" icon="el-icon-plus" @click="add()" v-if="currentCustomerId=='1'">新增
+				</el-button>
+				<el-button type="success" icon="el-icon-view" @click="getBySelect()">查看</el-button>
+				<el-button type="danger" icon="el-icon-delete" @click="deleteByIds()" v-if="currentCustomerId=='1'">删除
+				</el-button>
+				<el-button type="info" icon="el-icon-refresh" @click="sa.f5()">重置</el-button>
 				<!-- ------------- 数据列表 ------------- -->
-				<el-table class="data-table" ref="data-table" :data="dataList" >
+				<el-table class="data-table" ref="data-table" :data="dataList">
 					<sa-td type="selection"></sa-td>
-					<sa-td name="名称" prop="name" ></sa-td>
-					<sa-td name="联系号码" prop="phone" ></sa-td>
-					<sa-td name="负责人" prop="dutyPeople" ></sa-td>
+					<sa-td name="名称" prop="name"></sa-td>
+					<sa-td name="联系人" prop="dutyPeople"></sa-td>
+					<sa-td name="联系号码" prop="phone"></sa-td>
 					<sa-td name="结算类型" prop="payType" type="enum" :jv="{1: '现结', 2: '月结'}"></sa-td>
-					<sa-td name="地址" prop="addressStr" ></sa-td>
+					<!-- <sa-td name="地址" prop="addressStr" ></sa-td> -->
 					<sa-td name="营业执照" prop="businessLicence" type="img"></sa-td>
-					<sa-td name="是否启用" prop="status" type="switch" :jv="{0: '否[#ff0000]', 1: '是[#005500]'}" @change="s => updateStatus(s.row)"></sa-td>
-					<sa-td name="创建时间" prop="creareTime" ></sa-td>
+					<sa-td name="是否启用" prop="status" type="switch" :jv="{0: '否[#ff0000]', 1: '是[#005500]'}"
+						@change="s => updateStatus(s.row)"></sa-td>
+					<sa-td name="创建时间" prop="creareTime"></sa-td>
 					<sa-td name="审核状态" prop="judgeStatus" type="enum" :jv="{1: '未审核', 2: '已通过', 3: '不通过'}"></sa-td>
 					<sa-td name="审核时间" prop="judgeTime" width="160px"></sa-td>
-					<el-table-column label="操作" fixed="right"  width="320px">
+					<el-table-column label="操作" fixed="right" width="320px">
 						<template slot-scope="s">
-							<el-button class="c-btn" type="success" icon="el-icon-view" @click="get(s.row)">查看</el-button>
-							<el-button class="c-btn" type="success" icon="el-icon-view" v-if="s.row.judgeStatus==1" @click="judgeFn(s.row)">
+							<el-button class="c-btn" type="success" icon="el-icon-view" @click="get(s.row)">查看
+							</el-button>
+							<el-button class="c-btn" type="success" icon="el-icon-view" v-if="s.row.judgeStatus==1"
+								@click="judgeFn(s.row)">
 								审核
 							</el-button>
-							<el-button class="c-btn" type="primary" icon="el-icon-edit" @click="update(s.row)">修改</el-button>
-							<el-button class="c-btn" type="primary" icon="el-icon-user-solid" @click="userFn(s.row)">用户</el-button>
-							<el-button v=if="currentCustomerId==1" class="c-btn" type="danger" icon="el-icon-delete" @click="del(s.row)">删除</el-button>
+							<el-button class="c-btn" type="primary" icon="el-icon-edit" @click="update(s.row)">修改
+							</el-button>
+							<el-button class="c-btn" type="primary" icon="el-icon-user-solid" @click="userFn(s.row)">用户
+							</el-button>
+							<el-button v=if="currentCustomerId==1" class="c-btn" type="danger" icon="el-icon-delete"
+								@click="del(s.row)">删除</el-button>
 						</template>
 					</el-table-column>
 				</el-table>
 				<!-- ------------- 分页 ------------- -->
-				<sa-item type="page" :curr.sync="p.pageNo" :size.sync="p.pageSize" :total="dataCount" @change="f5()"></sa-item>
+				<sa-item type="page" :curr.sync="p.pageNo" :size.sync="p.pageSize" :total="dataCount" @change="f5()">
+				</sa-item>
 			</div>
-			<el-dialog title="审核"  :visible="modal.visible" width="500px">
+			<el-dialog title="审核" :visible="modal.visible" width="500px">
 				<el-form size="mini">
 					<div class="c-item br">
 						<label class="c-label"><label style="color: red">*</label>审核意见:</label>
@@ -82,7 +92,7 @@
 					</div>
 				</el-form>
 				<span slot="footer" class="dialog-footer">
-					<el-button  @click="modal.visible=false">关闭</el-button>
+					<el-button @click="modal.visible=false">关闭</el-button>
 					<el-button type="danger" @click="sureJudge(3)">不通过</el-button>
 					<el-button type="primary" @click="sureJudge(2)">通过</el-button>
 				</span>
@@ -91,75 +101,75 @@
 		<script>
 			var app = new Vue({
 				components: {
-					"sa-item": httpVueLoader('../../sa-frame/com/sa-item.vue'),  
-					"sa-td": httpVueLoader('../../sa-frame/com/sa-td.vue'),		
+					"sa-item": httpVueLoader('../../sa-frame/com/sa-item.vue'),
+					"sa-td": httpVueLoader('../../sa-frame/com/sa-td.vue'),
 				},
 				el: '.vue-box',
 				data: {
-					modal:{
-					visible:false,
-						form:{
-							id:'',
-							judgeContent:'审核通过'
+					modal: {
+						visible: false,
+						form: {
+							id: '',
+							judgeContent: '审核通过'
 						}
 					},
 					p: { // 查询参数  
-						id: '',		// 主键 
-						name: '',		// 名称 
-						phone: '',		// 联系号码 
-						dutyPeople: '',		// 负责人 
-						addressIds: '',		// 地址id 
-						addressStr: '',		// 地址 
-						status: '',		// 状态(0=否,1=是) 
-						creareTime: '',		// 创建时间 
-						judgeStatus: '',		// 审核状态(1=未审核,2审核通过,3审核不通过) 
-						judgeTime: '',		// 审核时间 
-						judgeContent: '',		// 审核意见 
-						pageNo: 1,		// 当前页 
-						pageSize: 10,	// 页大小 
-						sortType: 0		// 排序方式 
+						id: '', // 主键 
+						name: '', // 名称 
+						phone: '', // 联系号码 
+						dutyPeople: '', // 负责人 
+						addressIds: '', // 地址id 
+						addressStr: '', // 地址 
+						status: '', // 状态(0=否,1=是) 
+						creareTime: '', // 创建时间 
+						judgeStatus: '', // 审核状态(1=未审核,2审核通过,3审核不通过) 
+						judgeTime: '', // 审核时间 
+						judgeContent: '', // 审核意见 
+						pageNo: 1, // 当前页 
+						pageSize: 10, // 页大小 
+						sortType: 0 // 排序方式 
 					},
 					dataCount: 0,
 					dataList: [], // 数据集合 
-					currentCustomerId:'1',
+					currentCustomerId: '1',
 				},
 				methods: {
-					judgeFn(data){
-						Object.assign(this.modal,{
-							visible:true,
-							form:{
-								id:data.id,
-								judgeContent:data.judgeContent,
-								judgeStatus:data.judgeStatus
+					judgeFn(data) {
+						Object.assign(this.modal, {
+							visible: true,
+							form: {
+								id: data.id,
+								judgeContent: data.judgeContent,
+								judgeStatus: data.judgeStatus
 							}
 						})
 					},
-					sureJudge(status){
-						if(this.modal.form.judgeStatus==2){
+					sureJudge(status) {
+						if (this.modal.form.judgeStatus == 2) {
 							sa.error('已审核通过,无需再审核')
 							return;
 						}
-						let content="审核通过";
-						if(status==3){
-							if(!this.modal.form.judgeContent){
+						let content = "审核通过";
+						if (status == 3) {
+							if (!this.modal.form.judgeContent) {
 								sa.error('请输入审核意见');
 								return;
 							}
-						}else{
-						this.modal.form.judgeContent=content;
+						} else {
+							this.modal.form.judgeContent = content;
 						}
-						this.modal.form.judgeStatus=status;
-						sa.ajax('/TbCostomer/judge',this.modal.form,function(resp){
-							this.modal.visible=false;
+						this.modal.form.judgeStatus = status;
+						sa.ajax('/TbCostomer/judge', this.modal.form, function(resp) {
+							this.modal.visible = false;
 							this.f5();
 						}.bind(this))
 					},
-					getCustomer(){
+					getCustomer() {
 						sa.ajax('/TbCostomer/getCurrentCustomerId', function(resp) {
-							this.currentCustomerId=resp.data;
+							this.currentCustomerId = resp.data;
 						}.bind(this));
 					},
-					userFn(data){
+					userFn(data) {
 						sa.showIframe('企业用户', 'customer-admin-list.html?customerId=' + data.id, '1050px', '90%');
 					},
 					// 刷新
@@ -167,7 +177,7 @@
 						sa.ajax('/TbCostomer/getList', sa.removeNull(this.p), function(res) {
 							this.dataList = res.data; // 数据
 							this.dataCount = res.dataCount; // 数据总数 
-							sa.f5TableHeight();		// 刷新表格高度 
+							sa.f5TableHeight(); // 刷新表格高度 
 						}.bind(this));
 					},
 					// 查看
@@ -177,7 +187,7 @@
 					// 查看 - 根据选中的
 					getBySelect: function(data) {
 						var selection = this.$refs['data-table'].selection;
-						if(selection.length == 0) {
+						if (selection.length == 0) {
 							return sa.msg('请选择一条数据')
 						}
 						this.get(selection[0]);
@@ -196,7 +206,7 @@
 							sa.ajax('/TbCostomer/delete?id=' + data.id, function(res) {
 								sa.arrayDelete(this.dataList, data);
 								sa.ok('删除成功');
-								sa.f5TableHeight();		// 刷新表格高度 
+								sa.f5TableHeight(); // 刷新表格高度 
 							}.bind(this))
 						}.bind(this));
 					},
@@ -205,31 +215,36 @@
 						// 获取选中元素的id列表 
 						let selection = this.$refs['data-table'].selection;
 						let ids = sa.getArrayField(selection, 'id');
-						if(selection.length == 0) {
+						if (selection.length == 0) {
 							return sa.msg('请至少选择一条数据')
 						}
 						// 提交删除 
 						sa.confirm('是否批量删除选中数据?此操作不可撤销', function() {
-							sa.ajax('/TbCostomer/deleteByIds', {ids: ids.join(',')}, function(res) {
+							sa.ajax('/TbCostomer/deleteByIds', {
+								ids: ids.join(',')
+							}, function(res) {
 								sa.arrayDelete(this.dataList, selection);
 								sa.ok('删除成功');
-								sa.f5TableHeight();		// 刷新表格高度 
+								sa.f5TableHeight(); // 刷新表格高度 
 							}.bind(this))
 						}.bind(this));
 					},
 					// 改 - 状态(0=否,1=是)
 					updateStatus: function(data) {
 						// 声明变量记录是否成功 
-						var isOk = false;	
+						var isOk = false;
 						var oldValue = data.status;
-						var ajax = sa.ajax('/TbCostomer/updateStatus', {id: data.id, value: data.status}, function(res) {
+						var ajax = sa.ajax('/TbCostomer/updateStatus', {
+							id: data.id,
+							value: data.status
+						}, function(res) {
 							isOk = true;
 							sa.msg('修改成功');
 						}.bind(this));
 						// 如果未能修改成功, 则回滚 
 						$.when(ajax).done(function() {
-							if(isOk == false) {
-								data.status = oldValue; 
+							if (isOk == false) {
+								data.status = oldValue;
 							}
 						})
 					},

+ 2 - 1
sp-server/src/main/java/com/pj/project/tb_business/TbBusinessController.java

@@ -96,7 +96,8 @@ public class TbBusinessController {
 		}
 		SoMap so = SoMap.getRequestSoMap();
 		List<String>ids=so.getListByComma("ids",String.class);
-		tbBusinessService.adminConfirmPay(ids);
+		String ticket=so.getString("payTicket");
+		tbBusinessService.adminConfirmPay(ids,ticket);
 		return AjaxJson.getSuccess();
 	}
 

+ 2 - 2
sp-server/src/main/java/com/pj/project/tb_business/TbBusinessService.java

@@ -213,11 +213,11 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
         });
     }
 
-    public void adminConfirmPay(List<String> ids) {
+    public void adminConfirmPay(List<String> ids,String ticket) {
         ids.forEach(id -> {
             TbBusiness business = this.getById(id);
             business.setAdminConfirmPayTime(new Date()).setAdminConfirmPay(1).setAdminConfirmPayBy(StpUserUtil.getAdmin().getName())
-                    .setPayStatus(3);
+                    .setPayStatus(3).setPayTicket(ticket);
             this.updateById(business);
         });
     }