queryMathPointCurrentValue方法修改
| | |
| | | @Operation(summary = "写入单个测点值") |
| | | Boolean writePointRealValue(@RequestBody ApiPointValueWriteDTO queryDto); |
| | | |
| | | @GetMapping(PREFIX + "/query-math-point/current-value") |
| | | @PostMapping(PREFIX + "/query-math-point/current-value") |
| | | @Operation(summary = "根据计算点编号查询测点集合") |
| | | PageResult<ApiPointDTO> queryMathPointCurrentValue(@RequestBody ApiPointPageReqVO reqVO); |
| | | } |
| | |
| | | dto.setPointNo(item.getPointNo()); |
| | | dto.setPointName(item.getPointName()); |
| | | dto.setCurrentValue(currentValueMap.get(item.getPointNo()).toString()); |
| | | dataList.add(dto); |
| | | }); |
| | | return new PageResult<>(dataList, pageResult.getTotal()); |
| | | } |
| | |
| | | </if> |
| | | <if test="params.pointNos != null"> |
| | | AND t1.point_no in |
| | | <foreach collection="pointNos" item="item" index="item" open="(" close=")" separator=","> |
| | | <foreach collection="params.pointNos" item="item" index="item" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | | </if> |