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