bug修复
This commit is contained in:
parent
fd8065f6fa
commit
44dab7005b
@ -117,6 +117,8 @@ public class ConcreteMonitorCurrentDataController {
|
||||
@ApiOperation(value = "统计数据曲线趋势", notes = "统计数据曲线趋势", httpMethod = "POST")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "projectSn", value = "项目sn", paramType = "body", required = true, dataType = "String"),
|
||||
@ApiImplicitParam(name = "devSn", value = "设备编号", paramType = "body", required = false, dataType = "String"),
|
||||
@ApiImplicitParam(name = "pointNo", value = "监测点点位号", paramType = "body", required = false, dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "date", value = "日期", paramType = "body", required = false, dataType = "String"),
|
||||
})
|
||||
@PostMapping(value = "/countTrend")
|
||||
|
||||
@ -33,6 +33,9 @@
|
||||
<if test="devSn != null and devSn != ''">
|
||||
and dev_sn = #{devSn}
|
||||
</if>
|
||||
<if test="pointNo != null and pointNo != ''">
|
||||
and point_no = #{pointNo}
|
||||
</if>
|
||||
<choose>
|
||||
<when test="date != null and date != ''">
|
||||
and receive_time >= date_format(#{date}, '%Y-%m-%d')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user