小区统计
This commit is contained in:
parent
063bb7607b
commit
4d06c03d8c
|
@ -67,6 +67,10 @@ public class BlHousingestateInfo implements Serializable {
|
|||
@Excel(name = "注册会员数", width = 15)
|
||||
@ApiModelProperty(value = "注册会员数")
|
||||
private String hyCount;
|
||||
/**投递次数*/
|
||||
@Excel(name = "投递次数", width = 15)
|
||||
@ApiModelProperty(value = "投递次数")
|
||||
private String tdcsCount;
|
||||
/**创建时间*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
status,
|
||||
type,
|
||||
(select count(*) from bl_device_info b where a.housingestate_id = b.housingestate_id) as dtus_count,
|
||||
(select count(*) from bl_user_info b where a.housingestate_id = b.housingestate_id) as hyCount
|
||||
(select count(*) from bl_user_info b where a.housingestate_id = b.housingestate_id) as hyCount,
|
||||
(select count(*) from bl_order_info b where a.housingestate_id = b.housingestate_id) as tdcsCount
|
||||
from bl_housingestate_info a
|
||||
<where>
|
||||
<if test="params.name != null and params.name != ''">
|
||||
|
@ -29,6 +30,7 @@
|
|||
and a.add_time <= #{hy.endTime}
|
||||
group by a.housingestate_id,b.name
|
||||
ORDER BY weight desc
|
||||
limit 10
|
||||
</select>
|
||||
|
||||
<select id="queryXqHyXzList" parameterType="org.jeecg.modules.zh.view.hy.entity.Hy" resultType="org.jeecg.modules.zh.view.hy.entity.Hy">
|
||||
|
@ -42,6 +44,7 @@
|
|||
and a.register_date <= #{hy.endTime}
|
||||
group by a.housingestate_id,b.name
|
||||
ORDER BY cn desc
|
||||
limit 10
|
||||
</select>
|
||||
|
||||
<select id="queryXqHyTdcsList" parameterType="org.jeecg.modules.zh.view.hy.entity.Hy" resultType="org.jeecg.modules.zh.view.hy.entity.Hy">
|
||||
|
@ -55,6 +58,7 @@
|
|||
and a.add_time <= #{hy.endTime}
|
||||
group by a.housingestate_id,b.name
|
||||
order by cn desc
|
||||
limit 10
|
||||
</select>
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue