|
|
|
|
@ -99,7 +99,16 @@ public class DustCompanyinfoController {
|
|
|
|
|
@PreAuthorize("@ss.hasPermission('system:dust-companyinfo:query')")
|
|
|
|
|
public CommonResult<PageResult<DustCompanyinfoRespVO>> getDustCompanyinfoPage(@Valid DustCompanyinfoPageReqVO pageReqVO) {
|
|
|
|
|
PageResult<DustCompanyinfoDO> pageResult = dustCompanyinfoService.getDustCompanyinfoPage(pageReqVO);
|
|
|
|
|
return success(BeanUtils.toBean(pageResult, DustCompanyinfoRespVO.class));
|
|
|
|
|
PageResult<DustCompanyinfoRespVO> result = BeanUtils.toBean(pageResult, DustCompanyinfoRespVO.class);
|
|
|
|
|
List<DustCompanyinfoRespVO> resultList = result.getList();
|
|
|
|
|
for (DustCompanyinfoRespVO vo : resultList) {
|
|
|
|
|
DustDustinfoDO dustDustinfo = dustDustinfoService.getDustDustinfo(vo.getId());
|
|
|
|
|
List<String> list = Arrays.stream(dustDustinfo.getDustTechnology().split(",")).toList();
|
|
|
|
|
DustDustinfoRespVO dustinfoRespVO = BeanUtils.toBean(dustDustinfo, DustDustinfoRespVO.class);
|
|
|
|
|
dustinfoRespVO.setDustTechnology(list);
|
|
|
|
|
vo.setDustDustinfo(dustinfoRespVO);
|
|
|
|
|
}
|
|
|
|
|
return success(result);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping("/export-excel")
|
|
|
|
|
|