Commit 9c6e3f0f authored by zhangyingbin's avatar zhangyingbin

修改 通过企业名称查设备 参数提交

parent 75931dd8
...@@ -150,10 +150,10 @@ public class TzBaseEnterpriseInfoController { ...@@ -150,10 +150,10 @@ public class TzBaseEnterpriseInfoController {
} }
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@RequestMapping(value = "/getEquInfoByUseUnit/{useUnit}", method = RequestMethod.GET) @RequestMapping(value = "/getEquInfoByUseUnit", method = RequestMethod.GET)
@ApiOperation(httpMethod = "GET", value = "通过企业名称查询设备", notes = "通过企业名称查询设备") @ApiOperation(httpMethod = "GET", value = "通过企业名称查询设备", notes = "通过企业名称查询设备")
public ResponseModel<List<EquEnterDto>> getInfoByUseUnit(@PathVariable(value = "useUnit") String userUnit) { public ResponseModel<List<EquEnterDto>> getInfoByUseUnit(String useUnit) {
return ResponseHelper.buildResponse(iTzBaseEnterpriseInfoService.getInfoByUseUnit(userUnit)); return ResponseHelper.buildResponse(iTzBaseEnterpriseInfoService.getInfoByUseUnit(useUnit));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment