
66 changed files with 3367 additions and 528 deletions
@ -0,0 +1,48 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.api.basetrailer; |
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class PayApplyTrailerQuery implements Query { |
|||
|
|||
@ApiModelProperty("挂车名称") |
|||
private String trailerTypeValue; |
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; |
|||
@ApiModelProperty("主车车架号") |
|||
private String zcVinNo; |
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; |
|||
|
|||
private String useOrgSid; |
|||
private List<String> sids; |
|||
} |
@ -0,0 +1,63 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.api.basetrailer; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
@Data |
|||
public class PayApplyTrailerVo implements Vo { |
|||
|
|||
@ApiModelProperty("挂车名称") |
|||
private String trailerTypeValue; // 挂车名称
|
|||
@ApiModelProperty("外观尺寸") |
|||
private String size; // 外观尺寸
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; // 车架号
|
|||
@ApiModelProperty("挂车sid") |
|||
private String trailerSid; // 挂车sid
|
|||
@ApiModelProperty("箱体颜色") |
|||
private String color; // 箱体颜色
|
|||
@ApiModelProperty("厂家结算价") |
|||
private BigDecimal costPrice; // 厂家结算价
|
|||
@ApiModelProperty("品牌名称") |
|||
private String brandName; // 品牌名称
|
|||
@ApiModelProperty("车型别名") |
|||
private String vehModel; // 车型别名
|
|||
@ApiModelProperty("主车车架号") |
|||
private String zcVinNo; // 主车车架号
|
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; // 合同编号
|
|||
@ApiModelProperty("销售订单号") |
|||
private String saleOrderNo; // 销售订单号
|
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; // 客户名称
|
|||
@ApiModelProperty("销售类型") |
|||
private String payType; // 销售类型
|
|||
} |
@ -0,0 +1,46 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.api.basevehinstall; |
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class PayApplyTopQuery implements Query { |
|||
|
|||
@ApiModelProperty("上装名称") |
|||
private String installNameValue; |
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; |
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; |
|||
|
|||
private String useOrgSid; |
|||
private List<String> sids; |
|||
} |
@ -0,0 +1,63 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.api.basevehinstall; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
@Data |
|||
public class PayApplyTopVo implements Vo { |
|||
|
|||
@ApiModelProperty("付款申请sid") |
|||
private String applySid; |
|||
@ApiModelProperty("上装名称") |
|||
private String installNameValue; |
|||
@ApiModelProperty("货箱内部尺寸") |
|||
private String size; |
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; |
|||
@ApiModelProperty("上装sid") |
|||
private String topSid; |
|||
@ApiModelProperty("箱体颜色") |
|||
private String color; |
|||
@ApiModelProperty("厂家结算价") |
|||
private BigDecimal costPrice; |
|||
@ApiModelProperty("品牌名称") |
|||
private String brandName; |
|||
@ApiModelProperty("车型别名") |
|||
private String vehModel; |
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; |
|||
@ApiModelProperty("销售订单号") |
|||
private String saleOrderNo; |
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; |
|||
@ApiModelProperty("销售类型") |
|||
private String payType; |
|||
} |
@ -0,0 +1,168 @@ |
|||
<template> |
|||
<div class="app-container"> |
|||
<div> |
|||
<div class="tab-header webtop"> |
|||
<div>选择上装页面</div> |
|||
<div> |
|||
<el-button type="primary" size="small" @click="handleConfirm">确定</el-button> |
|||
<el-button type="info" size="small" @click="handleColse()">关闭</el-button> |
|||
</div> |
|||
</div> |
|||
<div class="main-content"> |
|||
<div class="searchcon"> |
|||
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button> |
|||
<div v-show="isSearchShow" class="search"> |
|||
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header"> |
|||
<el-form-item label="上装名称"> |
|||
<el-input v-model="listQuery.params.installNameValue" placeholder="" clearable /> |
|||
</el-form-item> |
|||
<el-form-item label="车架号"> |
|||
<el-input v-model="listQuery.params.vinNo" placeholder="" clearable /> |
|||
</el-form-item> |
|||
<el-form-item label="客户名称"> |
|||
<el-input v-model="listQuery.params.customerName" placeholder="" clearable /> |
|||
</el-form-item> |
|||
</el-form> |
|||
<div class="btn" style="text-align: center;"> |
|||
<el-button type="primary" icon="el-icon-search" @click="handleFilter" size="small">查询</el-button> |
|||
<el-button type="primary" icon="el-icon-refresh" @click="handleReset" size="small">重置</el-button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="listtop"> |
|||
<div class="tit">上装列表</div> |
|||
</div> |
|||
<div class=""> |
|||
<el-table :key="tableKey" ref="multipleTable" v-loading="listLoading" :data="list" border style="width: 100%" @selection-change="handleSelectionChange"> |
|||
<el-table-column width="50" type="selection" align="center"/> |
|||
<el-table-column width="80" label="序号" type="index" :index="indexMethod" align="center"/> |
|||
<el-table-column prop="installNameValue" label="上装名称" align="center" /> |
|||
<el-table-column prop="vinNo" label="车架号" align="center" /> |
|||
<el-table-column prop="brandName" label="主车品牌" align="center" /> |
|||
<el-table-column prop="customerName" label="客户名称" align="center" /> |
|||
</el-table> |
|||
</div> |
|||
<div class="pages"> |
|||
<div class="tit"/> |
|||
<!-- 翻页 --> |
|||
<Pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import Pagination from '@/components/pagination' |
|||
import req from '@/api/anruifinmanagement/payment' |
|||
|
|||
export default { |
|||
name: 'Top', |
|||
components: { |
|||
Pagination |
|||
}, |
|||
data() { |
|||
return { |
|||
isSearchShow: false, |
|||
searchxianshitit: '隐藏查询条件', |
|||
tableKey: 0, |
|||
sids: [], |
|||
list: [], |
|||
multipleSelection: [], |
|||
listLoading: false, |
|||
listQuery: { |
|||
current: 1, |
|||
size: 5, |
|||
params: { |
|||
installNameValue: '', |
|||
useOrgSid: '', |
|||
vinNo: '', |
|||
customerName: '', |
|||
sids: [] |
|||
}, |
|||
total: 0 |
|||
} |
|||
} |
|||
}, |
|||
methods: { |
|||
// 搜索条件效果 |
|||
clicksearchShow() { |
|||
this.isSearchShow = !this.isSearchShow |
|||
if (this.isSearchShow) { |
|||
this.searchxianshitit = '隐藏查询条件' |
|||
} else { |
|||
this.searchxianshitit = '显示查询条件' |
|||
} |
|||
}, |
|||
indexMethod(index) { |
|||
var pagestart = (this.listQuery.current - 1) * this.listQuery.size |
|||
var pageindex = index + 1 + pagestart |
|||
return pageindex |
|||
}, |
|||
handleSelectionChange(row) { |
|||
this.multipleSelection = row |
|||
}, |
|||
showData(value, useOrgSid) { |
|||
const aa = [] |
|||
if (value.length > 0) { |
|||
for (var i = 0; i < value.length; i++) { |
|||
aa.push(value[i].topSid) |
|||
} |
|||
this.listQuery.params.sids = aa |
|||
} else { |
|||
this.listQuery.params.sids = [] |
|||
} |
|||
this.listQuery.params.useOrgSid = useOrgSid |
|||
this.handleReset() |
|||
}, |
|||
// 查询列表信息 |
|||
getList() { |
|||
this.listLoading = true |
|||
req.topApply(this.listQuery).then((response) => { |
|||
this.listLoading = false |
|||
if (response.success) { |
|||
this.listQuery.total = response.data.total |
|||
this.list = response.data.records |
|||
} else { |
|||
this.listQuery.total = 0 |
|||
this.list = [] |
|||
} |
|||
}) |
|||
}, |
|||
// 查询按钮 |
|||
handleFilter() { |
|||
this.listQuery.current = 1 |
|||
this.getList() |
|||
}, |
|||
// 重置按钮 |
|||
handleReset() { |
|||
this.listQuery.current = 1 |
|||
this.listQuery.size = 5 |
|||
this.listQuery.total = 0 |
|||
this.listQuery.params.installNameValue = '' |
|||
this.listQuery.params.vinNo = '' |
|||
this.listQuery.params.customerName = '' |
|||
this.getList() |
|||
}, |
|||
// 添加修改返回 |
|||
handleConfirm() { |
|||
if (this.multipleSelection.length > 0) { |
|||
this.listQuery.params.useOrgSid = '' |
|||
this.listQuery.params.sids = [] |
|||
this.$emit('backData', this.multipleSelection) |
|||
} else { |
|||
this.$notify({ title: '提示', message: '请选择至少一条记录!', type: 'error', duration: 2000 }) |
|||
} |
|||
}, |
|||
// 返回 |
|||
handleColse() { |
|||
this.listQuery.params.useOrgSid = '' |
|||
this.listQuery.params.sids = [] |
|||
this.$emit('doback') |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped> |
|||
</style> |
@ -0,0 +1,174 @@ |
|||
<template> |
|||
<div class="app-container"> |
|||
<div> |
|||
<div class="tab-header webtop"> |
|||
<div>选择挂车页面</div> |
|||
<div> |
|||
<el-button type="primary" size="small" @click="handleConfirm">确定</el-button> |
|||
<el-button type="info" size="small" @click="handleColse()">关闭</el-button> |
|||
</div> |
|||
</div> |
|||
<div class="main-content"> |
|||
<div class="searchcon"> |
|||
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button> |
|||
<div v-show="isSearchShow" class="search"> |
|||
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header"> |
|||
<el-form-item label="挂车名称"> |
|||
<el-input v-model="listQuery.params.trailerTypeValue" placeholder="" clearable /> |
|||
</el-form-item> |
|||
<el-form-item label="挂车车架号"> |
|||
<el-input v-model="listQuery.params.vinNo" placeholder="" clearable /> |
|||
</el-form-item> |
|||
<el-form-item label="主车车架号"> |
|||
<el-input v-model="listQuery.params.zcVinNo" placeholder="" clearable /> |
|||
</el-form-item> |
|||
<el-form-item label="客户名称"> |
|||
<el-input v-model="listQuery.params.customerName" placeholder="" clearable /> |
|||
</el-form-item> |
|||
</el-form> |
|||
<div class="btn" style="text-align: center;"> |
|||
<el-button type="primary" icon="el-icon-search" @click="handleFilter" size="small">查询</el-button> |
|||
<el-button type="primary" icon="el-icon-refresh" @click="handleReset" size="small">重置</el-button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="listtop"> |
|||
<div class="tit">挂车列表</div> |
|||
</div> |
|||
<div class=""> |
|||
<el-table :key="tableKey" ref="multipleTable" v-loading="listLoading" :data="list" border style="width: 100%" @selection-change="handleSelectionChange"> |
|||
<el-table-column width="50" type="selection" align="center"/> |
|||
<el-table-column width="80" label="序号" type="index" :index="indexMethod" align="center"/> |
|||
<el-table-column prop="trailerTypeValue" label="挂车名称" align="center" /> |
|||
<el-table-column prop="vinNo" label="挂车车架号" align="center" /> |
|||
<el-table-column prop="brandName" label="主车品牌" align="center" /> |
|||
<el-table-column prop="zcVinNo" label="主车车架号" align="center" /> |
|||
<el-table-column prop="customerName" label="客户名称" align="center" /> |
|||
</el-table> |
|||
</div> |
|||
<div class="pages"> |
|||
<div class="tit"/> |
|||
<!-- 翻页 --> |
|||
<Pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import Pagination from '@/components/pagination' |
|||
import req from '@/api/anruifinmanagement/payment' |
|||
|
|||
export default { |
|||
name: 'TrailerCar', |
|||
components: { |
|||
Pagination |
|||
}, |
|||
data() { |
|||
return { |
|||
isSearchShow: false, |
|||
searchxianshitit: '隐藏查询条件', |
|||
tableKey: 0, |
|||
sids: [], |
|||
list: [], |
|||
multipleSelection: [], |
|||
listLoading: false, |
|||
listQuery: { |
|||
current: 1, |
|||
size: 5, |
|||
params: { |
|||
trailerTypeValue: '', |
|||
useOrgSid: '', |
|||
vinNo: '', |
|||
zcVinNo: '', |
|||
customerName: '', |
|||
sids: [] |
|||
}, |
|||
total: 0 |
|||
} |
|||
} |
|||
}, |
|||
methods: { |
|||
// 搜索条件效果 |
|||
clicksearchShow() { |
|||
this.isSearchShow = !this.isSearchShow |
|||
if (this.isSearchShow) { |
|||
this.searchxianshitit = '隐藏查询条件' |
|||
} else { |
|||
this.searchxianshitit = '显示查询条件' |
|||
} |
|||
}, |
|||
indexMethod(index) { |
|||
var pagestart = (this.listQuery.current - 1) * this.listQuery.size |
|||
var pageindex = index + 1 + pagestart |
|||
return pageindex |
|||
}, |
|||
handleSelectionChange(row) { |
|||
this.multipleSelection = row |
|||
}, |
|||
showData(value, useOrgSid) { |
|||
const aa = [] |
|||
if (value.length > 0) { |
|||
for (var i = 0; i < value.length; i++) { |
|||
aa.push(value[i].trailerSid) |
|||
} |
|||
this.listQuery.params.sids = aa |
|||
} else { |
|||
this.listQuery.params.sids = [] |
|||
} |
|||
this.listQuery.params.useOrgSid = useOrgSid |
|||
this.handleReset() |
|||
}, |
|||
// 查询列表信息 |
|||
getList() { |
|||
this.listLoading = true |
|||
req.trailerApply(this.listQuery).then((response) => { |
|||
this.listLoading = false |
|||
if (response.success) { |
|||
this.listQuery.total = response.data.total |
|||
this.list = response.data.records |
|||
} else { |
|||
this.listQuery.total = 0 |
|||
this.list = [] |
|||
} |
|||
}) |
|||
}, |
|||
// 查询按钮 |
|||
handleFilter() { |
|||
this.listQuery.current = 1 |
|||
this.getList() |
|||
}, |
|||
// 重置按钮 |
|||
handleReset() { |
|||
this.listQuery.current = 1 |
|||
this.listQuery.size = 5 |
|||
this.listQuery.total = 0 |
|||
this.listQuery.params.trailerTypeValue = '' |
|||
this.listQuery.params.vinNo = '' |
|||
this.listQuery.params.zcVinNo = '' |
|||
this.listQuery.params.customerName = '' |
|||
this.getList() |
|||
}, |
|||
// 添加修改返回 |
|||
handleConfirm() { |
|||
if (this.multipleSelection.length > 0) { |
|||
this.listQuery.params.useOrgSid = '' |
|||
this.listQuery.params.sids = [] |
|||
this.$emit('backData', this.multipleSelection) |
|||
} else { |
|||
this.$notify({ title: '提示', message: '请选择至少一条记录!', type: 'error', duration: 2000 }) |
|||
} |
|||
}, |
|||
// 返回 |
|||
handleColse() { |
|||
this.listQuery.params.useOrgSid = '' |
|||
this.listQuery.params.sids = [] |
|||
this.$emit('doback') |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped> |
|||
</style> |
@ -0,0 +1,168 @@ |
|||
<template> |
|||
<div class="app-container"> |
|||
<div> |
|||
<div class="tab-header webtop"> |
|||
<div>选择上装页面</div> |
|||
<div> |
|||
<el-button type="primary" size="small" @click="handleConfirm">确定</el-button> |
|||
<el-button type="info" size="small" @click="handleColse()">关闭</el-button> |
|||
</div> |
|||
</div> |
|||
<div class=""> |
|||
<div class="searchcon"> |
|||
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button> |
|||
<div v-show="isSearchShow" class="search"> |
|||
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header"> |
|||
<el-form-item label="上装名称"> |
|||
<el-input v-model="listQuery.params.installNameValue" placeholder="" clearable /> |
|||
</el-form-item> |
|||
<el-form-item label="车架号"> |
|||
<el-input v-model="listQuery.params.vinNo" placeholder="" clearable /> |
|||
</el-form-item> |
|||
<el-form-item label="客户名称"> |
|||
<el-input v-model="listQuery.params.customerName" placeholder="" clearable /> |
|||
</el-form-item> |
|||
</el-form> |
|||
<div class="btn" style="text-align: center;"> |
|||
<el-button type="primary" icon="el-icon-search" @click="handleFilter" size="small">查询</el-button> |
|||
<el-button type="primary" icon="el-icon-refresh" @click="handleReset" size="small">重置</el-button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="listtop"> |
|||
<div class="tit">上装列表</div> |
|||
</div> |
|||
<div class=""> |
|||
<el-table :key="tableKey" ref="multipleTable" v-loading="listLoading" :data="list" border style="width: 100%" @selection-change="handleSelectionChange"> |
|||
<el-table-column width="50" type="selection" align="center"/> |
|||
<el-table-column width="80" label="序号" type="index" :index="indexMethod" align="center"/> |
|||
<el-table-column prop="installNameValue" label="上装名称" align="center" /> |
|||
<el-table-column prop="vinNo" label="车架号" align="center" /> |
|||
<el-table-column prop="brandName" label="主车品牌" align="center" /> |
|||
<el-table-column prop="customerName" label="客户名称" align="center" /> |
|||
</el-table> |
|||
</div> |
|||
<div class="pages"> |
|||
<div class="tit"/> |
|||
<!-- 翻页 --> |
|||
<Pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import Pagination from '@/components/pagination' |
|||
import req from '@/api/anruifinmanagement/payment' |
|||
|
|||
export default { |
|||
name: 'Top', |
|||
components: { |
|||
Pagination |
|||
}, |
|||
data() { |
|||
return { |
|||
isSearchShow: false, |
|||
searchxianshitit: '隐藏查询条件', |
|||
tableKey: 0, |
|||
sids: [], |
|||
list: [], |
|||
multipleSelection: [], |
|||
listLoading: false, |
|||
listQuery: { |
|||
current: 1, |
|||
size: 5, |
|||
params: { |
|||
installNameValue: '', |
|||
useOrgSid: '', |
|||
vinNo: '', |
|||
customerName: '', |
|||
sids: [] |
|||
}, |
|||
total: 0 |
|||
} |
|||
} |
|||
}, |
|||
methods: { |
|||
// 搜索条件效果 |
|||
clicksearchShow() { |
|||
this.isSearchShow = !this.isSearchShow |
|||
if (this.isSearchShow) { |
|||
this.searchxianshitit = '隐藏查询条件' |
|||
} else { |
|||
this.searchxianshitit = '显示查询条件' |
|||
} |
|||
}, |
|||
indexMethod(index) { |
|||
var pagestart = (this.listQuery.current - 1) * this.listQuery.size |
|||
var pageindex = index + 1 + pagestart |
|||
return pageindex |
|||
}, |
|||
handleSelectionChange(row) { |
|||
this.multipleSelection = row |
|||
}, |
|||
showData(value, useOrgSid) { |
|||
const aa = [] |
|||
if (value.length > 0) { |
|||
for (var i = 0; i < value.length; i++) { |
|||
aa.push(value[i].topSid) |
|||
} |
|||
this.listQuery.params.sids = aa |
|||
} else { |
|||
this.listQuery.params.sids = [] |
|||
} |
|||
this.listQuery.params.useOrgSid = useOrgSid |
|||
this.handleReset() |
|||
}, |
|||
// 查询列表信息 |
|||
getList() { |
|||
this.listLoading = true |
|||
req.topApply(this.listQuery).then((response) => { |
|||
this.listLoading = false |
|||
if (response.success) { |
|||
this.listQuery.total = response.data.total |
|||
this.list = response.data.records |
|||
} else { |
|||
this.listQuery.total = 0 |
|||
this.list = [] |
|||
} |
|||
}) |
|||
}, |
|||
// 查询按钮 |
|||
handleFilter() { |
|||
this.listQuery.current = 1 |
|||
this.getList() |
|||
}, |
|||
// 重置按钮 |
|||
handleReset() { |
|||
this.listQuery.current = 1 |
|||
this.listQuery.size = 5 |
|||
this.listQuery.total = 0 |
|||
this.listQuery.params.installNameValue = '' |
|||
this.listQuery.params.vinNo = '' |
|||
this.listQuery.params.customerName = '' |
|||
this.getList() |
|||
}, |
|||
// 添加修改返回 |
|||
handleConfirm() { |
|||
if (this.multipleSelection.length > 0) { |
|||
this.listQuery.params.useOrgSid = '' |
|||
this.listQuery.params.sids = [] |
|||
this.$emit('backData', this.multipleSelection) |
|||
} else { |
|||
this.$notify({ title: '提示', message: '请选择至少一条记录!', type: 'error', duration: 2000 }) |
|||
} |
|||
}, |
|||
// 返回 |
|||
handleColse() { |
|||
this.listQuery.params.useOrgSid = '' |
|||
this.listQuery.params.sids = [] |
|||
this.$emit('doback') |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped> |
|||
</style> |
@ -0,0 +1,174 @@ |
|||
<template> |
|||
<div class="app-container"> |
|||
<div> |
|||
<div class="tab-header webtop"> |
|||
<div>选择挂车页面</div> |
|||
<div> |
|||
<el-button type="primary" size="small" @click="handleConfirm">确定</el-button> |
|||
<el-button type="info" size="small" @click="handleColse()">关闭</el-button> |
|||
</div> |
|||
</div> |
|||
<div class=""> |
|||
<div class="searchcon"> |
|||
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button> |
|||
<div v-show="isSearchShow" class="search"> |
|||
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header"> |
|||
<el-form-item label="挂车名称"> |
|||
<el-input v-model="listQuery.params.trailerTypeValue" placeholder="" clearable /> |
|||
</el-form-item> |
|||
<el-form-item label="挂车车架号"> |
|||
<el-input v-model="listQuery.params.vinNo" placeholder="" clearable /> |
|||
</el-form-item> |
|||
<el-form-item label="主车车架号"> |
|||
<el-input v-model="listQuery.params.zcVinNo" placeholder="" clearable /> |
|||
</el-form-item> |
|||
<el-form-item label="客户名称"> |
|||
<el-input v-model="listQuery.params.customerName" placeholder="" clearable /> |
|||
</el-form-item> |
|||
</el-form> |
|||
<div class="btn" style="text-align: center;"> |
|||
<el-button type="primary" icon="el-icon-search" @click="handleFilter" size="small">查询</el-button> |
|||
<el-button type="primary" icon="el-icon-refresh" @click="handleReset" size="small">重置</el-button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="listtop"> |
|||
<div class="tit">挂车列表</div> |
|||
</div> |
|||
<div class=""> |
|||
<el-table :key="tableKey" ref="multipleTable" v-loading="listLoading" :data="list" border style="width: 100%" @selection-change="handleSelectionChange"> |
|||
<el-table-column width="50" type="selection" align="center"/> |
|||
<el-table-column width="80" label="序号" type="index" :index="indexMethod" align="center"/> |
|||
<el-table-column prop="trailerTypeValue" label="挂车名称" align="center" /> |
|||
<el-table-column prop="vinNo" label="挂车车架号" align="center" /> |
|||
<el-table-column prop="brandName" label="主车品牌" align="center" /> |
|||
<el-table-column prop="zcVinNo" label="主车车架号" align="center" /> |
|||
<el-table-column prop="customerName" label="客户名称" align="center" /> |
|||
</el-table> |
|||
</div> |
|||
<div class="pages"> |
|||
<div class="tit"/> |
|||
<!-- 翻页 --> |
|||
<Pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import Pagination from '@/components/pagination' |
|||
import req from '@/api/anruifinmanagement/payment' |
|||
|
|||
export default { |
|||
name: 'TrailerCar', |
|||
components: { |
|||
Pagination |
|||
}, |
|||
data() { |
|||
return { |
|||
isSearchShow: false, |
|||
searchxianshitit: '隐藏查询条件', |
|||
tableKey: 0, |
|||
sids: [], |
|||
list: [], |
|||
multipleSelection: [], |
|||
listLoading: false, |
|||
listQuery: { |
|||
current: 1, |
|||
size: 5, |
|||
params: { |
|||
trailerTypeValue: '', |
|||
useOrgSid: '', |
|||
vinNo: '', |
|||
zcVinNo: '', |
|||
customerName: '', |
|||
sids: [] |
|||
}, |
|||
total: 0 |
|||
} |
|||
} |
|||
}, |
|||
methods: { |
|||
// 搜索条件效果 |
|||
clicksearchShow() { |
|||
this.isSearchShow = !this.isSearchShow |
|||
if (this.isSearchShow) { |
|||
this.searchxianshitit = '隐藏查询条件' |
|||
} else { |
|||
this.searchxianshitit = '显示查询条件' |
|||
} |
|||
}, |
|||
indexMethod(index) { |
|||
var pagestart = (this.listQuery.current - 1) * this.listQuery.size |
|||
var pageindex = index + 1 + pagestart |
|||
return pageindex |
|||
}, |
|||
handleSelectionChange(row) { |
|||
this.multipleSelection = row |
|||
}, |
|||
showData(value, useOrgSid) { |
|||
const aa = [] |
|||
if (value.length > 0) { |
|||
for (var i = 0; i < value.length; i++) { |
|||
aa.push(value[i].trailerSid) |
|||
} |
|||
this.listQuery.params.sids = aa |
|||
} else { |
|||
this.listQuery.params.sids = [] |
|||
} |
|||
this.listQuery.params.useOrgSid = useOrgSid |
|||
this.handleReset() |
|||
}, |
|||
// 查询列表信息 |
|||
getList() { |
|||
this.listLoading = true |
|||
req.trailerApply(this.listQuery).then((response) => { |
|||
this.listLoading = false |
|||
if (response.success) { |
|||
this.listQuery.total = response.data.total |
|||
this.list = response.data.records |
|||
} else { |
|||
this.listQuery.total = 0 |
|||
this.list = [] |
|||
} |
|||
}) |
|||
}, |
|||
// 查询按钮 |
|||
handleFilter() { |
|||
this.listQuery.current = 1 |
|||
this.getList() |
|||
}, |
|||
// 重置按钮 |
|||
handleReset() { |
|||
this.listQuery.current = 1 |
|||
this.listQuery.size = 5 |
|||
this.listQuery.total = 0 |
|||
this.listQuery.params.trailerTypeValue = '' |
|||
this.listQuery.params.vinNo = '' |
|||
this.listQuery.params.zcVinNo = '' |
|||
this.listQuery.params.customerName = '' |
|||
this.getList() |
|||
}, |
|||
// 添加修改返回 |
|||
handleConfirm() { |
|||
if (this.multipleSelection.length > 0) { |
|||
this.listQuery.params.useOrgSid = '' |
|||
this.listQuery.params.sids = [] |
|||
this.$emit('backData', this.multipleSelection) |
|||
} else { |
|||
this.$notify({ title: '提示', message: '请选择至少一条记录!', type: 'error', duration: 2000 }) |
|||
} |
|||
}, |
|||
// 返回 |
|||
handleColse() { |
|||
this.listQuery.params.useOrgSid = '' |
|||
this.listQuery.params.sids = [] |
|||
this.$emit('doback') |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped> |
|||
</style> |
@ -0,0 +1,82 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.finpaymentapplytop; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.BaseEntity; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* Project: anrui-fin(付款申请) <br/> |
|||
* File: FinPaymentapplyTop.java <br/> |
|||
* Class: com.yxt.anrui.fin.api.finpaymentapplytop.FinPaymentapplyTop <br/> |
|||
* Description: 付款申请上装. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2025-01-14 10:55:50 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "付款申请上装", description = "付款申请上装") |
|||
@TableName("fin_paymentapply_top") |
|||
public class FinPaymentapplyTop extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("付款申请sid") |
|||
private String applySid; // 付款申请sid
|
|||
@ApiModelProperty("上装名称") |
|||
private String installNameValue; // 上装名称
|
|||
@ApiModelProperty("货箱内部尺寸") |
|||
private String size; // 货箱内部尺寸
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; // 车架号
|
|||
@ApiModelProperty("上装sid") |
|||
private String topSid; // 上装sid
|
|||
@ApiModelProperty("箱体颜色") |
|||
private String color; // 箱体颜色
|
|||
@ApiModelProperty("厂家结算价") |
|||
private BigDecimal costPrice; // 厂家结算价
|
|||
@ApiModelProperty("品牌名称") |
|||
private String brandName; // 品牌名称
|
|||
@ApiModelProperty("车型别名") |
|||
private String vehModel; // 车型别名
|
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; // 合同编号
|
|||
@ApiModelProperty("销售订单号") |
|||
private String saleOrderNo; // 销售订单号
|
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; // 客户名称
|
|||
@ApiModelProperty("销售类型") |
|||
private String payType; // 销售类型
|
|||
|
|||
} |
@ -0,0 +1,83 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.finpaymentapplytop; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* Project: anrui-fin(付款申请) <br/> |
|||
* File: FinPaymentapplyTopVo.java <br/> |
|||
* Class: com.yxt.anrui.fin.api.finpaymentapplytop.FinPaymentapplyTopVo <br/> |
|||
* Description: 付款申请上装 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2025-01-14 10:55:50 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "付款申请上装 视图数据详情", description = "付款申请上装 视图数据详情") |
|||
public class FinPaymentapplyTopDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("付款申请sid") |
|||
private String applySid; // 付款申请sid
|
|||
@ApiModelProperty("上装名称") |
|||
private String installNameValue; // 上装名称
|
|||
@ApiModelProperty("货箱内部尺寸") |
|||
private String size; // 货箱内部尺寸
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; // 车架号
|
|||
@ApiModelProperty("上装sid") |
|||
private String topSid; // 上装sid
|
|||
@ApiModelProperty("箱体颜色") |
|||
private String color; // 箱体颜色
|
|||
@ApiModelProperty("厂家结算价") |
|||
private BigDecimal costPrice; // 厂家结算价
|
|||
@ApiModelProperty("品牌名称") |
|||
private String brandName; // 品牌名称
|
|||
@ApiModelProperty("车型别名") |
|||
private String vehModel; // 车型别名
|
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; // 合同编号
|
|||
@ApiModelProperty("销售订单号") |
|||
private String saleOrderNo; // 销售订单号
|
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; // 客户名称
|
|||
@ApiModelProperty("销售类型") |
|||
private String payType; // 销售类型
|
|||
|
|||
} |
@ -0,0 +1,83 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.finpaymentapplytop; |
|||
|
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* Project: anrui-fin(付款申请) <br/> |
|||
* File: FinPaymentapplyTopDto.java <br/> |
|||
* Class: com.yxt.anrui.fin.api.finpaymentapplytop.FinPaymentapplyTopDto <br/> |
|||
* Description: 付款申请上装 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2025-01-14 10:55:50 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "付款申请上装 数据传输对象", description = "付款申请上装 数据传输对象") |
|||
public class FinPaymentapplyTopDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("付款申请sid") |
|||
private String applySid; // 付款申请sid
|
|||
@ApiModelProperty("上装名称") |
|||
private String installNameValue; // 上装名称
|
|||
@ApiModelProperty("货箱内部尺寸") |
|||
private String size; // 货箱内部尺寸
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; // 车架号
|
|||
@ApiModelProperty("上装sid") |
|||
private String topSid; // 上装sid
|
|||
@ApiModelProperty("箱体颜色") |
|||
private String color; // 箱体颜色
|
|||
@ApiModelProperty("厂家结算价") |
|||
private BigDecimal costPrice; // 厂家结算价
|
|||
@ApiModelProperty("品牌名称") |
|||
private String brandName; // 品牌名称
|
|||
@ApiModelProperty("车型别名") |
|||
private String vehModel; // 车型别名
|
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; // 合同编号
|
|||
@ApiModelProperty("销售订单号") |
|||
private String saleOrderNo; // 销售订单号
|
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; // 客户名称
|
|||
@ApiModelProperty("销售类型") |
|||
private String payType; // 销售类型
|
|||
|
|||
} |
@ -0,0 +1,38 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.finpaymentapplytop; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
|
|||
@Api(tags = "付款申请上装") |
|||
@FeignClient( |
|||
contextId = "anrui-fin-FinPaymentapplyTop", |
|||
name = "anrui-fin", |
|||
path = "v1/finpaymentapplytop") |
|||
public interface FinPaymentapplyTopFeign { |
|||
|
|||
} |
@ -0,0 +1,84 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.finpaymentapplytrailer; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.BaseEntity; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* Project: anrui-fin(付款申请) <br/> |
|||
* File: FinPaymentapplyTrailer.java <br/> |
|||
* Class: com.yxt.anrui.fin.api.finpaymentapplytrailer.FinPaymentapplyTrailer <br/> |
|||
* Description: 付款申请挂车. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2025-01-14 10:55:50 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "付款申请挂车", description = "付款申请挂车") |
|||
@TableName("fin_paymentapply_trailer") |
|||
public class FinPaymentapplyTrailer extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("付款申请sid") |
|||
private String applySid; // 付款申请sid
|
|||
@ApiModelProperty("挂车名称") |
|||
private String trailerTypeValue; // 挂车名称
|
|||
@ApiModelProperty("外观尺寸") |
|||
private String size; // 外观尺寸
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; // 车架号
|
|||
@ApiModelProperty("挂车sid") |
|||
private String trailerSid; // 挂车sid
|
|||
@ApiModelProperty("箱体颜色") |
|||
private String color; // 箱体颜色
|
|||
@ApiModelProperty("厂家结算价") |
|||
private BigDecimal costPrice; // 厂家结算价
|
|||
@ApiModelProperty("品牌名称") |
|||
private String brandName; // 品牌名称
|
|||
@ApiModelProperty("车型别名") |
|||
private String vehModel; // 车型别名
|
|||
@ApiModelProperty("主车车架号") |
|||
private String zcVinNo; // 主车车架号
|
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; // 合同编号
|
|||
@ApiModelProperty("销售订单号") |
|||
private String saleOrderNo; // 销售订单号
|
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; // 客户名称
|
|||
@ApiModelProperty("销售类型") |
|||
private String payType; // 销售类型
|
|||
|
|||
} |
@ -0,0 +1,85 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.finpaymentapplytrailer; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* Project: anrui-fin(付款申请) <br/> |
|||
* File: FinPaymentapplyTrailerVo.java <br/> |
|||
* Class: com.yxt.anrui.fin.api.finpaymentapplytrailer.FinPaymentapplyTrailerVo <br/> |
|||
* Description: 付款申请挂车 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2025-01-14 10:55:50 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "付款申请挂车 视图数据详情", description = "付款申请挂车 视图数据详情") |
|||
public class FinPaymentapplyTrailerDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("付款申请sid") |
|||
private String applySid; // 付款申请sid
|
|||
@ApiModelProperty("挂车名称") |
|||
private String trailerTypeValue; // 挂车名称
|
|||
@ApiModelProperty("外观尺寸") |
|||
private String size; // 外观尺寸
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; // 车架号
|
|||
@ApiModelProperty("挂车sid") |
|||
private String trailerSid; // 挂车sid
|
|||
@ApiModelProperty("箱体颜色") |
|||
private String color; // 箱体颜色
|
|||
@ApiModelProperty("厂家结算价") |
|||
private BigDecimal costPrice; // 厂家结算价
|
|||
@ApiModelProperty("品牌名称") |
|||
private String brandName; // 品牌名称
|
|||
@ApiModelProperty("车型别名") |
|||
private String vehModel; // 车型别名
|
|||
@ApiModelProperty("主车车架号") |
|||
private String zcVinNo; // 主车车架号
|
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; // 合同编号
|
|||
@ApiModelProperty("销售订单号") |
|||
private String saleOrderNo; // 销售订单号
|
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; // 客户名称
|
|||
@ApiModelProperty("销售类型") |
|||
private String payType; // 销售类型
|
|||
|
|||
} |
@ -0,0 +1,85 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.finpaymentapplytrailer; |
|||
|
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* Project: anrui-fin(付款申请) <br/> |
|||
* File: FinPaymentapplyTrailerDto.java <br/> |
|||
* Class: com.yxt.anrui.fin.api.finpaymentapplytrailer.FinPaymentapplyTrailerDto <br/> |
|||
* Description: 付款申请挂车 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2025-01-14 10:55:50 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "付款申请挂车 数据传输对象", description = "付款申请挂车 数据传输对象") |
|||
public class FinPaymentapplyTrailerDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("付款申请sid") |
|||
private String applySid; // 付款申请sid
|
|||
@ApiModelProperty("挂车名称") |
|||
private String trailerTypeValue; // 挂车名称
|
|||
@ApiModelProperty("外观尺寸") |
|||
private String size; // 外观尺寸
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; // 车架号
|
|||
@ApiModelProperty("挂车sid") |
|||
private String trailerSid; // 挂车sid
|
|||
@ApiModelProperty("箱体颜色") |
|||
private String color; // 箱体颜色
|
|||
@ApiModelProperty("厂家结算价") |
|||
private BigDecimal costPrice; // 厂家结算价
|
|||
@ApiModelProperty("品牌名称") |
|||
private String brandName; // 品牌名称
|
|||
@ApiModelProperty("车型别名") |
|||
private String vehModel; // 车型别名
|
|||
@ApiModelProperty("主车车架号") |
|||
private String zcVinNo; // 主车车架号
|
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; // 合同编号
|
|||
@ApiModelProperty("销售订单号") |
|||
private String saleOrderNo; // 销售订单号
|
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; // 客户名称
|
|||
@ApiModelProperty("销售类型") |
|||
private String payType; // 销售类型
|
|||
|
|||
} |
@ -0,0 +1,38 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.finpaymentapplytrailer; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
|
|||
@Api(tags = "付款申请挂车") |
|||
@FeignClient( |
|||
contextId = "anrui-fin-FinPaymentapplyTrailer", |
|||
name = "anrui-fin", |
|||
path = "v1/finpaymentapplytrailer") |
|||
public interface FinPaymentapplyTrailerFeign { |
|||
|
|||
} |
@ -0,0 +1,45 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.biz.finpaymentapplytop; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.yxt.anrui.fin.api.finpaymentapplytop.FinPaymentapplyTopDetailsVo; |
|||
import org.apache.ibatis.annotations.Delete; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import com.yxt.anrui.fin.api.finpaymentapplytop.FinPaymentapplyTop; |
|||
import org.apache.ibatis.annotations.Select; |
|||
|
|||
import java.util.List; |
|||
|
|||
@Mapper |
|||
public interface FinPaymentapplyTopMapper extends BaseMapper<FinPaymentapplyTop> { |
|||
|
|||
@Delete("delete from fin_paymentapply_top where applySid = #{dtoSid}") |
|||
void delByMainSid(String dtoSid); |
|||
|
|||
@Select("select * from fin_paymentapply_top where applySid = #{mainSid}") |
|||
List<FinPaymentapplyTopDetailsVo> fetchByMainSid(String mainSid); |
|||
} |
@ -0,0 +1,6 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.yxt.anrui.fin.biz.finpaymentapplytop.FinPaymentapplyTopMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
</mapper> |
@ -0,0 +1,38 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.biz.finpaymentapplytop; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.yxt.anrui.fin.api.finpaymentapplytop.FinPaymentapplyTopFeign; |
|||
|
|||
@Api(tags = "付款申请上装") |
|||
@RestController |
|||
@RequestMapping("v1/finpaymentapplytop") |
|||
public class FinPaymentapplyTopRest implements FinPaymentapplyTopFeign { |
|||
|
|||
} |
@ -0,0 +1,73 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.biz.finpaymentapplytop; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.commons.lang3.StringUtils; |
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.yxt.common.base.utils.PagerUtil; |
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.anrui.fin.api.finpaymentapplytop.FinPaymentapplyTop; |
|||
import com.yxt.anrui.fin.api.finpaymentapplytop.FinPaymentapplyTopDetailsVo; |
|||
import com.yxt.anrui.fin.api.finpaymentapplytop.FinPaymentapplyTopDto; |
|||
|
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-fin(付款申请) <br/> |
|||
* File: FinPaymentapplyTopService.java <br/> |
|||
* Class: com.yxt.anrui.fin.biz.finpaymentapplytop.FinPaymentapplyTopService <br/> |
|||
* Description: 付款申请上装 业务逻辑. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2025-01-14 10:55:50 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class FinPaymentapplyTopService extends MybatisBaseService<FinPaymentapplyTopMapper, FinPaymentapplyTop> { |
|||
|
|||
public void insertByDto(FinPaymentapplyTopDto dto){ |
|||
FinPaymentapplyTop entity = new FinPaymentapplyTop(); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.insert(entity); |
|||
} |
|||
|
|||
public void delByMainSid(String dtoSid) { |
|||
baseMapper.delByMainSid(dtoSid); |
|||
} |
|||
|
|||
public List<FinPaymentapplyTopDetailsVo> fetchByMainSid(String mainSid) { |
|||
return baseMapper.fetchByMainSid(mainSid); |
|||
} |
|||
} |
@ -0,0 +1,45 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.biz.finpaymentapplytrailer; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.yxt.anrui.fin.api.finpaymentapplytrailer.FinPaymentapplyTrailerDetailsVo; |
|||
import org.apache.ibatis.annotations.Delete; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import com.yxt.anrui.fin.api.finpaymentapplytrailer.FinPaymentapplyTrailer; |
|||
import org.apache.ibatis.annotations.Select; |
|||
|
|||
import java.util.List; |
|||
|
|||
@Mapper |
|||
public interface FinPaymentapplyTrailerMapper extends BaseMapper<FinPaymentapplyTrailer> { |
|||
|
|||
@Delete("delete from fin_paymentapply_trailer where applySid = #{dtoSid}") |
|||
void delByMainSid(String dtoSid); |
|||
|
|||
@Select("select * from fin_paymentapply_trailer where applySid = #{mainSid}") |
|||
List<FinPaymentapplyTrailerDetailsVo> fetchByMainSid(String mainSid); |
|||
} |
@ -0,0 +1,6 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.yxt.anrui.fin.biz.finpaymentapplytrailer.FinPaymentapplyTrailerMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
</mapper> |
@ -0,0 +1,38 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.biz.finpaymentapplytrailer; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.yxt.anrui.fin.api.finpaymentapplytrailer.FinPaymentapplyTrailerFeign; |
|||
|
|||
@Api(tags = "付款申请挂车") |
|||
@RestController |
|||
@RequestMapping("v1/finpaymentapplytrailer") |
|||
public class FinPaymentapplyTrailerRest implements FinPaymentapplyTrailerFeign { |
|||
|
|||
} |
@ -0,0 +1,73 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.biz.finpaymentapplytrailer; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.commons.lang3.StringUtils; |
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.yxt.common.base.utils.PagerUtil; |
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.anrui.fin.api.finpaymentapplytrailer.FinPaymentapplyTrailer; |
|||
import com.yxt.anrui.fin.api.finpaymentapplytrailer.FinPaymentapplyTrailerDetailsVo; |
|||
import com.yxt.anrui.fin.api.finpaymentapplytrailer.FinPaymentapplyTrailerDto; |
|||
|
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-fin(付款申请) <br/> |
|||
* File: FinPaymentapplyTrailerService.java <br/> |
|||
* Class: com.yxt.anrui.fin.biz.finpaymentapplytrailer.FinPaymentapplyTrailerService <br/> |
|||
* Description: 付款申请挂车 业务逻辑. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2025-01-14 10:55:50 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class FinPaymentapplyTrailerService extends MybatisBaseService<FinPaymentapplyTrailerMapper, FinPaymentapplyTrailer> { |
|||
|
|||
public void insertByDto(FinPaymentapplyTrailerDto dto){ |
|||
FinPaymentapplyTrailer entity = new FinPaymentapplyTrailer(); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.insert(entity); |
|||
} |
|||
|
|||
public void delByMainSid(String dtoSid) { |
|||
baseMapper.delByMainSid(dtoSid); |
|||
} |
|||
|
|||
public List<FinPaymentapplyTrailerDetailsVo> fetchByMainSid(String mainSid) { |
|||
return baseMapper.fetchByMainSid(mainSid); |
|||
} |
|||
} |
Loading…
Reference in new issue