|
|
|
@ -228,4 +228,14 @@ public class EmInfoController extends BladeController {
|
|
|
|
|
public R<EmInfoEntity> getEmInfoByCode(@RequestParam(value = "emCode") String emCode){ |
|
|
|
|
return em_infoService.getEmInfoByCode(emCode); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 查询设备名称 |
|
|
|
|
*/ |
|
|
|
|
@GetMapping("/getDevices") |
|
|
|
|
@ApiOperationSupport(order = 4) |
|
|
|
|
@ApiOperation(value = "获取设备", notes = "传入设备列表集合") |
|
|
|
|
public R getDevices(@RequestParam(value ="codes") List<String> codes) { |
|
|
|
|
return R.data(em_infoService.listByCodes(codes)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|