修改机构用户统计
This commit is contained in:
parent
7e8c386880
commit
6168747570
@ -240,7 +240,7 @@ public class XhpcStatisticsController extends BaseController {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@GetMapping("/getMechanismPage")
|
@GetMapping("/getMechanismPage")
|
||||||
public TableDataInfo getMechanismPage(HttpServletRequest request,String chargingStationIds,Long internetUserId, Long operatorId,String startTime, String endTime, @RequestParam("userId") Long userId, @RequestParam("type")Integer type,@RequestParam("source")Integer source)
|
public TableDataInfo getMechanismPage(HttpServletRequest request,String chargingStationIds,Long internetUserId, Long operatorId,String startTime, String endTime, @RequestParam("userId") Long userId, @RequestParam("type")Integer type,Integer source)
|
||||||
{
|
{
|
||||||
List<Map<String, Object>> list = xhpcStatisticsService.getMechanismPage(request,chargingStationIds,internetUserId,operatorId,startTime,endTime,userId,type,source);
|
List<Map<String, Object>> list = xhpcStatisticsService.getMechanismPage(request,chargingStationIds,internetUserId,operatorId,startTime,endTime,userId,type,source);
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
|
|||||||
@ -448,7 +448,7 @@
|
|||||||
"B端用户"
|
"B端用户"
|
||||||
ELSE
|
ELSE
|
||||||
"未知用户"
|
"未知用户"
|
||||||
END typeName
|
END sourceName
|
||||||
from xhpc_statistics_station
|
from xhpc_statistics_station
|
||||||
where del_flag=0 and type=2
|
where del_flag=0 and type=2
|
||||||
<if test="source !=null">
|
<if test="source !=null">
|
||||||
@ -478,8 +478,7 @@
|
|||||||
<if test="tenantId !=null and tenantId !=''">
|
<if test="tenantId !=null and tenantId !=''">
|
||||||
and tenant_id = #{tenantId}
|
and tenant_id = #{tenantId}
|
||||||
</if>
|
</if>
|
||||||
group by DATE_FORMAT(create_time,'%Y-%m-%d')
|
group by source
|
||||||
order by DATE_FORMAT(create_time,'%Y-%m-%d') desc
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="addStatisticsTime">
|
<insert id="addStatisticsTime">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user