package com.template.services; import com.github.pagehelper.PageInfo; import com.template.model.pojo.SmartUser; import com.template.model.tongji.*; import com.template.model.weixin.AccessToken; import com.template.model.weixin.WechatUserUnionID; import org.apache.ibatis.annotations.Param; import java.text.ParseException; import java.util.List; import java.util.Map; /** *

Title: WechatScanLoginService

*

Description: 业务接口

* @author fengyong * @date 2018年9月7日 */ public interface WechatScanLoginService { Map wechatLoginUrl(); Map wechatBindUrl(String phone,String messageCode); AccessToken getAccessToken(String code); WechatUserUnionID getUserUnionID(); SmartUser selectByOpenid(String openid); SmartUser selectByCardNo(String CardNo); int updateSmartUser(SmartUser sa); // 用户类别统计 public List getUserIdTj(); // 用户总数 public All getUserIdTjt(); // 水表总计 public DAll getWaterTj(); // 电表总计 public DAll getElcTj(); public void insertMonthMeter(String month); public void insertDayMeter(String day); // 每个月各水表数据 public List getMonWater() throws ParseException; // 每个月各电表数据 public List getMonElc() throws ParseException; // 区域能耗统计 public PageInfo getMeterMonthPage(@Param("meterMonthData")MeterMonthData meterMonthData); // 实时抄表 public PageInfo getMeterDayPage(@Param("meterMonthData")MeterMonthData meterMonthData); }