|
|
@ -299,6 +299,10 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres |
|
|
|
IPage<ScmVehicleGressionPageVo> iPage = baseMapper.selectCarTransferList(page, qw); |
|
|
|
List<ScmVehicleGressionPageVo> records = iPage.getRecords(); |
|
|
|
for (ScmVehicleGressionPageVo record : records) { |
|
|
|
//根据sid查询该申请下的车辆
|
|
|
|
List<String> vinList = scmVehicleGressionVehService.selectByMainSid(record.getSid()); |
|
|
|
String vin = String.join(",",vinList); |
|
|
|
record.setVin(vin); |
|
|
|
if(query.getUserSid().equals(record.getCreateBySid())){ |
|
|
|
record.setAllowModify(true); |
|
|
|
}else{ |
|
|
|