VDR详情

This commit is contained in:
zhn
2023-08-24 19:40:39 +08:00
parent 1af08d725e
commit 63d90c38f4
3 changed files with 9 additions and 4 deletions
@@ -175,8 +175,8 @@ public class OtaManageApplyEOController extends JeroController<OtaManageApplyEO,
@AutoLog(value = "全车型和分车型详情")
@ApiOperation(value="分车型详情", notes="分车型详情")
@GetMapping(value = "/getVersionInfo")
public Result<?> getVersionInfo(String vdr) {
List<VersionVO> result = otaManageApplyEOService.getVersionInfo(vdr);
public Result<?> getVersionInfo(String vdr,String car) {
List<VersionVO> result = otaManageApplyEOService.getVersionInfo(vdr,car);
return Result.OK(result);
}
@@ -109,7 +109,7 @@ public interface IOtaManageApplyEOService extends IService<OtaManageApplyEO> {
* @param vdr
* @return
*/
List<VersionVO> getVersionInfo(String vdr);
List<VersionVO> getVersionInfo(String vdr,String car);
void issueNotice(String id);
@@ -912,7 +912,7 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl<OtaManageApplyEOMap
* @return
*/
@Override
public List<VersionVO> getVersionInfo(String vdr) {
public List<VersionVO> getVersionInfo(String vdr,String car) {
//认证进度数据字典 certification_progress
List<SysDictItem> regionDictList = sysDictItemServiceImpl.selectItemsByDictCode("certification_progress");
@@ -947,6 +947,11 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl<OtaManageApplyEOMap
}
}
}
if(result.isEmpty()){
VersionVO versionVO = new VersionVO();
versionVO.setVersionName(car);
result.add(versionVO);
}
return result;
}