VDR详情-认证进度
This commit is contained in:
+2
-2
@@ -184,8 +184,8 @@ public class OtaManageApplyEOController extends JeroController<OtaManageApplyEO,
|
||||
@AutoLog(value = "全车型和分车型详情")
|
||||
@ApiOperation(value="分车型详情", notes="分车型详情")
|
||||
@GetMapping(value = "/getVersionInfo")
|
||||
public Result<?> getVersionInfo(String vdr,String car) {
|
||||
List<VersionVO> result = otaManageApplyEOService.getVersionInfo(vdr,car);
|
||||
public Result<?> getVersionInfo(String vdr,String car,String cut) {
|
||||
List<VersionVO> result = otaManageApplyEOService.getVersionInfo(vdr,car,cut);
|
||||
return Result.OK(result);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -109,7 +109,7 @@ public interface IOtaManageApplyEOService extends IService<OtaManageApplyEO> {
|
||||
* @param vdr
|
||||
* @return
|
||||
*/
|
||||
List<VersionVO> getVersionInfo(String vdr,String car);
|
||||
List<VersionVO> getVersionInfo(String vdr,String car,String cut);
|
||||
|
||||
void issueNotice(String id);
|
||||
|
||||
|
||||
+6
-2
@@ -944,7 +944,7 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl<OtaManageApplyEOMap
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<VersionVO> getVersionInfo(String vdr, String car) {
|
||||
public List<VersionVO> getVersionInfo(String vdr, String car,String cut) {
|
||||
//认证进度数据字典 certification_progress
|
||||
List<SysDictItem> regionDictList = sysDictItemServiceImpl.selectItemsByDictCode("certification_progress");
|
||||
|
||||
@@ -988,7 +988,11 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl<OtaManageApplyEOMap
|
||||
if (StringUtils.isNotBlank(versionVO.getAttestationSchedule())) {
|
||||
List<SysDictItem> collect = regionDictList.stream()
|
||||
.filter(e -> e.getItemValue().equals(versionVO.getAttestationSchedule())).collect(Collectors.toList());
|
||||
versionVO.setAttestationScheduleText(collect.get(0).getItemText());
|
||||
if(CutEnum.CN.getValue().equals(cut)){
|
||||
versionVO.setAttestationSchedule(collect.get(0).getItemText());
|
||||
}else{
|
||||
versionVO.setAttestationSchedule(collect.get(0).getEnName());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user