2023-06-07 15:30:26 优化完善设备信息excel文件的下载接口!

master
魔神煜修罗皇 2 years ago
parent 9bc2d550ef
commit 02416a71b6
  1. 2
      psdc-web/src/main/java/com/psdc/controller/manager/PsdcDeviceController.java

@ -128,7 +128,7 @@ public class PsdcDeviceController extends BaseController {
@PreAuthorize("@ss.hasPermi('system:device:list')")
@Log(title = "设备管理", businessType = BusinessType.EXPORT)
@RequestMapping(value = "/daochuDevs", method = RequestMethod.POST)
public void daochuDevDta(HttpServletResponse response, @RequestBody PsdcDevice pd) {
public void daochuDevDta(HttpServletResponse response, PsdcDevice pd) {
List<PsdcDeviceInfoRes> list = psdcDeviceService.queryAllByLimit(pd);
for (PsdcDeviceInfoRes dev : list) {
dev.setUserName(sysUserService.selectUserById(Long.valueOf(dev.getUserId())).getUserName());

Loading…
Cancel
Save