Browse Source

Merge remote-tracking branch 'origin/master'

zhanglei
Zhao Qiqi 3 years ago
parent
commit
f8f3fefb16
  1. 2
      anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/baseoutsourcingapplication/BaseOutsourcingApplicationMapper.xml
  2. 11
      anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busdelivered/BusDelivered.java
  3. 2
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finpaymentrecord/FinPaymentrecordService.java
  4. 2
      anrui-flowable/anrui-flowable-api/src/main/java/com/yxt/anrui/flowable/api/utils/ProcDefEnum.java
  5. 2
      anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclegression/ScmVehicleGressionVo.java
  6. 2
      anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclegression/ScmVehicleGressionMapper.java
  7. 13
      anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclegression/ScmVehicleGressionMapper.xml
  8. 33
      anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclegression/ScmVehicleGressionService.java
  9. 2
      anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplication.vue
  10. 15
      anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue
  11. 4
      anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationInfo.vue
  12. 46
      anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplication.vue
  13. 5
      anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue
  14. 5
      anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationInfo.vue
  15. 5
      anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangInfo.vue
  16. 9
      anrui-terminal/anrui-terminal-biz/src/main/java/com/yxt/anrui/terminal/biz/autoservice/retrieval/AppBusDeliveredApplyService.java

2
anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/baseoutsourcingapplication/BaseOutsourcingApplicationMapper.xml

@ -4,7 +4,7 @@
<!-- <where> ${ew.sqlSegment} </where>-->
<!-- ${ew.customSqlSegment} -->
<select id="selectPageVo" resultType="com.yxt.anrui.base.api.baseoutsourcingapplication.BaseOutsourcingApplicationVo">
SELECT * FROM base_outsourcing_application <where> ${ew.sqlSegment} </where>
SELECT * FROM base_outsourcing_application <where> ${ew.sqlSegment} </where> order by createTime desc
</select>
<select id="BaseOutsourcingApplicationDetailsVo"

11
anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busdelivered/BusDelivered.java

@ -26,6 +26,7 @@
package com.yxt.anrui.buscenter.api.busdelivered;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.yxt.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ -50,8 +51,14 @@ import lombok.Data;
public class BusDelivered extends BaseEntity {
private static final long serialVersionUID = 1L;
@ApiModelProperty("类型:1车款交清、2欠款提车")
private Integer type;
@ApiModelProperty("类型 1 已认款 2 未认款")
private String subscription;
@ApiModelProperty("类型 1 已认款 2 未认款")
private String subscriptionKey;
@ApiModelProperty("付款方式 1 全款 2 贷款")
private String paymentMethod;
@ApiModelProperty("付款方式 1 全款 2 贷款")
private String paymentMethodKey;
@ApiModelProperty("合同编号")
private String contractNo;
@ApiModelProperty("客户名称")

2
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finpaymentrecord/FinPaymentrecordService.java

@ -93,7 +93,7 @@ public class FinPaymentrecordService extends MybatisBaseService<FinPaymentrecord
qw.eq("fp.useOrgSid", resultBean.getData());
}
}
qw.orderByDesc("fp.payDate");
qw.orderByDesc("fp.createTime");
IPage<FinPaymentrecord> page = PagerUtil.queryToPage(pq);
IPage<FinPaymentrecordVo> pagging = baseMapper.selectPageVo(page, qw);
PagerVo<FinPaymentrecordVo> p = PagerUtil.pageToVo(pagging, null);

2
anrui-flowable/anrui-flowable-api/src/main/java/com/yxt/anrui/flowable/api/utils/ProcDefEnum.java

@ -23,7 +23,7 @@ public enum ProcDefEnum {
BASEOUTSOURCINGAPPLICATION("外采申请", "process_5tqysnjc:3:365004"),//TODO
BASEMODELMODPRICE("车型调价申请", "process_kydcif7k:5:280004"),
BASEINTERNALPURCHASE("调车申请", "process_i6luw5xq:2:315150"),
SCMCARTRANSFER("库存地点变更申请", "process_3bc4p2em:4:300008"), //TODO
SCMCARTRANSFER("库存地点变更申请", "process_3bc4p2em:5:382504"), //TODO
FINCOSTAPPLY("费用申请","process_u0pahv0s:4:320016"),
FINPAYAPPLY("付款申请","process_gin2tntb:2:320012"),
BUSDELIVEREDAPPLY("出库申请","process_wgt1n66l:2:357504"),

2
anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclegression/ScmVehicleGressionVo.java

@ -71,5 +71,7 @@ public class ScmVehicleGressionVo implements Vo {
private String InsuranceState; // 保险状态
@ApiModelProperty("临牌")
private String temporaryCard; // 临牌
@ApiModelProperty("审核状态")
private String nodeState;
}

2
anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclegression/ScmVehicleGressionMapper.java

@ -113,4 +113,6 @@ public interface ScmVehicleGressionMapper extends BaseMapper<ScmVehicleGression>
void updateStateBySid(@Param("sid") String sid, @Param("state") String state);
int selectNum(String bill);
List<ScmVehicleGressionVo> getlastTimeEqual(@Param("vinNo") String vinNo, @Param("targetLocationSid") String targetLocationSid);
}

