VDR详情
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
|
||||
+6
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user