添加报表查询功能
This commit is contained in:
parent
60fff1bd3d
commit
a42360036c
|
|
@ -136,5 +136,11 @@ public class Heatanalysis extends JeecgEntity {
|
||||||
private String faultLevel; // 故障等级
|
private String faultLevel; // 故障等级
|
||||||
|
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String ycwgswd;//一次网供水温度
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String ycwhswd;//一次网回水温度
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -150,6 +150,16 @@
|
||||||
<if test="params.faultLevel != null and params.faultLevel != ''">
|
<if test="params.faultLevel != null and params.faultLevel != ''">
|
||||||
AND a.fault_level = #{params.faultLevel}
|
AND a.fault_level = #{params.faultLevel}
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
<if test="params.faultLevel != null and params.faultLevel != ''">
|
||||||
|
AND a.fault_level = #{params.faultLevel}
|
||||||
|
</if>
|
||||||
|
<if test="params.ycwgswd != null and params.ycwgswd != ''">
|
||||||
|
AND ((a.view005 - 0 !=0 and a.view005 - 0 <= ${params.ycwgswd} ) or (a.view035 - 0 !=0 and a.view035 - 0 <= ${params.ycwgswd} ) )
|
||||||
|
</if>
|
||||||
|
<if test="params.ycwhswd != null and params.ycwhswd != ''">
|
||||||
|
AND ((a.view006 - 0 !=0 and a.view006 - 0 <= ${params.ycwhswd} ) or (a.view036 - 0 !=0 and a.view036 - 0 <= ${params.ycwhswd} ) )
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
) t
|
) t
|
||||||
<where>
|
<where>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue