Browse Source

Merge remote-tracking branch 'origin/master'

zhanglei
ligaode 2 weeks ago
parent
commit
8a9e611b6b
  1. 2
      anrui-fin/anrui-fin-api/src/main/java/com/yxt/anrui/fin/api/kingdee/voucher/PaymentVoucher.java
  2. 5
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincollectionconfirmation/FinCollectionConfirmationService.java
  3. 16
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/kingdee/FinKingDeeFeignRest.java
  4. 111
      anrui-riskcenter-ui/src/api/transferToLitigation/transferToLitigation.js
  5. 38
      anrui-riskcenter-ui/src/router/index.js
  6. 55
      anrui-riskcenter-ui/src/views/courseofthecase/courseofthecase.vue
  7. 10
      anrui-riskcenter-ui/src/views/courseofthecase/courseofthecaseInfo.vue
  8. 356
      anrui-riskcenter-ui/src/views/transferToLitigation/transferToLitigation.vue
  9. 264
      anrui-riskcenter-ui/src/views/transferToLitigation/transferToLitigationAdd.vue
  10. 201
      anrui-riskcenter-ui/src/views/transferToLitigation/transferToLitigationInfo.vue
  11. 458
      anrui-riskcenter-ui/src/views/workFlow/zhuansusongFlow/transferToLitigationDaiBan.vue
  12. 244
      anrui-riskcenter-ui/src/views/workFlow/zhuansusongFlow/transferToLitigationEdit.vue
  13. 244
      anrui-riskcenter-ui/src/views/workFlow/zhuansusongFlow/transferToLitigationYiBan.vue
  14. 2
      anrui-riskcenter-ui/src/views/workFlow/zifangduizhangFlow/zifangduizhangDaiBan.vue
  15. 2
      anrui-riskcenter/anrui-riskcenter-api/src/main/java/com/yxt/anrui/riskcenter/api/loanvoucher/RskPaymentVoucher.java
  16. 19
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanbepadsincereapply/LoanBePadsincereApplyService.java
  17. 41
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanbuckleapply/LoanBuckleApplyService.java
  18. 268
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanlawsuitsubapply/LoanLawsuitSubApplyService.java
  19. 2
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanlawsuitsubveh/LoanLawsuitSubVehMapper.java
  20. 4
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanlawsuitsubveh/LoanLawsuitSubVehMapper.xml
  21. 4
      anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanlawsuitsubveh/LoanLawsuitSubVehService.java

2
anrui-fin/anrui-fin-api/src/main/java/com/yxt/anrui/fin/api/kingdee/voucher/PaymentVoucher.java

@ -60,5 +60,7 @@ public class PaymentVoucher {
public String type;
@ApiModelProperty("核算维度银行")
public String bank;
private Integer riskState;
}
}

5
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincollectionconfirmation/FinCollectionConfirmationService.java

@ -5362,7 +5362,10 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl
Voucher.VoucherResultDetailDto voucherResultDetailDtoDf3 = new Voucher.VoucherResultDetailDto();
all2 = all2.add(new BigDecimal(v.getSubscriptionMoney()));
voucherResultDetailDtoDf3.setSummary(customerNumber+"扣回车辆再次销售-资方结清费用");
voucherResultDetailDtoDf3.setSubjectNo("1201.03.01");
DictCommonVo dictCommonVo2 = dictCommonFeign.selectBykey(planDetails.getBankName(), "investorsCode").getData();
if (null != dictCommonVo2) {
voucherResultDetailDtoDf3.setSubjectNo(dictCommonVo.getDictValue());
}
//核算部门
voucherResultDetailDtoDf3.setDimensionDept(deptVo.getOrgCode());
//核算客户

16
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/kingdee/FinKingDeeFeignRest.java

@ -1818,6 +1818,22 @@ public class FinKingDeeFeignRest implements FinKingDeeFeign {
}
} else if (voucherDetail.getSceneCode().equals(SceneCodeEnum.PADSINCERE_VOUCHER4.getCode())) {
dto1.setSummary(voucherDetail.getBankName() + "垫款资方违约金");
if("1".equals(voucherDetail.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_扣回车辆
dto1.setSubjectNo("1201.03.01");
}else if("7".equals(voucherDetail.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_处置车辆_车辆处置损失
dto1.setSubjectNo("1201.03.04.01");
}else if("9".equals(voucherDetail.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_诉讼车辆
dto1.setSubjectNo("1201.03.03");
}else if("11".equals(voucherDetail.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_处置车辆_已诉讼
dto1.setSubjectNo("1201.03.04.02");
}else if("12".equals(voucherDetail.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_待执行
dto1.setSubjectNo("1201.03.05");
}
dto1.setSubjectNo("1201.03.01");
}

111
anrui-riskcenter-ui/src/api/transferToLitigation/transferToLitigation.js

@ -0,0 +1,111 @@
import request from '@/utils/request'
export default {
// 查询分页列表
listPage: function(params) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/listPage',
method: 'post',
data: params,
headers: { 'Content-Type': 'application/json' }
})
},
saveOrUpdate: function(data) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/save',
method: 'post',
data: data,
headers: { 'Content-Type': 'application/json' }
})
},
init: function(data) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/init/' + data,
method: 'get'
})
},
fetchBySid: function(data) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/fetchDetailsBySid/' + data,
method: 'get'
})
},
deleteBySids: function(data) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/delBySids',
method: 'DELETE',
data: data,
headers: { 'Content-Type': 'application/json' }
})
},
// 提交流程
submit: function(params) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/submit',
method: 'post',
data: params,
headers: { 'Content-Type': 'application/json' }
})
},
// 流程审批(同意)
complete: function(params) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/complete',
method: 'post',
data: params,
headers: { 'Content-Type': 'application/json' }
})
},
// 流程审批(加签)
delegate: function(params) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/delegate',
method: 'post',
data: params,
headers: { 'Content-Type': 'application/json' }
})
},
// 流程审批(驳回)
reject: function(params) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/reject',
method: 'post',
data: params,
headers: { 'Content-Type': 'application/json' }
})
},
// 流程审批(终止)
breakProcess: function(params) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/breakProcess',
method: 'post',
data: params,
headers: { 'Content-Type': 'application/json' }
})
},
// 流程审批(撤回)
revokeProcess: function(params) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/revokeProcess',
method: 'post',
data: params,
headers: { 'Content-Type': 'application/json' }
})
},
// 审批流程(同意)获取下一环节
getNextNodesForSubmit: function(data) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/getNextNodesForSubmit',
method: 'get',
params: data
})
},
// 审批流程(驳回)获取上一环节
getPreviousNodesForReject: function(data) {
return request({
url: '/riskcenter/v1/loanlawsuitsubapply/getPreviousNodesForReject',
method: 'get',
params: data
})
}
}

38
anrui-riskcenter-ui/src/router/index.js

