1.添加对外接口

This commit is contained in:
2024-11-15 16:12:49 +08:00
parent 9c2b2dbd3e
commit 59a2bb5e62
7 changed files with 35 additions and 0 deletions

View File

@@ -207,5 +207,18 @@ public class WlRecordController extends BaseController {
String methodDescribe = getMethodDescribe("dayDealNoEndTimeEvent");
wlRecordService.dayDealNoEndTimeEvent(date);
}
/**
* 根据测试项获取测试项绑定测点数据
*/
@OperateInfo(info = LogEnum.SYSTEM_COMMON)
@GetMapping("/getWlAssByWlId")
@ApiOperation("根据测试项获取测试项绑定测点数据")
public HttpResult<List<WlRecord>> getWlAssByWlId(@RequestParam("wlId") String wlId) {
String methodDescribe = getMethodDescribe("getWlAssByWlId");
List<WlRecord> result = wlRecordService.getWlAssByWlId(wlId);
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe);
}
}