fix:首页接口

main
qh 5 months ago
parent 15048dca88
commit 7b71c3616c

@ -193,7 +193,7 @@ public class DataController {
return RetResponse.makeErrRsp("查询数据失败!"+e.getMessage());
}
}
@AopLog
@AopLog
@AuthToken
@ApiOperation("7、监测排序")
@PreAuthorize("hasAuthority('minio:upload')")
@ -237,7 +237,7 @@ public class DataController {
return RetResponse.makeErrRsp("获取当前时间失败!"+e.getMessage());
}
}
@AopLog
@AopLog
@AuthToken
@ApiOperation("10、获取要素状态")
@PreAuthorize("hasAuthority('minio:upload')")

@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cuit.solarenergy.entity.ElementValue;
import com.cuit.solarenergy.entity.MapService;
import com.cuit.solarenergy.entity.MonitorRet;
import com.cuit.solarenergy.entity.TSamplingDataDetails;
import com.cuit.solarenergy.entity.vo.req.MultiRSDetectionReq;
import com.cuit.solarenergy.entity.vo.req.MultiRSReq;
@ -120,6 +121,12 @@ public interface TSamplingDataDetailsMapper extends BaseMapper<TSamplingDataDeta
* @return
*/
List<ElementValueRet> getElementStatus(String mappedElementCode);
/**
*
* @return
*/
List<MonitorRet> getMonitorInfo();
}

@ -385,6 +385,17 @@
</choose>
FROM radi_chn_mul_hor
</select>
<select id="getMonitorInfo" resultType="com.cuit.solarenergy.entity.MonitorRet">
SELECT Station_Id_C AS monitorPointName,
Lat AS monitorPointLat,
Lon AS monitorPointLng,
V14311 AS monitorValue
FROM radi_chn_mul_hor
WHERE V14311 != '999999'
ORDER BY
V14311 DESC
LIMIT 10
</select>
<!-- 数据管理模块编辑接口-->

Loading…
Cancel
Save