@ -912,6 +912,23 @@ export const constantRoutes = [{
}
}]
},
{
path: '/transferToLitigation',
component: Layout,
redirect: '/transferToLitigation',
meta: {
title: '转诉讼科目管理'
},
children: [{
path: '/transferToLitigation/transferToLitigation',
component: () => import('@/views/transferToLitigation/transferToLitigation.vue'),
name: 'TransferToLitigation',
meta: {
title: '转诉讼科目管理',
noCache: true
}
}]
},
{
path: '/provisionoffunds',
component: Layout,
@ -1599,6 +1616,27 @@ export const constantRoutes = [{
import('@/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryYiBan.vue'),
name: 'SecondarySalesNotRecoveryYiBan'
},
// 二次销售车辆不追偿--编辑
{
path: '/zhuansusongFlow/transferToLitigationEdit',
component: () =>
import('@/views/workFlow/zhuansusongFlow/transferToLitigationEdit.vue'),
name: 'TransferToLitigationEdit'
},
// 二次销售车辆不追偿--待办
{
path: '/zhuansusongFlow/transferToLitigationDaiBan',
component: () =>
import('@/views/workFlow/zhuansusongFlow/transferToLitigationDaiBan.vue'),
name: 'TransferToLitigationDaiBan'
},
// 二次销售车辆不追偿--已办
{
path: '/zhuansusongFlow/transferToLitigationYiBan',
component: () =>
import('@/views/workFlow/zhuansusongFlow/transferToLitigationYiBan.vue'),
name: 'TransferToLitigationYiBan'
},
// 404 page must be placed at the end !!!
// { path: '*', redirect: '/404', hidden: true }
]

55
anrui-riskcenter-ui/src/views/courseofthecase/courseofthecase.vue

@ -56,6 +56,11 @@
<el-form-item label="是否全额诉讼">
<el-input v-model="listQuery.params.full" placeholder="" clearable/>
</el-form-item>
<el-form-item label="是否转诉讼科目">
<el-select v-model="listQuery.params.isZfull" placeholder="请选择" clearable>
<el-option v-for="item in state_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"></el-option>
</el-select>
</el-form-item>
</el-form>
<div class="btn" style="text-align: center;">
<el-button type="primary" icon="el-icon-search" size="small" @click="handleFilter">查询</el-button>
@ -94,6 +99,11 @@
<el-table-column prop="loanName" label="贷款人" align="center" min-width="100" />
<el-table-column prop="caseStage" label="案件当前阶段" align="center" width="120" />
<el-table-column prop="caseTache" label="案件当前环节" align="center" width="160" />
<el-table-column label="是否转诉讼科目" align="center" width="170">
<template slot-scope="scope">
<span>{{ scope.row.isZfull == '1' ? '是' : scope.row.isZfull == '0' ? '否' : '' }}</span>
</template>
</el-table-column>
<el-table-column prop="useDays" label="当前环节用时(天)" align="center" width="170" />
<el-table-column prop="lawFirms" label="律师事务所" align="center" width="120" />
<el-table-column prop="lawer" label="承办律师" align="center" width="100" />
@ -121,6 +131,8 @@
<caseexecutionAdd v-show="viewState == 7" ref="divCasEexecution" @doback="resetState"/>
<!-- 案件结案 -->
<caseclosedAdd v-show="viewState == 8" ref="divCaseClosed" @doback="resetState"/>
<!-- 转诉讼科目申请 -->
<transferToLitigationAdd v-show="viewState == 9" ref="divLitigation" @doback="resetState" />
</div>
</template>
@ -136,6 +148,7 @@ import casedelegationAdd from '../casedelegation/casedelegationAdd'
import caseappealAdd from '../caseappeal/caseappealAdd'
import caseexecutionAdd from '../caseexecution/caseexecutionAdd'
import caseclosedAdd from '../caseclosed/caseclosedAdd'
import transferToLitigationAdd from '../transferToLitigation/transferToLitigationAdd'
export default {
name: 'CourseOfTheCase',
@ -148,7 +161,8 @@ export default {
casedelegationAdd,
caseappealAdd,
caseexecutionAdd,
caseclosedAdd
caseclosedAdd,
transferToLitigationAdd
},
data() {
return {
@ -175,6 +189,13 @@ export default {
btnKey: 'toEntrust',
btnLabel: '委托律师申请'
},
{
type: 'primary',
size: 'small',
icon: '',
btnKey: 'toLitigation',
btnLabel: '转诉讼科目申请'
},
{
type: 'primary',
size: 'small',
@ -210,6 +231,16 @@ export default {
tableKey: 0,
list: [],
sids: [], // SIDs
state_list: [
{
dictKey: '1',
dictValue: '是'
},
{
dictKey: '0',
dictValue: '否'
}
],
multipleSelection: [],
FormLoading: false,
listLoading: false,
@ -237,6 +268,7 @@ export default {
lawFirms: '',
lawer: '',
full: '',
isZfull: '',
orgPath: '',
menuUrl: ''
}
@ -283,6 +315,9 @@ export default {
case 'toEntrust':
this.toEntrust()
break
case 'toLitigation':
this.toLitigation()
break
case 'toAppeal':
this.toAppeal()
break
@ -361,6 +396,7 @@ export default {
lawFirms: '',
lawer: '',
full: '',
isZfull: '',
orgPath: '',
menuUrl: ''
}
@ -419,6 +455,15 @@ export default {
this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行操作' })
}
},
//
toLitigation() {
if (this.sids.length === 1) {
this.viewState = 9
this.$refs['divLitigation'].showAdd(this.sids[0])
} else {
this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行操作' })
}
},
// /
toAppeal() {
if (this.sids.length === 1) {
@ -435,8 +480,12 @@ export default {
//
toExecute() {
if (this.sids.length === 1) {
if (this.multipleSelection[0].isZfull === '1') {
this.viewState = 7
this.$refs['divCasEexecution'].showAdd(this.sids[0])
} else {
this.$message({ showClose: true, type: 'error', message: '请先转诉讼科目后,再发起申请!' })
}
} else {
this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行操作' })
}
@ -444,8 +493,12 @@ export default {
//
toClosing() {
if (this.sids.length === 1) {
if (this.multipleSelection[0].isZfull === '1') {
this.viewState = 8
this.$refs['divCaseClosed'].showAdd(this.sids[0])
} else {
this.$message({ showClose: true, type: 'error', message: '请先转诉讼科目后,再发起申请!' })
}
} else {
this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行操作' })
}

10
anrui-riskcenter-ui/src/views/courseofthecase/courseofthecaseInfo.vue

@ -332,7 +332,7 @@ export default {
this.isFourSelect = false
this.isFiveSelect = false
this.activeName = 1
this.$refs['divFirst'].showEdit(this.formobj.sid)
this.$refs['divFirst'].showInfo(this.formobj.sid)
},
//
toTwo() {
@ -342,7 +342,7 @@ export default {
this.isFourSelect = false
this.isFiveSelect = false
this.activeName = 2
this.$refs['divSecond'].showEdit(this.formobj.sid)
this.$refs['divSecond'].showInfo(this.formobj.sid)
},
//
toThree() {
@ -352,7 +352,7 @@ export default {
this.isFourSelect = false
this.isFiveSelect = false
this.activeName = 3
this.$refs['divExamineagain'].showEdit(this.formobj.sid)
this.$refs['divExamineagain'].showInfo(this.formobj.sid)
},
toFour() {
this.isFirstSelect = false
@ -361,7 +361,7 @@ export default {
this.isFourSelect = true
this.isFiveSelect = false
this.activeName = 4
this.$refs['divExecute'].showEdit(this.formobj.sid)
this.$refs['divExecute'].showInfo(this.formobj.sid)
},
toFive() {
this.isFirstSelect = false
@ -370,7 +370,7 @@ export default {
this.isFourSelect = false
this.isFiveSelect = true
this.activeName = 5
this.$refs['divSettlealawsuit'].showEdit(this.formobj.sid)
this.$refs['divSettlealawsuit'].showInfo(this.formobj.sid)
},
lookSuSong() {
if (this.formobj.suSongSid !== '') {

356
anrui-riskcenter-ui/src/views/transferToLitigation/transferToLitigation.vue

@ -0,0 +1,356 @@
<template>
<div class="app-container">
<!--列表页面-->
<div v-show="viewState == 1">
<button-bar view-title="转诉讼科目申请管理" ref="btnbar" :btndisabled="btndisabled" @btnhandle="btnHandle"/>
<!--Start查询列表部分-->
<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" class="tab-header">
<el-form-item label="分公司">
<el-input v-model="listQuery.params.useOrgName" placeholder="" clearable/>
</el-form-item>
<el-form-item label="申请部门">
<el-input v-model="listQuery.params.createDept" placeholder="" clearable/>
</el-form-item>
<el-form-item label="申请人">
<el-input v-model="listQuery.params.createByName" placeholder="" clearable/>
</el-form-item>
<el-form-item label="申请日期">
<el-date-picker v-model="listQuery.params.createTimeStart" value-format="yyyy-MM-dd" format="yyyy-MM-dd" type="date" placeholder="选择日期"></el-date-picker>
<span style="padding: 0 8px"></span>
<el-date-picker v-model="listQuery.params.createTimeEnd" value-format="yyyy-MM-dd" format="yyyy-MM-dd" type="date" placeholder="选择日期"></el-date-picker>
</el-form-item>
<el-form-item label="办结日期">
<el-date-picker v-model="listQuery.params.closeStartDate" value-format="yyyy-MM-dd" format="yyyy-MM-dd" type="date" placeholder="选择日期"></el-date-picker>
<span style="padding: 0 8px"></span>
<el-date-picker v-model="listQuery.params.closeEndDate" value-format="yyyy-MM-dd" format="yyyy-MM-dd" type="date" placeholder="选择日期"></el-date-picker>
</el-form-item>
<el-form-item label="客户名称">
<el-input v-model="listQuery.params.customerName" placeholder="" clearable/>
</el-form-item>
<el-form-item label="贷款人">
<el-input v-model="listQuery.params.loanName" placeholder="" clearable/>
</el-form-item>
<el-form-item label="贷款合同编号">
<el-input v-model="listQuery.params.loanContractNo" placeholder="" clearable/>
</el-form-item>
<el-form-item label="资方合同编号">
<el-input v-model="listQuery.params.bankContractNo" placeholder="" clearable/>
</el-form-item>
<el-form-item label="资方">
<el-input v-model="listQuery.params.bankName" placeholder="" clearable/>
</el-form-item>
</el-form>
<div class="btn" style="text-align: center;">
<el-button type="primary" icon="el-icon-search" size="small" @click="handleFilter">查询</el-button>
<el-button type="primary" icon="el-icon-refresh" size="small" @click="handleReset">重置</el-button>
</div>
</div>
</div>
<!--End查询列表部分-->
<div class="listtop">
<div class="tit">转诉讼科目申请列表</div>
<pageye v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/>
</div>
<!--Start 主页面主要部分 -->
<div class="">
<el-table :key="tableKey" v-loading="listLoading" :data="list" :border="true" style="width: 100%;" @selection-change="handleSelectionChange">
<el-table-column type="selection" align="center" width="50"/>
<el-table-column label="序号" type="index" width="80" :index="indexMethod" align="center"/>
<el-table-column label="操作" width="180px" align="center">
<template slot-scope="scope">
<el-button type="primary" size="mini" @click="toEdit(scope.row)" :disabled="scope.row.nodeState =='发起申请' ? false : scope.row.nodeState == '待提交' ? false : true">办理</el-button>
<el-button type="primary" size="mini" @click="toInfo(scope.row)">查看</el-button>
</template>
</el-table-column>
<el-table-column label="状态" width="180px" header-align="center">
<template slot-scope="scope">
<span v-if="scope.row.nodeState=='待提交'" type="primary" size="mini">待提交</span>
<span v-else @click="flowRecord(scope.row)" class="bluezi">{{ scope.row.nodeState }}</span>
</template>
</el-table-column>
<el-table-column prop="useOrgName" label="分公司" align="center" width="130" />
<el-table-column prop="createDept" label="申请部门" align="center" width="130" />
<el-table-column prop="createByName" label="申请人" align="center" width="100" />
<el-table-column prop="createTime" label="申请日期" align="center" width="100" />
<el-table-column prop="closeDate" label="办结日期" align="center" width="100" />
<el-table-column prop="customerName" label="客户名称" align="center" width="100" />
<el-table-column prop="loanName" label="贷款人" align="center" width="100" />
<el-table-column prop="loanContractNo" label="贷款合同编号" align="center" width="160" />
<el-table-column prop="bankName" label="资方" align="center" width="100" />
<el-table-column prop="bankContractNo" label="资方合同编号" align="center" width="160" />
<el-table-column prop="amount" label="转诉讼科目金额合计" align="center" width="190" />
<el-table-column prop="remarks" label="备注" align="center" min-width="200" />
</el-table>
</div>
<!--End 主页面主要部分-->
<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>
<!--End查询列表部分-->
</div>
</div>
<!--新增及修改 -->
<transferToLitigationAdd v-show="viewState == 3" ref="divAdd" @doback="resetState" @reloadlist="getList"/>
<!--详情-->
<transferToLitigationInfo v-show="viewState == 4" ref="divInfo" @doback="resetState" />
<!-- 流程审批记录 -->
<el-dialog title="" :visible.sync="centerDialogVisible" width="78%" height="1%" :before-close="closeIt" center>
<iframe frameborder="0" id="iframe" style="width:100%;" scrolling="no" :src="this.centerDialogVisible === true ? url :''"></iframe>
</el-dialog>
</div>
</template>
<script>
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import ButtonBar from '@/components/ButtonBar'
import req from '@/api/transferToLitigation/transferToLitigation'
import { getStorage } from '@/utils/auth'
import transferToLitigationAdd from './transferToLitigationAdd'
import transferToLitigationInfo from './transferToLitigationInfo'
export default {
name: 'TransferToLitigation',
components: {
Pagination,
pageye,
ButtonBar,
transferToLitigationAdd,
transferToLitigationInfo
},
data() {
return {
url: '',
dialogHeight: '80%',
centerDialogVisible: false,
btndisabled: false,
btnList: [
{
type: 'danger',
size: 'small',
icon: 'del',
btnKey: 'doDel',
btnLabel: '删除'
},
{
type: 'info',
size: 'small',
icon: 'cross',
btnKey: 'doClose',
btnLabel: '关闭'
}
],
isSearchShow: false,
searchxianshitit: '显示查询条件',
viewState: 1, // 1 2 3 4
tableKey: 0,
list: [],
sids: [], // SIDs
FormLoading: false,
listLoading: false,
//
listQuery: {
current: 1,
size: 5,
total: 0,
params: {
createDept: '',
createTimeStart: '',
createTimeEnd: '',
useOrgName: '',
createByName: '',
closeStartDate: '',
closeEndDate: '',
loanContractNo: '',
vinNo: '',
bankName: '',
bankContractNo: '',
customerName: '',
loanName: '',
orgPath: '',
menuUrl: '',
userSid: ''
}
}
}
},
created() {
//
this.getList()
},
mounted() {
// vuewindowpostMessagehandleMessage
window.addEventListener('message', this.handleMessage)
this.$refs['btnbar'].setButtonList(this.btnList)
},
methods: {
async handleMessage(event) {
var code = ''
if (event.data.params !== null && event.data.params !== undefined) {
code = event.data.params.code
}
if (code === 1) {
this.centerDialogVisible = false
} else if (code === 2) {
this.dialogHeight = event.data.params.data
this.setIframeHeight(document.getElementById('iframe'))
}
},
closeIt() {
this.url = ''
this.centerDialogVisible = false
},
setIframeHeight(iframe) {
iframe.height = this.dialogHeight
},
flowRecord(row) {
this.centerDialogVisible = true
var params = {
deployId: row.procDefId,
procInsId: row.procInstId,
token: getStorage()
}
this.url = '/#/flow/flowRecordForBusiness?data=' + encodeURI((JSON.stringify(params)))
},
//
clicksearchShow() {
this.isSearchShow = !this.isSearchShow
if (this.isSearchShow) {
this.searchxianshitit = '隐藏查询条件'
} else {
this.searchxianshitit = '显示查询条件'
}
},
btnHandle(btnKey) {
console.log('XXXXXXXXXXXXXXX ' + btnKey)
switch (btnKey) {
case 'doDel':
this.doDel()
break
case 'doClose':
this.doClose()
break
default:
break
}
},
// sid
handleSelectionChange(row) {
const aa = []
row.forEach(element => {
aa.push(element.sid)
})
this.sids = aa
},
//
indexMethod(index) {
var pagestart = (this.listQuery.current - 1) * this.listQuery.size
var pageindex = index + 1 + pagestart
return pageindex
},
//
getList() {
this.listLoading = true
this.listQuery.params.userSid = window.sessionStorage.getItem('userSid')
this.listQuery.params.orgPath = window.sessionStorage.getItem('defaultOrgPath')
this.listQuery.params.menuUrl = this.$route.path
req.listPage(this.listQuery).then(response => {
this.listLoading = false
if (response.success) {
this.list = response.data.records
this.listQuery.total = response.data.total
} else {
this.list = []
this.listQuery.total = 0
}
})
},
//
handleFilter() {
this.listQuery.current = 1
this.getList()
},
//
handleReset() {
this.listQuery = {
current: 1,
size: 5,
total: 0,
params: {
createDept: '',
createTimeStart: '',
createTimeEnd: '',
useOrgName: '',
createByName: '',
closeStartDate: '',
closeEndDate: '',
loanContractNo: '',
vinNo: '',
bankName: '',
bankContractNo: '',
customerName: '',
loanName: '',
orgPath: '',
menuUrl: '',
userSid: ''
}
}
this.getList()
},
toEdit(row) {
this.viewState = 3
this.$refs['divAdd'].showEdit(row)
},
toInfo(row) {
this.viewState = 4
this.$refs['divInfo'].showInfo(row)
},
//
doDel() {
if (this.sids.length === 0) {
this.$message({ showClose: true, type: 'error', message: '请选择至少一条记录进行删除操作' })
return
}
const tip = '请确认是否删除所选 ' + this.sids.length + ' 条记录?'
this.$confirm(tip, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
const loading = this.$loading({
lock: true,
text: 'Loading',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
req.deleteBySids(this.sids).then(resp => {
if (resp.success) {
this.$message({ type: 'success', message: resp.msg, showClose: true })
}
this.getList()
loading.close()
}).catch(e => {
loading.close()
})
}).catch(() => {
})
},
//
resetState() {
this.viewState = 1
},
doClose() {
this.$store.dispatch('tagsView/delView', this.$route)
this.$router.go(-1)
}
}
}
</script>
<style scoped>
</style>

264
anrui-riskcenter-ui/src/views/transferToLitigation/transferToLitigationAdd.vue

@ -0,0 +1,264 @@
<template>
<div class="app-container">
<div v-show="viewState == 1">
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<el-button type="primary" size="small" :disabled="submitdisabled" @click="saveOrUpdate()">保存</el-button>
<el-button type="primary" size="small" :disabled="submitdisabled" @click="submit()">提交</el-button>
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button>
</div>
</div>
<div class="listconadd">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="8">
<div class="span-sty">申请部门</div>
<el-form-item><span class="addinputInfo">{{ formobj.createDept }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">申请人</div>
<el-form-item><span class="addinputInfo">{{ formobj.createByName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">申请日期</div>
<el-form-item><span class="addinputInfo">{{ formobj.createTime }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<div class="span-sty">客户名称</div>
<el-form-item><span class="addinputInfo">{{ formobj.customerName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">贷款人</div>
<el-form-item><span class="addinputInfo">{{ formobj.loanName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">贷款合同编号</div>
<el-form-item><span class="addinputInfo">{{ formobj.loanContractNo }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<div class="span-sty">资方</div>
<el-form-item><span class="addinputInfo">{{ formobj.bankName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">资方合同编号</div>
<el-form-item><span class="addinputInfo">{{ formobj.bankContractNo }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">转诉讼科目金额合计</div>
<el-form-item><span class="addinputInfo">{{ formobj.amount }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty">备注</div>
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.remarks" clearable placeholder="" /></el-form-item>
</el-col>
</el-row>
<div class="title titleOne">
<div>转诉讼车辆列表</div>
<el-button size="mini" type="primary" class="btntopblueline" @click="lookCourse">查看案件详情</el-button>
</div>
<el-table :key="tableKey" :data="formobj.loanLawsuitSubVehList" :index="index" border style="width: 100%">
<el-table-column fixed width="80" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column prop="vinNo" label="车架号" align="center" min-width="120"/>
<el-table-column prop="riskState" label="风控状态" align="center" min-width="120"/>
<el-table-column label="是否已回购" align="center" min-width="140">
<template slot-scope="scope">
<span>{{ scope.row.repo == '1' ? '1' : scope.row.repo == '0' ? '否' : '' }}</span>
</template>
</el-table-column>
<el-table-column prop="currentBeMoney" label="逾期月还" align="center" min-width="160"/>
<el-table-column prop="currentNotDuePrice" label="当期未还月还" align="center" min-width="150"/>
<el-table-column prop="notDuePrice" label="未到期月还" align="center" min-width="150"/>
<el-table-column prop="bankAmount" label="回购资方费用" align="center" min-width="160"/>
<el-table-column prop="lawAomount" label="转诉讼科目金额" align="center" min-width="150"/>
</el-table>
</el-form>
</div>
</div>
<!-- 查看案件进程详情 -->
<courseofthecaseInfo v-show="viewState == 2" ref="divCourse" @doback="resetState" />
</div>
</template>
<script>
import req from '@/api/transferToLitigation/transferToLitigation'
import courseofthecaseInfo from '../courseofthecase/courseofthecaseInfo'
export default {
name: 'TransferToLitigationAdd',
components: {
courseofthecaseInfo
},
data() {
return {
viewTitle: '',
viewState: 1,
submitdisabled: false,
tableKey: 0,
index: 0,
formobj: {
sid: '',
createTime: '',
createDept: '',
createDeptSid: '',
createByName: '',
billNo: '',
customerName: '',
customerSid: '',
loanSid: '',
loanName: '',
loanContractSid: '',
loanContractNo: '',
bankSid: '',
bankName: '',
bankContractNo: '',
amount: '',
nodeState: '',
useOrgSid: '',
useOrgName: '',
closeDate: '',
procInstId: '',
lawSid: '',
ajSid: '',
loanLawsuitSubVehList: []
},
rules: {}
}
},
methods: {
showAdd(sid) {
this.viewTitle = '【新增】转诉讼科目申请'
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
req.init(sid).then((res) => {
if (res.success) {
this.formobj = res.data
var newDate = new Date()
var date = {
year: newDate.getFullYear(),
month: newDate.getMonth() + 1,
day: newDate.getDate()
}
this.formobj.createTime = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day)
}
})
},
showEdit(row) {
this.viewTitle = '【编辑】转诉讼科目申请'
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
req.fetchBySid(row.sid).then((res) => {
if (res.success) {
this.formobj = res.data
this.formobj.instanceId = res.data.procInstId
}
})
},
lookCourse() {
this.viewState = 2
this.$refs['divCourse'].showInfo({ sid: this.formobj.ajSid })
},
resetState() {
this.viewState = 1
},
saveOrUpdate() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
this.submitdisabled = true
req.saveOrUpdate(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '保存成功' })
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
})
}
})
},
submit() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
if (this.formobj.vehList.length === 0) {
this.$message({ showClose: true, type: 'error', message: '已还与欠款情况列表不能为空' })
return
}
this.submitdisabled = true
req.submit(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '操作成功' })
this.handleReturn('true')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
})
}
})
},
handleReturn(isreload) {
if (isreload === 'true') this.$emit('reloadlist')
this.formobj = {
sid: '',
createTime: '',
createDept: '',
createDeptSid: '',
createByName: '',
billNo: '',
customerName: '',
customerSid: '',
loanSid: '',
loanName: '',
loanContractSid: '',
loanContractNo: '',
bankSid: '',
bankName: '',
bankContractNo: '',
amount: '',
nodeState: '',
useOrgSid: '',
useOrgName: '',
closeDate: '',
procInstId: '',
lawSid: '',
ajSid: '',
loanLawsuitSubVehList: []
}
this.submitdisabled = false
this.$refs['form_obj'].resetFields()
this.$emit('doback')
}
}
}
</script>
<style scoped>
.span-sty {
width: 140px !important;
}
.addinputInfo {
margin-left: 130px !important;
}
.formaddcopy02 .el-row .el-col /deep/ .el-form-item .addinputw {
margin-left: 130px !important;
width: calc(100% - 125px);
}
.titleOne {
padding: 7px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
</style>

201
anrui-riskcenter-ui/src/views/transferToLitigation/transferToLitigationInfo.vue

@ -0,0 +1,201 @@
<template>
<div class="app-container">
<div v-show="viewState == 1">
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button>
</div>
</div>
<div class="listconadd">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="8">
<div class="span-sty">申请部门</div>
<el-form-item><span class="addinputInfo">{{ formobj.createDept }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">申请人</div>
<el-form-item><span class="addinputInfo">{{ formobj.createByName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">申请日期</div>
<el-form-item><span class="addinputInfo">{{ formobj.createTime }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<div class="span-sty">客户名称</div>
<el-form-item><span class="addinputInfo">{{ formobj.customerName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">贷款人</div>
<el-form-item><span class="addinputInfo">{{ formobj.loanName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">贷款合同编号</div>
<el-form-item><span class="addinputInfo">{{ formobj.loanContractNo }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<div class="span-sty">资方</div>
<el-form-item><span class="addinputInfo">{{ formobj.bankName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">资方合同编号</div>
<el-form-item><span class="addinputInfo">{{ formobj.bankContractNo }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">转诉讼科目金额合计</div>
<el-form-item><span class="addinputInfo">{{ formobj.amount }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty">备注</div>
<el-form-item><span class="addinputInfo">{{ formobj.remarks }}</span></el-form-item>
</el-col>
</el-row>
<div class="title titleOne">
<div>转诉讼车辆列表</div>
<el-button size="mini" type="primary" class="btntopblueline" @click="lookCourse">查看案件详情</el-button>
</div>
<el-table :key="tableKey" :data="formobj.loanLawsuitSubVehList" :index="index" border style="width: 100%">
<el-table-column fixed width="80" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column prop="vinNo" label="车架号" align="center" min-width="120"/>
<el-table-column label="风控状态" align="center" min-width="120">
<template slot-scope="scope">
<span>{{ scope.row.riskState == '0' ? '正常' : scope.row.riskState == '1' ? '交回' : scope.row.riskState == '2' ? '赎回' : scope.row.riskState == '3' ? '转租' : '' }}</span>
</template>
</el-table-column>
<el-table-column label="是否已回购" align="center" min-width="140">
<template slot-scope="scope">
<span>{{ scope.row.repo == '1' ? '是' : scope.row.repo == '0' ? '否' : '' }}</span>
</template>
</el-table-column>
<el-table-column prop="currentBeMoney" label="逾期月还" align="center" min-width="160"/>
<el-table-column prop="currentNotDuePrice" label="当期未还月还" align="center" min-width="150"/>
<el-table-column prop="notDuePrice" label="未到期月还" align="center" min-width="150"/>
<el-table-column prop="bankAmount" label="回购资方费用" align="center" min-width="160"/>
<el-table-column prop="lawAomount" label="转诉讼科目金额" align="center" min-width="150"/>
</el-table>
</el-form>
</div>
</div>
<!-- 查看案件进程详情 -->
<courseofthecaseInfo v-show="viewState == 2" ref="divCourse" @doback="resetState" />
</div>
</template>
<script>
import req from '@/api/transferToLitigation/transferToLitigation'
import courseofthecaseInfo from '../courseofthecase/courseofthecaseInfo'
export default {
name: 'TransferToLitigationInfo',
components: {
courseofthecaseInfo
},
data() {
return {
viewTitle: '',
viewState: 1,
tableKey: 0,
index: 0,
formobj: {
sid: '',
createTime: '',
createDept: '',
createDeptSid: '',
createByName: '',
billNo: '',
customerName: '',
customerSid: '',
loanSid: '',
loanName: '',
loanContractSid: '',
loanContractNo: '',
bankSid: '',
bankName: '',
bankContractNo: '',
amount: '',
nodeState: '',
useOrgSid: '',
useOrgName: '',
closeDate: '',
procInstId: '',
lawSid: '',
ajSid: '',
loanLawsuitSubVehList: []
},
rules: {}
}
},
methods: {
showInfo(row) {
this.viewTitle = '转诉讼科目申请详情'
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
req.fetchBySid(row.sid).then((res) => {
if (res.success) {
this.formobj = res.data
}
})
},
lookCourse() {
this.viewState = 2
this.$refs['divCourse'].showInfo({ sid: this.formobj.ajSid })
},
resetState() {
this.viewState = 1
},
handleReturn() {
this.formobj = {
sid: '',
createTime: '',
createDept: '',
createDeptSid: '',
createByName: '',
billNo: '',
customerName: '',
customerSid: '',
loanSid: '',
loanName: '',
loanContractSid: '',
loanContractNo: '',
bankSid: '',
bankName: '',
bankContractNo: '',
amount: '',
nodeState: '',
useOrgSid: '',
useOrgName: '',
closeDate: '',
procInstId: '',
lawSid: '',
ajSid: '',
loanLawsuitSubVehList: []
}
this.$emit('doback')
}
}
}
</script>
<style scoped>
.span-sty {
width: 140px !important;
}
.addinputInfo {
margin-left: 130px !important;
}
.titleOne {
padding: 7px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
</style>

458
anrui-riskcenter-ui/src/views/workFlow/zhuansusongFlow/transferToLitigationDaiBan.vue

@ -0,0 +1,458 @@
<template>
<div class="app-container">
<div v-show="viewState == 1">
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<el-button type="primary" size="small" @click="openCountersign('加签')"> </el-button>
<el-button type="primary" size="small" @click="openAgree('同意')"> </el-button>
<el-button type="danger" size="small" @click="openReject('驳回')"> </el-button>
<el-button type="danger" size="small" @click="openStop('终止')"> </el-button>
</div>
</div>
<div class="">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="8">
<div class="span-sty">申请部门</div>
<el-form-item><span class="addinputInfo">{{ formobj.createDept }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">申请人</div>
<el-form-item><span class="addinputInfo">{{ formobj.createByName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">申请日期</div>
<el-form-item><span class="addinputInfo">{{ formobj.createTime }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<div class="span-sty">客户名称</div>
<el-form-item><span class="addinputInfo">{{ formobj.customerName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">贷款人</div>
<el-form-item><span class="addinputInfo">{{ formobj.loanName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">贷款合同编号</div>
<el-form-item><span class="addinputInfo">{{ formobj.loanContractNo }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<div class="span-sty">资方</div>
<el-form-item><span class="addinputInfo">{{ formobj.bankName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">资方合同编号</div>
<el-form-item><span class="addinputInfo">{{ formobj.bankContractNo }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">转诉讼科目金额合计</div>
<el-form-item><span class="addinputInfo">{{ formobj.amount }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty">备注</div>
<el-form-item><span class="addinputInfo">{{ formobj.remarks }}</span></el-form-item>
</el-col>
</el-row>
<div class="title titleOne">
<div>转诉讼车辆列表</div>
<el-button size="mini" type="primary" class="btntopblueline" @click="lookCourse">查看案件详情</el-button>
</div>
<el-table :key="tableKey" :data="formobj.loanLawsuitSubVehList" :index="index" border style="width: 100%">
<el-table-column fixed width="80" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column prop="vinNo" label="车架号" align="center" min-width="120"/>
<el-table-column label="风控状态" align="center" min-width="120">
<template slot-scope="scope">
<span>{{ scope.row.riskState == '0' ? '正常' : scope.row.riskState == '1' ? '交回' : scope.row.riskState == '2' ? '赎回' : scope.row.riskState == '3' ? '转租' : '' }}</span>
</template>
</el-table-column>
<el-table-column label="是否已回购" align="center" min-width="140">
<template slot-scope="scope">
<span>{{ scope.row.repo == '1' ? '是' : scope.row.repo == '0' ? '否' : '' }}</span>
</template>
</el-table-column>
<el-table-column prop="currentBeMoney" label="逾期月还" align="center" min-width="160"/>
<el-table-column prop="currentNotDuePrice" label="当期未还月还" align="center" min-width="150"/>
<el-table-column prop="notDuePrice" label="未到期月还" align="center" min-width="150"/>
<el-table-column prop="bankAmount" label="回购资方费用" align="center" min-width="160"/>
<el-table-column prop="lawAomount" label="转诉讼科目金额" align="center" min-width="150"/>
</el-table>
</el-form>
</div>
</div>
<!-- 查看案件进程详情 -->
<courseofthecaseInfo v-show="viewState == 2" ref="divCourse" @doback="resetState" />
<!-- 选择待办人 的弹出框-->
<el-dialog title="填写审批意见" :visible.sync="nodeDialogVisible" width="80%">
<el-form class="formadd" >
<el-row v-show="countersignLink" style="border-top: 1px solid #e0e3eb">
<el-col :span="4" class="tleftb">
<span class="icon">*</span>加签人员:
</el-col>
<el-col :span="20">
<el-form-item>
<el-select v-model="countersign.assignee" placeholder="请选择" filterable>
<el-option v-for="item in options" :key="item.userSid" :label="item.staffName" :value="item.userSid">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row v-show="currentLink" style="border-top: 1px solid #e0e3eb">
<el-col :span="4" class="tleftb">
<span>当前环节:</span>
</el-col>
<el-col :span="20">
<el-form-item><span>{{ current.taskName }}->{{ nextNode.name }}</span></el-form-item>
</el-col>
</el-row>
<el-row :class="{rowClass:!currentLink}">
<el-col :span="4" class="tleftb">
<span>意见:</span>
</el-col>
<el-col :span="20">
<el-form-item><el-input size="small" v-model="dialogList.comment" placeholder="审批意见" class="addinputw" type="textarea" :autosize="{ minRows: 1, maxRows: 10}" clearable ></el-input></el-form-item>
</el-col>
</el-row>
<div style="text-align:center;margin-top: 20px;">
<el-button type="primary" size="mini" @click="reject"> </el-button>
<el-button type="info " size="mini" @click="nodeDialogVisible = false"> </el-button>
</div>
</el-form>
</el-dialog>
</div>
</template>
<script>
import req from '@/api/transferToLitigation/transferToLitigation'
import { selectStaffListss } from '@/api/Common/dictcommons'
import courseofthecaseInfo from '../courseofthecase/courseofthecaseInfo'
export default {
name: 'TransferToLitigationDaiBan',
components: {
courseofthecaseInfo
},
data() {
return {
viewTitle: '',
viewState: 1,
tableKey: 0,
index: 0,
formobj: {
sid: '',
createTime: '',
createDept: '',
createDeptSid: '',
createByName: '',
billNo: '',
customerName: '',
customerSid: '',
loanSid: '',
loanName: '',
loanContractSid: '',
loanContractNo: '',
bankSid: '',
bankName: '',
bankContractNo: '',
amount: '',
nodeState: '',
useOrgSid: '',
useOrgName: '',
closeDate: '',
procInstId: '',
lawSid: '',
ajSid: '',
loanLawsuitSubVehList: []
},
rules: {},
options: [],
operation: '', //
dialogList: {
comment: ''
},
startTask: true,
current: {
taskDefKey: '',
taskName: '' //
},
nextNode: {}, //
nodeDialogVisible: false,
currentLink: true,
countersignLink: false,
//
linkByParameter: {
businessSid: '',
comment: '',
instanceId: '',
taskId: '',
orgSidPath: '',
taskDefKey: '',
userSid: ''
},
//
countersign: {
taskId: '',
assignee: '',
userSid: '',
instanceId: '',
views: ''
}
}
},
created() {
console.log('url:' + window.location.href)
var one = window.location.href.indexOf('&data') + 6
const data = window.location.href.substr(one) // urlunescape()web,使
const obj = JSON.parse(decodeURIComponent(data))
console.log('iframe页面获取的obj:', obj)
//
this.linkByParameter.businessSid = obj.businessSid
this.linkByParameter.instanceId = obj.instanceId
this.linkByParameter.taskId = obj.taskId
this.linkByParameter.taskDefKey = obj.taskDefKey
// this.linkByParameter.orgSidPath = window.sessionStorage.getItem('orgSidPath')
this.linkByParameter.userSid = window.sessionStorage.getItem('userSid')
this.current.taskDefKey = obj.taskDefKey
this.current.taskName = obj.taskName
//
this.countersign.taskId = obj.taskId
this.countersign.userSid = window.sessionStorage.getItem('userSid')
this.countersign.instanceId = obj.instanceId
//
this.showInfo(obj.businessSid)
},
mounted() {
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 2,
data: 400 + 'px'
}
}, '*')
},
methods: {
showInfo(sid) {
this.viewTitle = '转诉讼科目申请详情'
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
req.fetchBySid(sid).then((res) => {
if (res.success) {
this.formobj = res.data
}
})
selectStaffListss().then((res) => {
if (res.success) {
this.options = res.data
}
})
},
lookCourse() {
this.viewState = 2
this.$refs['divCourse'].showInfo({ sid: this.formobj.ajSid })
},
resetState() {
this.viewState = 1
},
//
openCountersign(val) {
this.operation = val
this.currentLink = true
this.countersignLink = true
this.dialogList.comment = ''
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
this.nodeDialogVisible = true
}
this.submitdisabled = false
})
},
//
openAgree(val) {
this.operation = val
this.currentLink = true
this.countersignLink = false
this.dialogList.comment = '同意'
req.getNextNodesForSubmit({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
this.nodeDialogVisible = true
}
this.submitdisabled = false
})
},
//
openReject(val) {
this.operation = val
this.currentLink = true
this.countersignLink = false
this.dialogList.comment = ''
req.getPreviousNodesForReject({ taskDefKey: this.current.taskDefKey, businessSid: this.linkByParameter.businessSid }).then((resp) => {
if (resp.success) {
var arr = resp.data
this.nextNode = arr[0]
this.nodeDialogVisible = true
}
this.submitdisabled = false
})
},
//
openStop(val) {
this.operation = val
this.currentLink = false
this.countersignLink = false
this.dialogList.comment = ''
this.nodeDialogVisible = true
},
reject() {
if (this.operation === '同意') {
this.handleAgree()
} else if (this.operation === '驳回') {
if (this.dialogList.comment === '') {
this.$message({ showClose: true, type: 'error', message: '请填写审批意见' })
} else {
this.handleReject()
}
} else if (this.operation === '终止') {
if (this.dialogList.comment === '') {
this.$message({ showClose: true, type: 'error', message: '请填写审批意见' })
} else {
this.handleStop()
}
} else if (this.operation === '加签') {
this.handleCountersign()
}
},
/** 加签 */
handleCountersign() {
if (this.countersign.assignee === '') {
this.$message({ showClose: true, type: 'error', message: '请选择加签人员' })
return
}
if (this.dialogList.comment === '') {
this.$message({ showClose: true, type: 'error', message: '请填写审批意见' })
return
}
this.countersign.views = this.dialogList.comment
req.delegate(this.countersign).then((response) => {
if (response.success) {
this.$notify({
title: '提示',
message: '执行成功',
type: 'success',
duration: 2000
})
this.nodeDialogVisible = false
//
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
}
})
},
/** 同意任务 */
handleAgree() {
this.linkByParameter.comment = this.dialogList.comment
req.complete(this.linkByParameter).then((response) => {
if (response.success) {
this.$notify({
title: '提示',
message: '执行成功',
type: 'success',
duration: 2000
})
this.nodeDialogVisible = false
//
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
}
})
},
/** 驳回任务 */
handleReject() {
this.linkByParameter.comment = this.dialogList.comment
req.reject(this.linkByParameter).then((response) => {
if (response.success) {
this.$notify({
title: '提示',
message: '执行成功',
type: 'success',
duration: 2000
})
this.nodeDialogVisible = false
//
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
}
})
},
/** 终止任务 */
handleStop() {
this.linkByParameter.comment = this.dialogList.comment
req.breakProcess(this.linkByParameter).then((response) => {
if (response.success) {
this.$notify({
title: '提示',
message: '执行成功',
type: 'success',
duration: 2000
})
this.nodeDialogVisible = false
//
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
}
})
}
}
}
</script>
<style scoped>
.span-sty {
width: 140px !important;
}
.addinputInfo {
margin-left: 130px !important;
}
.titleOne {
padding: 7px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.rowClass{
border-top: 1px solid #E0E3EB;
}
</style>

244
anrui-riskcenter-ui/src/views/workFlow/zhuansusongFlow/transferToLitigationEdit.vue

@ -0,0 +1,244 @@
<template>
<div class="app-container">
<div v-show="viewState == 1">
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<el-button type="primary" size="small" :disabled="submitdisabled" @click="saveOrUpdate()">保存</el-button>
<el-button type="primary" size="small" :disabled="submitdisabled" @click="submit()">提交</el-button>
</div>
</div>
<div class="">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="8">
<div class="span-sty">申请部门</div>
<el-form-item><span class="addinputInfo">{{ formobj.createDept }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">申请人</div>
<el-form-item><span class="addinputInfo">{{ formobj.createByName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">申请日期</div>
<el-form-item><span class="addinputInfo">{{ formobj.createTime }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<div class="span-sty">客户名称</div>
<el-form-item><span class="addinputInfo">{{ formobj.customerName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">贷款人</div>
<el-form-item><span class="addinputInfo">{{ formobj.loanName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">贷款合同编号</div>
<el-form-item><span class="addinputInfo">{{ formobj.loanContractNo }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<div class="span-sty">资方</div>
<el-form-item><span class="addinputInfo">{{ formobj.bankName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">资方合同编号</div>
<el-form-item><span class="addinputInfo">{{ formobj.bankContractNo }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">转诉讼科目金额合计</div>
<el-form-item><span class="addinputInfo">{{ formobj.amount }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty">备注</div>
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.remarks" clearable placeholder="" /></el-form-item>
</el-col>
</el-row>
<div class="title titleOne">
<div>转诉讼车辆列表</div>
<el-button size="mini" type="primary" class="btntopblueline" @click="lookCourse">查看案件详情</el-button>
</div>
<el-table :key="tableKey" :data="formobj.loanLawsuitSubVehList" :index="index" border style="width: 100%">
<el-table-column fixed width="80" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column prop="vinNo" label="车架号" align="center" min-width="120"/>
<el-table-column prop="riskState" label="风控状态" align="center" min-width="120"/>
<el-table-column label="是否已回购" align="center" min-width="140">
<template slot-scope="scope">
<span>{{ scope.row.repo == '1' ? '1' : scope.row.repo == '0' ? '否' : '' }}</span>
</template>
</el-table-column>
<el-table-column prop="currentBeMoney" label="逾期月还" align="center" min-width="160"/>
<el-table-column prop="currentNotDuePrice" label="当期未还月还" align="center" min-width="150"/>
<el-table-column prop="notDuePrice" label="未到期月还" align="center" min-width="150"/>
<el-table-column prop="bankAmount" label="回购资方费用" align="center" min-width="160"/>
<el-table-column prop="lawAomount" label="转诉讼科目金额" align="center" min-width="150"/>
</el-table>
</el-form>
</div>
</div>
<!-- 查看案件进程详情 -->
<courseofthecaseInfo v-show="viewState == 2" ref="divCourse" @doback="resetState" />
</div>
</template>
<script>
import req from '@/api/transferToLitigation/transferToLitigation'
import courseofthecaseInfo from '../courseofthecase/courseofthecaseInfo'
export default {
name: 'TransferToLitigationEdit',
components: {
courseofthecaseInfo
},
data() {
return {
viewTitle: '',
viewState: 1,
submitdisabled: false,
tableKey: 0,
index: 0,
formobj: {
sid: '',
createTime: '',
createDept: '',
createDeptSid: '',
createByName: '',
billNo: '',
customerName: '',
customerSid: '',
loanSid: '',
loanName: '',
loanContractSid: '',
loanContractNo: '',
bankSid: '',
bankName: '',
bankContractNo: '',
amount: '',
nodeState: '',
useOrgSid: '',
useOrgName: '',
closeDate: '',
procInstId: '',
lawSid: '',
ajSid: '',
loanLawsuitSubVehList: []
},
rules: {}
}
},
created() {
console.log('url:' + window.location.href)
var one = window.location.href.indexOf('&data') + 6
const data = window.location.href.substr(one) // urlunescape()web,使
const obj = JSON.parse(decodeURIComponent(data))
this.showInfo(obj.businessSid)
},
mounted() {
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 2,
data: 400 + 'px'
}
}, '*')
},
methods: {
showInfo(sid) {
this.viewTitle = '【编辑】转诉讼科目申请'
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
req.fetchBySid(sid).then((res) => {
if (res.success) {
this.formobj = res.data
this.formobj.instanceId = res.data.procInstId
}
})
},
lookCourse() {
this.viewState = 2
this.$refs['divCourse'].showInfo({ sid: this.formobj.ajSid })
},
resetState() {
this.viewState = 1
},
saveOrUpdate() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
this.submitdisabled = true
req.saveOrUpdate(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '保存成功' })
// ()
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
})
}
})
},
submit() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
if (this.formobj.vehList.length === 0) {
this.$message({ showClose: true, type: 'error', message: '已还与欠款情况列表不能为空' })
return
}
this.submitdisabled = true
req.submit(this.formobj).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '操作成功' })
// ()
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
} else {
this.submitdisabled = false
}
}).catch(() => {
this.submitdisabled = false
})
}
})
}
}
}
</script>
<style scoped>
.span-sty {
width: 140px !important;
}
.addinputInfo {
margin-left: 130px !important;
}
.formaddcopy02 .el-row .el-col /deep/ .el-form-item .addinputw {
margin-left: 130px !important;
width: calc(100% - 125px);
}
.titleOne {
padding: 7px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
</style>

244
anrui-riskcenter-ui/src/views/workFlow/zhuansusongFlow/transferToLitigationYiBan.vue

@ -0,0 +1,244 @@
<template>
<div class="app-container">
<div v-show="viewState == 1">
<div class="tab-header webtop">
<div>{{ viewTitle }}</div>
<div>
<el-button type="danger" size="small" @click="openRevoke()">撤回</el-button>
</div>
</div>
<div class="">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="8">
<div class="span-sty">申请部门</div>
<el-form-item><span class="addinputInfo">{{ formobj.createDept }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">申请人</div>
<el-form-item><span class="addinputInfo">{{ formobj.createByName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">申请日期</div>
<el-form-item><span class="addinputInfo">{{ formobj.createTime }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<div class="span-sty">客户名称</div>
<el-form-item><span class="addinputInfo">{{ formobj.customerName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">贷款人</div>
<el-form-item><span class="addinputInfo">{{ formobj.loanName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">贷款合同编号</div>
<el-form-item><span class="addinputInfo">{{ formobj.loanContractNo }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<div class="span-sty">资方</div>
<el-form-item><span class="addinputInfo">{{ formobj.bankName }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">资方合同编号</div>
<el-form-item><span class="addinputInfo">{{ formobj.bankContractNo }}</span></el-form-item>
</el-col>
<el-col :span="8">
<div class="span-sty">转诉讼科目金额合计</div>
<el-form-item><span class="addinputInfo">{{ formobj.amount }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty">备注</div>
<el-form-item><span class="addinputInfo">{{ formobj.remarks }}</span></el-form-item>
</el-col>
</el-row>
<div class="title titleOne">
<div>转诉讼车辆列表</div>
<el-button size="mini" type="primary" class="btntopblueline" @click="lookCourse">查看案件详情</el-button>
</div>
<el-table :key="tableKey" :data="formobj.loanLawsuitSubVehList" :index="index" border style="width: 100%">
<el-table-column fixed width="80" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column prop="vinNo" label="车架号" align="center" min-width="120"/>
<el-table-column label="风控状态" align="center" min-width="120">
<template slot-scope="scope">
<span>{{ scope.row.riskState == '0' ? '正常' : scope.row.riskState == '1' ? '交回' : scope.row.riskState == '2' ? '赎回' : scope.row.riskState == '3' ? '转租' : '' }}</span>
</template>
</el-table-column>
<el-table-column label="是否已回购" align="center" min-width="140">
<template slot-scope="scope">
<span>{{ scope.row.repo == '1' ? '是' : scope.row.repo == '0' ? '否' : '' }}</span>
</template>
</el-table-column>
<el-table-column prop="currentBeMoney" label="逾期月还" align="center" min-width="160"/>
<el-table-column prop="currentNotDuePrice" label="当期未还月还" align="center" min-width="150"/>
<el-table-column prop="notDuePrice" label="未到期月还" align="center" min-width="150"/>
<el-table-column prop="bankAmount" label="回购资方费用" align="center" min-width="160"/>
<el-table-column prop="lawAomount" label="转诉讼科目金额" align="center" min-width="150"/>
</el-table>
</el-form>
</div>
</div>
<!-- 查看案件进程详情 -->
<courseofthecaseInfo v-show="viewState == 2" ref="divCourse" @doback="resetState" />
</div>
</template>
<script>
import req from '@/api/transferToLitigation/transferToLitigation'
import courseofthecaseInfo from '../courseofthecase/courseofthecaseInfo'
export default {
name: 'TransferToLitigationYiBan',
components: {
courseofthecaseInfo
},
data() {
return {
viewTitle: '',
viewState: 1,
tableKey: 0,
index: 0,
formobj: {
sid: '',
createTime: '',
createDept: '',
createDeptSid: '',
createByName: '',
billNo: '',
customerName: '',
customerSid: '',
loanSid: '',
loanName: '',
loanContractSid: '',
loanContractNo: '',
bankSid: '',
bankName: '',
bankContractNo: '',
amount: '',
nodeState: '',
useOrgSid: '',
useOrgName: '',
closeDate: '',
procInstId: '',
lawSid: '',
ajSid: '',
loanLawsuitSubVehList: []
},
//
linkByParameter: {
businessSid: '',
comment: '',
instanceId: '',
taskId: '',
orgSidPath: '',
taskDefKey: '',
userSid: ''
},
rules: {}
}
},
created() {
console.log('url:' + window.location.href)
var one = window.location.href.indexOf('&data') + 6
const data = window.location.href.substr(one) // urlunescape()web,使
const obj = JSON.parse(decodeURIComponent(data))
console.log('iframe页面获取的obj:', obj)
//
this.linkByParameter.businessSid = obj.businessSid
this.linkByParameter.instanceId = obj.instanceId
this.linkByParameter.taskId = obj.taskId
this.linkByParameter.taskDefKey = obj.taskDefKey
this.linkByParameter.userSid = window.sessionStorage.getItem('userSid')
//
this.showInfo(obj.businessSid)
},
mounted() {
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 2,
data: 400 + 'px'
}
}, '*')
},
methods: {
showInfo(sid) {
this.viewTitle = '转诉讼科目申请详情'
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
req.fetchBySid(sid).then((res) => {
if (res.success) {
this.formobj = res.data
}
})
},
lookCourse() {
this.viewState = 2
this.$refs['divCourse'].showInfo({ sid: this.formobj.ajSid })
},
resetState() {
this.viewState = 1
},
/** 确认撤回任务 */
openRevoke() {
this.$confirm('是否确认执行撤回操作', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.handleRevoke()
}).catch(() => {
this.$message({
type: 'info',
message: '已取消撤回'
})
})
},
/** 撤回任务 */
handleRevoke() {
req.revokeProcess(this.linkByParameter).then((response) => {
if (response.success) {
this.$notify({
title: '提示',
message: '执行成功',
type: 'success',
duration: 2000
})
this.nodeDialogVisible = false
//
window.parent.postMessage({
cmd: 'returnHeight',
params: {
//
code: 1
}
}, '*')
}
})
}
}
}
</script>
<style scoped>
.span-sty {
width: 140px !important;
}
.addinputInfo {
margin-left: 130px !important;
}
.titleOne {
padding: 7px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
</style>

2
anrui-riskcenter-ui/src/views/workFlow/zifangduizhangFlow/zifangduizhangDaiBan.vue

@ -105,7 +105,7 @@
<script>
import req from '@/api/overduereconciliationcapital/overduereconciliationcapital'
import {selectStaffListss} from "@/api/Common/dictcommons";
import { selectStaffListss } from '@/api/Common/dictcommons'
export default {
name: 'ZiFangDuiZhangDaiBan',

2
anrui-riskcenter/anrui-riskcenter-api/src/main/java/com/yxt/anrui/riskcenter/api/loanvoucher/RskPaymentVoucher.java

@ -60,5 +60,7 @@ public class RskPaymentVoucher {
public String type;
@ApiModelProperty("核算维度银行")
public String bank;
public Integer riskState;
}
}

19
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanbepadsincereapply/LoanBePadsincereApplyService.java

@ -1401,6 +1401,7 @@ public class LoanBePadsincereApplyService extends MybatisBaseService<LoanBePadsi
if (StringUtils.isNotBlank(customerNumber)) {
voucherDetail.setCustomerCode(customerNumber);
}
voucherDetail.setRiskState(busSalesOrderVehicle.getRiskState());
voucherDetail.setAmount(beInter);
voucherDetails.add(voucherDetail);
}
@ -1856,7 +1857,6 @@ public class LoanBePadsincereApplyService extends MybatisBaseService<LoanBePadsi
String linkNo = "";
BusSalesOrderBorrowerDetailsVo borrowerDetailsVo = busSalesOrderBorrowerFeign.fetchDetailsBySid(busSalesOrderVehicle.getBorrowerSid()).getData();
if (!aBoolean) {
// List<BdCustomer> bdCustomers = new ArrayList<>();
BdCustomer bdCustomer = new BdCustomer();
bdCustomer.setFNumber(busSalesOrderVehicle.getTemporaryNo());
bdCustomer.setFShortName(salesOrder.getContractNo());
@ -1877,7 +1877,6 @@ public class LoanBePadsincereApplyService extends MybatisBaseService<LoanBePadsi
bdCustomer.setFName(borrowerDetailsVo.getBorrowerName() + busSalesOrderVehicle.getTemporaryNo());
}
}
// bdCustomers.add(bdCustomer);
ResultBean<String> resultBean = finKingDeeFeign.draftBdCustomer(bdCustomer);
if (resultBean.getSuccess()) {
customerNumber = bdCustomer.getFNumber();
@ -1953,6 +1952,7 @@ public class LoanBePadsincereApplyService extends MybatisBaseService<LoanBePadsi
if (StringUtils.isNotBlank(customerNumber)) {
voucherDetail.setCustomerCode(customerNumber);
}
voucherDetail.setRiskState(busSalesOrderVehicle.getRiskState());
voucherDetail.setAmount(beInter);
voucherDetails.add(voucherDetail);
}
@ -2000,7 +2000,22 @@ public class LoanBePadsincereApplyService extends MybatisBaseService<LoanBePadsi
}
}else if(voucherDetail.getSceneCode().equals(SceneCodeEnum.PADSINCERE_VOUCHER4.getCode())){
dto1.setSummary(voucherDetail.getBankName() + "垫款资方违约金");
if("1".equals(voucherDetail.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_扣回车辆
dto1.setSubjectNo("1201.03.01");
}else if("7".equals(voucherDetail.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_处置车辆_车辆处置损失
dto1.setSubjectNo("1201.03.04.01");
}else if("9".equals(voucherDetail.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_诉讼车辆
dto1.setSubjectNo("1201.03.03");
}else if("11".equals(voucherDetail.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_处置车辆_已诉讼
dto1.setSubjectNo("1201.03.04.02");
}else if("12".equals(voucherDetail.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_待执行
dto1.setSubjectNo("1201.03.05");
}
}
}
dto1.setDimensionDept(voucherDetail.getDeptCode());

41
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanbuckleapply/LoanBuckleApplyService.java

@ -1075,26 +1075,44 @@ public class LoanBuckleApplyService extends MybatisBaseService<LoanBuckleApplyMa
if (StringUtils.isNotBlank(planDetails.getBankName())) {
//借方
Voucher.VoucherResultDetailDto voucherResultDetailDtoJf = new Voucher.VoucherResultDetailDto();
Voucher.VoucherResultDetailDto voucherResultDetailDtoDf = new Voucher.VoucherResultDetailDto();
String bankName = planDetails.getBankName();
DictCommonVo dictCommonVo = dictCommonFeign.selectBykey(bankName, "investorsCode").getData();
if (null != dictCommonVo) {
voucherResultDetailDtoJf.setSubjectNo(dictCommonVo.getDictValue());
}
voucherResultDetailDtoJf.setSummary(bankName+"划扣");
voucherResultDetailDtoDf.setSummary(bankName+"划扣");
voucherResultDetailDtoDf.setSubjectNo("1201.03.01");
//核算部门
voucherResultDetailDtoJf.setDimensionDept(deptCode);
//核算客户
voucherResultDetailDtoJf.setDimensionCustom(customerNumber);
voucherResultDetailDtoJf.setDebit(v.getActualMoney().toString());
voucherDetails2.add(voucherResultDetailDtoJf);
Voucher.VoucherResultDetailDto voucherResultDetailDtoDf = new Voucher.VoucherResultDetailDto();
voucherResultDetailDtoDf.setSummary(bankName+"划扣");
if("1".equals(busSalesOrderVehicle.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_扣回车辆
voucherResultDetailDtoDf.setSubjectNo("1201.03.01");
}else if("7".equals(busSalesOrderVehicle.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_处置车辆_车辆处置损失
voucherResultDetailDtoDf.setSubjectNo("1201.03.04.01");
}else if("9".equals(busSalesOrderVehicle.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_诉讼车辆
voucherResultDetailDtoDf.setSubjectNo("1201.03.03");
}else if("11".equals(busSalesOrderVehicle.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_处置车辆_已诉讼
voucherResultDetailDtoDf.setSubjectNo("1201.03.04.02");
}else if("12".equals(busSalesOrderVehicle.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_待执行
voucherResultDetailDtoDf.setSubjectNo("1201.03.05");
}
//核算部门
voucherResultDetailDtoDf.setDimensionDept(deptCode);
//核算客户
voucherResultDetailDtoDf.setDimensionCustom(customerNumber);
voucherResultDetailDtoDf.setCredit(v.getActualMoney().toString());
voucherDetails2.add(voucherResultDetailDtoJf);
voucherDetails2.add(voucherResultDetailDtoDf);
}
@ -1118,7 +1136,22 @@ public class LoanBuckleApplyService extends MybatisBaseService<LoanBuckleApplyMa
voucherDetails2.add(voucherResultDetailDtoJf);
Voucher.VoucherResultDetailDto voucherResultDetailDtoDf = new Voucher.VoucherResultDetailDto();
voucherResultDetailDtoDf.setSummary(planDetails.getBankName()+"划扣");
if("1".equals(busSalesOrderVehicle.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_扣回车辆
voucherResultDetailDtoDf.setSubjectNo("1201.03.01");
}else if("7".equals(busSalesOrderVehicle.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_处置车辆_车辆处置损失
voucherResultDetailDtoDf.setSubjectNo("1201.03.04.01");
}else if("9".equals(busSalesOrderVehicle.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_诉讼车辆
voucherResultDetailDtoDf.setSubjectNo("1201.03.03");
}else if("11".equals(busSalesOrderVehicle.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_处置车辆_已诉讼
voucherResultDetailDtoDf.setSubjectNo("1201.03.04.02");
}else if("12".equals(busSalesOrderVehicle.getRiskState().toString())){
//应收贷款车欠款_待处理欠款_待执行
voucherResultDetailDtoDf.setSubjectNo("1201.03.05");
}
//核算部门
voucherResultDetailDtoDf.setDimensionDept(deptCode);
//核算客户

268
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanlawsuitsubapply/LoanLawsuitSubApplyService.java

@ -31,10 +31,19 @@ import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemDetailsVo;
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemFeign;
import com.yxt.anrui.base.common.utils.Rule;
import com.yxt.anrui.buscenter.api.bussalesorder.BusSalesOrder;
import com.yxt.anrui.buscenter.api.bussalesorder.BusSalesOrderFeign;
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerDetailsVo;
import com.yxt.anrui.buscenter.api.bussalesorderborrower.BusSalesOrderBorrowerFeign;
import com.yxt.anrui.buscenter.api.bussalesordervehicle.BusSalesOrderVehicle;
import com.yxt.anrui.buscenter.api.bussalesordervehicle.BusSalesOrderVehicleFeign;
import com.yxt.anrui.buscenter.api.bussalesordervehicle.BusVinStateSetQuery;
import com.yxt.anrui.fin.api.kingdee.FinKingDeeFeign;
import com.yxt.anrui.fin.api.kingdee.bdcustomer.BdCustomer;
import com.yxt.anrui.fin.api.kingdee.voucher.Voucher;
import com.yxt.anrui.flowable.api.flow.FlowableFeign;
import com.yxt.anrui.flowable.api.flow.UpdateFlowFieldVo;
import com.yxt.anrui.flowable.api.flow2.FlowDelegateQuery;
@ -55,11 +64,13 @@ import com.yxt.anrui.riskcenter.api.loanlawsuitapply.LoanLawsuitVehVo;
import com.yxt.anrui.riskcenter.api.loanlawsuitsubapply.flow.*;
import com.yxt.anrui.riskcenter.api.loanlawsuitsubveh.LoanLawsuitSubVehDetailsVo;
import com.yxt.anrui.riskcenter.api.loanlawsuitsubveh.LoanLawsuitSubVehDto;
import com.yxt.anrui.riskcenter.api.loanreturninboundapply.LoanReturnInboundApply;
import com.yxt.anrui.riskcenter.api.loansettleapply.SettleApplyCommonVo;
import com.yxt.anrui.riskcenter.biz.loancaseprogress.LoanCaseProgressService;
import com.yxt.anrui.riskcenter.biz.loanlawsuitapply.LoanLawsuitApplyService;
import com.yxt.anrui.riskcenter.biz.loanlawsuitsubveh.LoanLawsuitSubVehService;
import com.yxt.anrui.riskcenter.biz.loanlawsuitveh.LoanLawsuitVehService;
import com.yxt.anrui.riskcenter.biz.loanrepaymentplandetails.LoanRepaymentPlanDetailsService;
import com.yxt.anrui.riskcenter.biz.loanrepurchaseapply.LoanRepurchaseApplyService;
import com.yxt.anrui.riskcenter.biz.loansettleapply.LoanSettleApplyService;
import com.yxt.anrui.scm.api.scmvehrebatecheckapplydetail.ScmVehrebateCheckapplydetailDetailsVo;
@ -115,6 +126,16 @@ public class LoanLawsuitSubApplyService extends MybatisBaseService<LoanLawsuitSu
private FlowTaskFeign flowTaskFeign;
@Autowired
private MessageFeign messageFeign;
@Autowired
private BusSalesOrderFeign busSalesOrderFeign;
@Autowired
private FinKingDeeFeign finKingDeeFeign;
@Autowired
private BusSalesOrderBorrowerFeign busSalesOrderBorrowerFeign;
@Autowired
private BasePurchaseSystemFeign basePurchaseSystemFeign;
@Autowired
private LoanRepaymentPlanDetailsService loanRepaymentPlanDetailsService;
public PagerVo<LoanLawsuitSubApplyVo> listPageVo(PagerQuery<LoanLawsuitSubApplyQuery> pq) {
LoanLawsuitSubApplyQuery query = pq.getParams();
@ -467,6 +488,20 @@ public class LoanLawsuitSubApplyService extends MybatisBaseService<LoanLawsuitSu
UpdateFlowFieldVo ufVo = resultBean.getData();
int i = updateFlowFiled(BeanUtil.beanToMap(resultBean.getData()));
if ("Event_end".equals(resultBean.getData().getTaskDefKey())) {
//设置车辆的风控状态
try {
ThreadFactory namedThreadFactory = new ThreadFactoryBuilder()
.setNameFormat("demo-pool-%d").build();
ExecutorService pool = new org.apache.tomcat.util.threads.ThreadPoolExecutor(2, 100,
0L, TimeUnit.MILLISECONDS,
new LinkedBlockingQueue<Runnable>(1024), namedThreadFactory, new org.apache.tomcat.util.threads.ThreadPoolExecutor.AbortPolicy());
Future future1 = pool.submit(() -> {
pushRiskToFin(businessSid);
setRiskState(businessSid);
});
} catch (Exception e) {
e.printStackTrace();
}
} else {
//极光推送
@ -490,6 +525,239 @@ public class LoanLawsuitSubApplyService extends MybatisBaseService<LoanLawsuitSu
}
}
public void pushRiskToFin(String businessSid){
LoanLawsuitSubApply lawsuitSubApply = fetchBySid(businessSid);
if(lawsuitSubApply != null){
Voucher voucher = new Voucher();
SysOrganizationVo organizationVo = sysOrganizationFeign.fetchBySid(lawsuitSubApply.getUseOrgSid()).getData();
if (null != organizationVo) {
voucher.setAccountBook(organizationVo.getOrgCode());
voucher.setVoucherNo(organizationVo.getOrgCode());
}
List<Voucher.VoucherResultDetailDto> voucherResultDetailDtos = new ArrayList<>();
List<Voucher.VoucherResultDetailDto> voucherResultDetailDto2 = new ArrayList<>();
List<Voucher.VoucherResultDetailDto> voucherResultDetailDto3 = new ArrayList<>();
SysOrganizationVo deptVo = sysOrganizationFeign.fetchBySid(lawsuitSubApply.getCreateDeptSid()).getData();
List<String> busVinSidList = loanLawsuitSubVehService.selectByMainSid(businessSid);
for (int i = 0; i < busVinSidList.size(); i++) {
String busVinSid = busVinSidList.get(i);
BusSalesOrderVehicle busSalesOrderVehicle = busSalesOrderVehicleFeign.details(busVinSid).getData();
String customerNumber = "";
BusSalesOrder salesOrder = busSalesOrderFeign.fetchBySid(busSalesOrderVehicle.getSalesOrderSid()).getData();
if (salesOrder != null && busSalesOrderVehicle != null) {
//判断财务系统是否有客户
Boolean aBoolean = finKingDeeFeign.customerExistState(busSalesOrderVehicle.getTemporaryNo()).getData();
String linkNo = "";
BusSalesOrderBorrowerDetailsVo borrowerDetailsVo = busSalesOrderBorrowerFeign.fetchDetailsBySid(busSalesOrderVehicle.getBorrowerSid()).getData();
if (!aBoolean) {
BdCustomer bdCustomer = new BdCustomer();
bdCustomer.setFNumber(busSalesOrderVehicle.getTemporaryNo());
bdCustomer.setFShortName(salesOrder.getContractNo());
if (StringUtils.isNotBlank(salesOrder.getPurchaseSystemSid())) {
BasePurchaseSystemDetailsVo data = basePurchaseSystemFeign.fetchDetailsByDeptSid(salesOrder.getPurchaseSystemSid()).getData();
bdCustomer.setTOrgIds(data.getOrgCode());
}
bdCustomer.setTOrgIds(deptVo.getOrgCode());
if (org.apache.commons.lang3.StringUtils.isNotBlank(busSalesOrderVehicle.getLinkNo())) {
String vinNo = busSalesOrderVehicle.getLinkNo();
if (vinNo.length() > 8) {
linkNo = vinNo.substring(vinNo.length() - 8);
} else {
linkNo = busSalesOrderVehicle.getLinkNo();
}
if (null != borrowerDetailsVo) {
bdCustomer.setFName(borrowerDetailsVo.getBorrowerName() + linkNo);
}
} else {
if (null != borrowerDetailsVo) {
bdCustomer.setFName(borrowerDetailsVo.getBorrowerName() + busSalesOrderVehicle.getTemporaryNo());
}
}
ResultBean<String> resultBean = finKingDeeFeign.draftBdCustomer(bdCustomer);
if (resultBean.getSuccess()) {
customerNumber = bdCustomer.getFNumber();
}
} else {
customerNumber = busSalesOrderVehicle.getTemporaryNo();
}
}
if("7".equals(busSalesOrderVehicle.getRiskState().toString())){
BigDecimal all = BigDecimal.ZERO;
String allMoney = loanRepaymentPlanDetailsService.selectAllMoney(busVinSid);
String wdqMoney = loanRepaymentPlanDetailsService.getWdq(busVinSid);
all = all.add(StringUtils.isNotBlank(allMoney) ? new BigDecimal(allMoney) : BigDecimal.ZERO).add(StringUtils.isNotBlank(wdqMoney) ? new BigDecimal(wdqMoney) : BigDecimal.ZERO);
//贷方
Voucher.VoucherResultDetailDto voucherResultDetailDtoDf = new Voucher.VoucherResultDetailDto();
//借方
Voucher.VoucherResultDetailDto voucherResultDetailDtoJf = new Voucher.VoucherResultDetailDto();
if (all.compareTo(BigDecimal.ZERO) > 0) {
voucherResultDetailDtoDf.setSummary(customerNumber + "转诉讼");
voucherResultDetailDtoDf.setSubjectNo("1201.03.04.01");
//核算部门
voucherResultDetailDtoDf.setDimensionDept(deptVo.getOrgCode());
//核算客户
voucherResultDetailDtoDf.setDimensionCustom(customerNumber);
voucherResultDetailDtoDf.setCredit(all.toString());
voucherResultDetailDtos.add(voucherResultDetailDtoDf);
voucherResultDetailDtoJf.setSummary(customerNumber + "转诉讼");
voucherResultDetailDtoJf.setSubjectNo("1201.03.04.02");
//核算部门
voucherResultDetailDtoJf.setDimensionDept(deptVo.getOrgCode());
//核算客户
voucherResultDetailDtoJf.setDimensionCustom(customerNumber);
voucherResultDetailDtoJf.setDebit(all.toString());
voucherResultDetailDtos.add(voucherResultDetailDtoJf);
}
}
if("0".equals(busSalesOrderVehicle.getRiskState().toString())){//未扣回,直接转诉讼
BigDecimal all = BigDecimal.ZERO;
//应收贷款车欠款_到期欠款_累欠
BigDecimal lqMoney = BigDecimal.ZERO;
//应收贷款车欠款_未到期欠款_未到期欠款
BigDecimal wdqMoney = BigDecimal.ZERO;
//应收贷款车欠款_到期欠款_本金
BigDecimal bjMoney = BigDecimal.ZERO;
String lq = loanRepaymentPlanDetailsService.getYqLq(busVinSid);
lqMoney = lqMoney.add(new BigDecimal(StringUtils.isBlank(lq) ? "0" : lq));
//未到期欠款
String wdq = loanRepaymentPlanDetailsService.getWdq(busVinSid);
wdqMoney = wdqMoney.add(new BigDecimal(StringUtils.isBlank(wdq) ? "0" : wdq));
String bj = loanRepaymentPlanDetailsService.getBj(busVinSid);
bjMoney = bjMoney.add(new BigDecimal(StringUtils.isBlank(bj) ? "0" : bj));
all = lqMoney.add(wdqMoney).add(bjMoney);
if (all.compareTo(BigDecimal.ZERO) != 0) {
//借方
Voucher.VoucherResultDetailDto voucherResultDetailDtoJf = new Voucher.VoucherResultDetailDto();
voucherResultDetailDtoJf.setSummary("转诉讼科目");
voucherResultDetailDtoJf.setSubjectNo("1201.03.03");
//核算部门
voucherResultDetailDtoJf.setDimensionDept(deptVo.getOrgCode());
//核算客户
voucherResultDetailDtoJf.setDimensionCustom(customerNumber);
voucherResultDetailDtoJf.setDebit(all.toString());
voucherResultDetailDto2.add(voucherResultDetailDtoJf);
}
if (lqMoney.compareTo(BigDecimal.ZERO) != 0) {
//贷方
Voucher.VoucherResultDetailDto voucherResultDetailDtoDf1 = new Voucher.VoucherResultDetailDto();
voucherResultDetailDtoDf1.setSummary("转诉讼科目");
voucherResultDetailDtoDf1.setSubjectNo("1201.02.03");
//核算部门
voucherResultDetailDtoDf1.setDimensionDept(deptVo.getOrgCode());
//核算客户
voucherResultDetailDtoDf1.setDimensionCustom(customerNumber);
voucherResultDetailDtoDf1.setCredit(lqMoney.toString());
voucherResultDetailDto2.add(voucherResultDetailDtoDf1);
}
if (wdqMoney.compareTo(BigDecimal.ZERO) != 0) {
Voucher.VoucherResultDetailDto voucherResultDetailDtoDf2 = new Voucher.VoucherResultDetailDto();
voucherResultDetailDtoDf2.setSummary("转诉讼科目");
voucherResultDetailDtoDf2.setSubjectNo("1201.01.00");
//核算部门
voucherResultDetailDtoDf2.setDimensionDept(deptVo.getOrgCode());
//核算客户
voucherResultDetailDtoDf2.setDimensionCustom(customerNumber);
voucherResultDetailDtoDf2.setCredit(wdqMoney.toString());
voucherResultDetailDto2.add(voucherResultDetailDtoDf2);
}
if (bjMoney.compareTo(BigDecimal.ZERO) != 0) {
Voucher.VoucherResultDetailDto voucherResultDetailDtoDf3 = new Voucher.VoucherResultDetailDto();
voucherResultDetailDtoDf3.setSummary("转诉讼科目");
voucherResultDetailDtoDf3.setSubjectNo("1201.02.01");
//核算部门
voucherResultDetailDtoDf3.setDimensionDept(deptVo.getOrgCode());
//核算客户
voucherResultDetailDtoDf3.setDimensionCustom(customerNumber);
voucherResultDetailDtoDf3.setCredit(bjMoney.toString());
voucherResultDetailDto2.add(voucherResultDetailDtoDf3);
}
}
if("1".equals(busSalesOrderVehicle.getRiskState().toString())){//扣回转诉讼
BigDecimal all = BigDecimal.ZERO;
String allMoney = loanRepaymentPlanDetailsService.selectAllMoney(busVinSid);
String wdqMoney = loanRepaymentPlanDetailsService.getWdq(busVinSid);
all = all.add(StringUtils.isNotBlank(allMoney) ? new BigDecimal(allMoney) : BigDecimal.ZERO).add(StringUtils.isNotBlank(wdqMoney) ? new BigDecimal(wdqMoney) : BigDecimal.ZERO);
//贷方
Voucher.VoucherResultDetailDto voucherResultDetailDtoDf = new Voucher.VoucherResultDetailDto();
//借方
Voucher.VoucherResultDetailDto voucherResultDetailDtoJf = new Voucher.VoucherResultDetailDto();
if (all.compareTo(BigDecimal.ZERO) > 0) {
voucherResultDetailDtoDf.setSummary("转诉讼科目");
voucherResultDetailDtoDf.setSubjectNo("1201.03.01");
//核算部门
voucherResultDetailDtoDf.setDimensionDept(deptVo.getOrgCode());
//核算客户
voucherResultDetailDtoDf.setDimensionCustom(customerNumber);
voucherResultDetailDtoDf.setCredit(all.toString());
voucherResultDetailDto3.add(voucherResultDetailDtoDf);
voucherResultDetailDtoJf.setSummary("转诉讼科目");
voucherResultDetailDtoJf.setSubjectNo("1201.03.03");
//核算部门
voucherResultDetailDtoJf.setDimensionDept(deptVo.getOrgCode());
//核算客户
voucherResultDetailDtoJf.setDimensionCustom(customerNumber);
voucherResultDetailDtoJf.setDebit(all.toString());
voucherResultDetailDto3.add(voucherResultDetailDtoJf);
}
}
}
if (!voucherResultDetailDtos.isEmpty()) {
voucher.setResultDetails(voucherResultDetailDtos);
finKingDeeFeign.saveVoucher(voucher);
}
if (!voucherResultDetailDto2.isEmpty()) {
voucher.setResultDetails(voucherResultDetailDto2);
finKingDeeFeign.saveVoucher(voucher);
}
if (!voucherResultDetailDto3.isEmpty()) {
voucher.setResultDetails(voucherResultDetailDto3);
finKingDeeFeign.saveVoucher(voucher);
}
}
}
public void setRiskState(String businessSid){
List<String> busVinSidJh = new ArrayList<>();
List<String> busVinSidSecond = new ArrayList<>();
//判断车辆是交回、未交回还是二次销售
List<String> busVinSidList = loanLawsuitSubVehService.selectByMainSid(businessSid);
busVinSidList.removeAll(Collections.singleton(null));
if(!busVinSidList.isEmpty()){
for (int j = 0; j < busVinSidList.size(); j++) {
String busVinSid = busVinSidList.get(j);
BusSalesOrderVehicle busSalesOrderVehicle = busSalesOrderVehicleFeign.fetchBySalesOrderVehiclerSid(busVinSid).getData();
if(busSalesOrderVehicle != null){
if("0".equals(busSalesOrderVehicle.getRiskState().toString())
|| "1".equals(busSalesOrderVehicle.getRiskState().toString())){//正常和交回的,转为9
busVinSidJh.add(busVinSid);
}else if("7".equals(busSalesOrderVehicle.getRiskState().toString())){
busVinSidSecond.add(busVinSid);
}
}
}
//将交回、正常的车辆的风控状态设置为9直接诉讼立案
BusVinStateSetQuery busVinStateSetQuery = new BusVinStateSetQuery();
if(!busVinSidJh.isEmpty()){
busVinStateSetQuery.setState(9);
busVinStateSetQuery.setBusVinSidList(busVinSidJh);
busSalesOrderVehicleFeign.setRiskState(busVinStateSetQuery);
}
//将处置损失的车辆的风控状态设置为11亏损立案
if(!busVinSidSecond.isEmpty()){
busVinStateSetQuery.setState(11);
busVinStateSetQuery.setBusVinSidList(busVinSidJh);
busSalesOrderVehicleFeign.setRiskState(busVinStateSetQuery);
}
}
}
/**
* 撤回

2
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanlawsuitsubveh/LoanLawsuitSubVehMapper.java

@ -42,4 +42,6 @@ public interface LoanLawsuitSubVehMapper extends BaseMapper<LoanLawsuitSubVeh> {
@Select("select * from loan_lawsuit_sub_veh where mainSid = #{mainSid}")
List<LoanLawsuitSubVehDetailsVo> selByMainSid(String mainSid);
List<String> selectByMainSid(String businessSid);
}

4
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanlawsuitsubveh/LoanLawsuitSubVehMapper.xml

@ -4,4 +4,8 @@
<!-- <where> ${ew.sqlSegment} </where>-->
<!-- ${ew.customSqlSegment} -->
<select id="selectByMainSid" resultType="java.lang.String">
select busVinSid from loan_lawsuit_sub_veh where mainSid = #{businessSid}
</select>
</mapper>

4
anrui-riskcenter/anrui-riskcenter-biz/src/main/java/com/yxt/anrui/riskcenter/biz/loanlawsuitsubveh/LoanLawsuitSubVehService.java

@ -51,4 +51,8 @@ public class LoanLawsuitSubVehService extends MybatisBaseService<LoanLawsuitSubV
public List<LoanLawsuitSubVehDetailsVo> selByMainSid(String mainSid) {
return baseMapper.selByMainSid(mainSid);
}
public List<String> selectByMainSid(String businessSid) {
return baseMapper.selectByMainSid(businessSid);
}
}
Loading…
Cancel
Save