This commit is contained in:
zhangjunwen 2024-10-29 17:51:34 +08:00
parent 32e610dbfa
commit 55c8a8edcb

View File

@ -86,7 +86,7 @@ public class EquipInfoController {
@Parameter(name = "id", description = "编号", required = true, example = "1024") @Parameter(name = "id", description = "编号", required = true, example = "1024")
@PreAuthorize("@ss.hasPermission('imt:equip-info:query')") @PreAuthorize("@ss.hasPermission('imt:equip-info:query')")
public CommonResult<EquipInfoRespVO> getEquipInfo(@RequestParam("id") String id) { public CommonResult<EquipInfoRespVO> getEquipInfo(@RequestParam("id") String id) {
EquipInfoDetailsDTO equipInfo = equipInfoService.getEquipInfo(id); EquipInfoDetailsDTO equipInfo = equipInfoService.getEquipInfo(id);//
return success(BeanUtils.toBean(equipInfo, EquipInfoRespVO.class)); return success(BeanUtils.toBean(equipInfo, EquipInfoRespVO.class));
} }