13
anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclegression/ScmVehicleGressionMapper.xml

@ -91,11 +91,22 @@
</select>
<select id="selectNum" resultType="java.lang.Integer">
select count(*)
select RIGHT (applicantNo, 4)
from scm_vehicle_gression
where applicantNo LIKE concat(#{bill}, '%')
order by id desc limit 1
</select>
<select id="getlastTimeEqual" resultType="com.yxt.anrui.scm.api.scmvehiclegression.ScmVehicleGressionVo">
select *
from scm_vehicle_gression
where vinNo = #{vinNo}
and targetLocationSid = #{targetLocationSid}
and LENGTH(nodeState) > 0
order by id desc limit 1
</select>
<update id="updateFlowFiled">
UPDATE scm_vehicle_gression
SET nodeState=#{nodeState}

33
anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclegression/ScmVehicleGressionService.java

@ -201,8 +201,11 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres
*/
private QueryWrapper<ScmVehicleGressionPageVo> pcQueryWrapper(ScmVehicleGressionPageQuery query) {
QueryWrapper<ScmVehicleGressionPageVo> qw = new QueryWrapper<>();
if (StringUtils.isNotBlank(query.getUseOrgSid())) {
qw.eq("svg.useOrgSid", query.getUseOrgSid());
// if (StringUtils.isNotBlank(query.getUseOrgSid())) {
// qw.eq("svg.useOrgSid", query.getUseOrgSid());
// }
if (StringUtils.isNotBlank(query.getUserSid())) {
qw.eq("svg.createBySid", query.getUserSid());
}
if (StringUtils.isNotBlank(query.getType())) {
qw.eq("svg.handleState", query.getType());
@ -259,8 +262,11 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres
*/
private QueryWrapper<AppScmVehicleGressionPageVo> appQueryWrapper(AppScmVehicleGressionPageQuery query) {
QueryWrapper<AppScmVehicleGressionPageVo> qw = new QueryWrapper<>();
if (StringUtils.isNotBlank(query.getUseOrgSid())) {
qw.eq("svg.useOrgSid", query.getUseOrgSid());
// if (StringUtils.isNotBlank(query.getUseOrgSid())) {
// qw.eq("svg.useOrgSid", query.getUseOrgSid());
// }
if (StringUtils.isNotBlank(query.getUserSid())) {
qw.eq("svg.createBySid", query.getUserSid());
}
if (StringUtils.isNotBlank(query.getType())) {
qw.eq("svg.handleState", query.getType());
@ -306,12 +312,12 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres
scmVehicleGression.setApplicantDate(simpleDateFormat.format(new Date()));
scmVehicleGression.setOrgSid(data.getOrgSid());
scmVehicleGression.setUseOrgSid(useOrgSid);
scmVehicleGression.setCreateBySid(dto.getUserSid());
//申请编号规则:单据名称大写首字母+分公司编码+年份+月份+4位顺序号
//获取单据名称大写首字母+分公司编码+年份+月份
// Map<String, String> stringStringMap = generateBillNo(userSid);
String billNo = getApplyCode(dto);
scmVehicleGression.setApplicantNo(billNo);
save(scmVehicleGression);
if ("1".equals(dto.getInsuranceStateKey())) { // 如果保单状态为否 不保存保单照片
List<String> factoryImage = dto.getPolicyImage();
if (factoryImage.size() <= 0) {
@ -332,13 +338,13 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres
} else if ("0".equals(dto.getInsuranceStateKey())) {
scmFileService.deleteByLinkSidAndType(scmVehicleGression.getSid(), type);
}
save(scmVehicleGression);
} else {
scmVehicleGression = fetchBySid(dto.getSid());
if (scmVehicleGression == null) {
return rb.setMsg("该数据不存在");
}
BeanUtil.copyProperties(dto, scmVehicleGression, "sid");
updateById(scmVehicleGression);
if ("1".equals(dto.getInsuranceStateKey())) { // 如果保单状态为否 不保存保单照片
List<String> factoryImage = dto.getPolicyImage();
if (factoryImage.size() <= 0) {
@ -356,6 +362,7 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres
scmFile.setLinkSid(scmVehicleGression.getSid());
scmFileService.save(scmFile);
}
updateById(scmVehicleGression);
} else if ("0".equals(dto.getInsuranceStateKey())) {
scmFileService.deleteByLinkSidAndType(scmVehicleGression.getSid(), type);
}
@ -565,6 +572,14 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres
if (r == 0) {
return rb.setMsg("操作失败!提交的数据不一致");
}
List<ScmVehicleGressionVo> scmVehicleGressionVos = baseMapper.getlastTimeEqual(dto.getVinNo(), dto.getTargetLocationSid());
if (scmVehicleGressionVos.size() > 0) {
if (StringUtils.isNotBlank(scmVehicleGressionVos.get(0).getNodeState())) {
if (!(scmVehicleGressionVos.get(0).getNodeState().contains("已办结") || scmVehicleGressionVos.get(0).getNodeState().contains("已终止") || scmVehicleGressionVos.get(0).getNodeState().contains("申请"))) {
return rb.setMsg("该申请已存在,请务重复提交!");
}
}
}
//新增修改保存
ResultBean<String> resultBean = saveCarTransferInfo(dto);
if (!resultBean.getSuccess()) {
@ -742,6 +757,9 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres
*/
public ResultBean taskReject(ScmCarTransferTaskQuery query) {
ResultBean rb = ResultBean.fireFail();
if (StringUtils.isBlank(query.getComment())) {
return rb.setMsg("意见不能为空");
}
ScmVehicleGression scmVehicleGression = fetchBySid(query.getBusinessSid());
if (scmVehicleGression == null) {
return rb.setMsg("该申请不存在");
@ -809,6 +827,9 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres
if (StringUtils.isBlank(query.getUserSid())) {
return rb.setMsg("参数错误:userSid");
}
if (StringUtils.isBlank(query.getComment())) {
return rb.setMsg("意见不能为空");
}
ScmVehicleGression scmVehicleGression = fetchBySid(query.getBusinessSid());
String businessTaskId = scmVehicleGression.getTaskId();
if (StringUtils.isNotBlank(businessTaskId)) {

2
anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplication.vue

@ -48,7 +48,6 @@
<el-button type="primary" size="mini" @click="toInfo(scope.row)">查看</el-button>
</template>
</el-table-column>
<el-table-column prop="applicationCode" width="140px;" label="申请单编号" align="center"/>
<el-table-column prop="nodeState" width="100px;" label="状态" align="center">
<template slot-scope="scope">
<span v-if="scope.row.nodeState=='待提交'" type="primary" size="mini">待提交</span>
@ -56,6 +55,7 @@
style="color: #018ad2;cursor: pointer;">{{ scope.row.nodeState }}</span>
</template>
</el-table-column>
<el-table-column prop="applicationCode" width="140px;" label="申请编号" align="center"/>
<el-table-column prop="applicationDate" width="110px;" label="申请日期" align="center"/>
<el-table-column prop="modelName" label="车型" align="center"/>
<el-table-column prop="num" width="60px;" label="台数" align="center"/>

15
anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue

@ -19,6 +19,7 @@
<div class="listconadd">
<el-form ref="form_obj" :model="formobj" :rules="rules" label-position="right" class="formadd">
<div class="wlInfo" style="text-align: center;"><span style="font-size:28px;">外采申请表</span></div>
<div class="wlInfo" style="text-align: right;"><span style="font-size:14px;">金额单位</span></div>
<br><br>
<el-row style="border-left: none;">
<el-col :span="3" class="tleftb">
@ -88,7 +89,7 @@
<span><span class="icon">*</span>销售指导价</span>
</el-col>
<el-col :span="9" class="trightb">
<el-form-item v-show="formobj.externalMiningTypeKey==1" prop="guidedPrice"><el-input size="small" v-model="formobj.guidedPrice" placeholder="销售指导价" class="addinputw" clearable /></el-form-item>
<el-form-item v-show="formobj.externalMiningTypeKey==1" prop="guidedPrice">{{formobj.guidedPrice}}</el-form-item>
<el-form-item v-show="formobj.externalMiningTypeKey==2" prop="guidedPrice">{{formobj.guidedPrice}}</el-form-item>
</el-col>
<el-col :span="3" class="tleftb">
@ -163,7 +164,7 @@
</el-row>
<el-row style="border-left: none;">
<el-col :span="3" class="tleftb">
<span><span class="icon">*</span>备注</span>
<span>备注</span>
</el-col>
<el-col :span="21" class="trightb">
<el-form-item prop="remarks"><el-input size="small" v-model="formobj.remarks" placeholder="备注" class="addinputw" clearable /></el-form-item>
@ -482,7 +483,17 @@ export default {
},
showAdd() {
var nowDate = new Date()
var date = {
year: nowDate.getFullYear(),
month: nowDate.getMonth() + 1,
day: nowDate.getDate()
}
var dayDate = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day)
this.formobj.applicationDate = dayDate
this.formobj.contract={}
this.formobj.depositBankName=""
this.formobj.bankAccount=""
this.fileList=[]
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()

4
anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationInfo.vue

@ -10,8 +10,10 @@
</div>
<!-- 标题按钮部分结束 -->
<div class="listconadd">
<div class="titwu">外采申请表</div>
<el-form ref="form_obj" :model="formobj" label-position="right" class="formadd">
<div class="wlInfo" style="text-align: center;"><span style="font-size:28px;">外采申请表</span></div>
<div class="wlInfo" style="text-align: right;"><span style="font-size:14px;">金额单位</span></div>
<br><br>
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="3" class="tleftb">分公司名称</el-col>
<el-col :span="5" class="trightb">

46
anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplication.vue

@ -15,6 +15,9 @@
<!-- 标题按钮部分结束 -->
<div>
<el-form ref="form_obj" :model="formobj" label-position="right" class="formadd" >
<div class="wlInfo" style="text-align: center;"><span style="font-size:28px;">外采申请表</span></div>
<div class="wlInfo" style="text-align: right;"><span style="font-size:14px;">金额单位</span></div>
<br><br>
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="3" class="tleftb">分公司名称</el-col>
<el-col :span="5" class="trightb">
@ -104,7 +107,7 @@
</el-row>
<el-row >
<el-col :span="3" class="tleftb">
<span><span class="icon">*</span>备注</span>
<span>备注</span>
</el-col>
<el-col :span="21" class="trightb">
<el-form-item prop="remarks">
@ -175,6 +178,21 @@
<el-button type="info " size="mini" @click="closeNodeDialog"> </el-button>
</div>
</el-form>
</el-dialog>
<!-- 选择待办人 的弹出框-->
<el-dialog title="填写审批意见" :visible.sync="nodeDialogVisibleForstop" width="80%">
<el-form label-position="right" class="formadd" >
<el-row>
<el-col :span="4" class="tleftb">意见</el-col>
<el-col :span="20" class="trightb">
<el-input size="small" v-model="formobj.comment" placeholder="审批意见" class="addinputw" clearable ></el-input>
</el-col>
</el-row>
<div style="text-align:center;margin-top: 20px;">
<el-button type="primary" size="mini" @click="handleStop()"> </el-button>
<el-button type="info " size="mini" @click="closeNodeDialog"> </el-button>
</div>
</el-form>
</el-dialog>
</div>
</template>
@ -198,6 +216,7 @@ export default {
//
nodeDialogVisible:false,
nodeDialogVisibleForReject:false,
nodeDialogVisibleForstop:false,
//
nodeUserDialogVisible:false,
// xml
@ -327,24 +346,12 @@ export default {
closeNodeDialog(){
this.nodeDialogVisible = false
this.nodeDialogVisibleForReject=false
this.nodeDialogVisibleForstop=false
},
//
openStop() {
this.$confirm('是否确认执行终止操作', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
this.handleStop()
})
.catch(() => {
this.$message({
type: 'info',
message: '已取消终止'
})
})
this.nodeDialogVisibleForstop=true
},
//
openReject() {
@ -373,7 +380,6 @@ export default {
this.nodeDialogVisible = true
}
});
},
handleReturn() {
this.$emit('doback')
@ -421,6 +427,7 @@ export default {
reject(){
if(this.formobj.comment==''){
alert('请填写审批意见!');
return false;
}
this.handleReject();
},
@ -428,6 +435,7 @@ export default {
agree() {
if(this.formobj.comment==''){
alert('请填写审批意见!');
return false;
}
//
//sid
@ -484,7 +492,11 @@ export default {
} ,
/** 终止任务 */
handleStop() {
this.stopList.comment = this.comment
if(this.formobj.comment==''){
alert('请填写审批意见!');
return false;
}
this.stopList.comment = this.formobj.comment
req.breakTask(this.stopList).then((response) => {
if (response.code === '200') {
this.$notify({

5
anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue

@ -18,6 +18,9 @@
<!-- Start 新增修改部分 -->
<div>
<el-form ref="form_obj" :model="formobj" :rules="rules" label-position="right" class="formadd">
<div class="wlInfo" style="text-align: center;"><span style="font-size:28px;">外采申请表</span></div>
<div class="wlInfo" style="text-align: right;"><span style="font-size:14px;">金额单位</span></div>
<br><br>
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="3" class="tleftb">
<span><span class="icon">*</span>分公司名称</span>
@ -132,7 +135,7 @@
<el-row >
<el-col :span="3" class="tleftb">
<span><span class="icon">*</span>备注</span>
<span>备注</span>
</el-col>
<el-col :span="21" class="trightb">
<el-form-item prop="remarks"><el-input size="small" v-model="formobj.remarks" placeholder="备注" class="addinputw" clearable /></el-form-item>

5
anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationInfo.vue

@ -12,6 +12,9 @@
<!-- 标题按钮部分结束 -->
<div >
<el-form ref="form_obj" :model="formobj" label-position="right" class="formadd">
<div class="wlInfo" style="text-align: center;"><span style="font-size:28px;">外采申请表</span></div>
<div class="wlInfo" style="text-align: right;"><span style="font-size:14px;">金额单位</span></div>
<br><br>
<el-row style="border-top: 1px solid #e0e3eb">
<el-col :span="3" class="tleftb">分公司名称</el-col>
<el-col :span="5" class="trightb">
@ -103,7 +106,7 @@
</el-row>
<el-row >
<el-col :span="3" class="tleftb">
<span><span class="icon">*</span>备注</span>
<span>备注</span>
</el-col>
<el-col :span="21" class="trightb">
<el-form-item prop="remarks">

5
anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangInfo.vue

@ -147,7 +147,8 @@ export default {
purchaseOrderNo: '',
remarks: '', //
vehicleOrderSid: '',
vehicleList: []
vehicleList: [],
comment:''
},
dialogList: {
comment: ''
@ -277,7 +278,7 @@ export default {
},
//
openAgree() {
this.formobj.comment='同意'
this.formobj.comment = '同意'
// id
req.getNextNodesForSubmit(this.formobj).then(resp => {
if (resp.success) {

9
anrui-terminal/anrui-terminal-biz/src/main/java/com/yxt/anrui/terminal/biz/autoservice/retrieval/AppBusDeliveredApplyService.java

@ -29,6 +29,7 @@ import cn.hutool.core.bean.BeanUtil;
import com.yxt.anrui.buscenter.api.busdelivered.*;
import com.yxt.anrui.buscenter.api.busdeliveredapply.*;
import com.yxt.anrui.buscenter.api.busdeliveredapplydetails.AppCarVinListVo;
import com.yxt.anrui.buscenter.api.busdeliveredapplydetails.BusDeliveredApplyDetailsFeign;
import com.yxt.anrui.scm.api.scmvehiclegression.AppScmVehicleGressionPageQuery;
import com.yxt.anrui.scm.api.scmvehiclestaypatrolinspection.AppScmVehicleStayPatrolinspectionPageQuery;
import com.yxt.anrui.terminal.api.autoservice.retrieval.*;
@ -68,6 +69,9 @@ public class AppBusDeliveredApplyService {
@Autowired
BusDeliveredApplyFeign busDeliveredApplyFeign;
@Autowired
BusDeliveredApplyDetailsFeign busDeliveredApplyDetailsFeign;
public ResultBean<PagerVo<DeliveredPageVo>> getRetrievalNotList(PagerQuery<DeliveredPageQuery> pagerQuery) {
ResultBean<PagerVo<DeliveredPageVo>> rb = ResultBean.fireFail();
PagerQuery<AppBusDeliveredPageQuery> pq = CoverUtils.getPagerQuery(pagerQuery);
@ -115,6 +119,9 @@ public class AppBusDeliveredApplyService {
}
public ResultBean<List<AppCarVinListVo>> getRetrievalCarVin(String sid) {
return null;
ResultBean<List<AppCarVinListVo>> rb = ResultBean.fireFail();
ResultBean<List<AppCarVinListVo>> retrievalCarVin = busDeliveredApplyDetailsFeign.getRetrievalCarVin(sid);
List<AppCarVinListVo> data = retrievalCarVin.getData();
return rb.success().setData(data);
}
}
Loading…
Cancel
Save