|
|
@@ -1,129 +0,0 @@ |
|
|
|
package com.iformall.service; |
|
|
|
|
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import com.iformall.domain.dto.WxCUserBasicInfoDto; |
|
|
|
import com.iformall.domain.po.tt.TtCUser; |
|
|
|
import com.iformall.domain.po.WxCUserFrom; |
|
|
|
import com.iformall.domain.po.base.TenantEntity; |
|
|
|
import com.iformall.domain.vo.UserCountVo; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
public interface TtCUserService { |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据实体查询分页列表 |
|
|
|
* |
|
|
|
* @param record |
|
|
|
* @param pageIndex |
|
|
|
* @param pageSize |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
PageInfo<TtCUser> listAsPage(TtCUser record, Integer pageIndex, Integer pageSize); |
|
|
|
|
|
|
|
PageInfo<String> listOpenIdAsPage(TtCUser record, Integer pageIndex, Integer pageSize); |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据Id获得实体 |
|
|
|
* |
|
|
|
* @param id |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
TtCUser getById(Long id,String tenantId); |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据openId获得实体 |
|
|
|
* |
|
|
|
* @param record |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
TtCUser getByOpenId(TtCUser record); |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据object获得实体 |
|
|
|
* |
|
|
|
* @param record |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
TtCUser getByObject(TtCUser record); |
|
|
|
|
|
|
|
/** |
|
|
|
* 保存或更新实体 |
|
|
|
* |
|
|
|
* @param record |
|
|
|
*/ |
|
|
|
int saveOrUpdate(TtCUser record); |
|
|
|
|
|
|
|
/** |
|
|
|
* updateScene |
|
|
|
* |
|
|
|
* @param record |
|
|
|
*/ |
|
|
|
int updateScene(TtCUser record); |
|
|
|
|
|
|
|
/** |
|
|
|
* updateLBS |
|
|
|
* |
|
|
|
* @param record |
|
|
|
*/ |
|
|
|
int updateLBS(TtCUser record); |
|
|
|
|
|
|
|
/** |
|
|
|
* updateExtInfo |
|
|
|
* |
|
|
|
* @param record |
|
|
|
*/ |
|
|
|
int updateExtInfo(TtCUser record); |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据Id删除实体 |
|
|
|
* |
|
|
|
* @param id |
|
|
|
*/ |
|
|
|
//void deleteById(Long id,String tenantId); |
|
|
|
|
|
|
|
/** |
|
|
|
* 统计数量 |
|
|
|
* @param dto |
|
|
|
* @param tenantEntitys |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
long findCount(WxCUserBasicInfoDto dto); |
|
|
|
|
|
|
|
/** |
|
|
|
* 统计数量 |
|
|
|
* @param dto |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
List<UserCountVo> findCountHistory(WxCUserBasicInfoDto dto); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 通过渠道获取会员信息 |
|
|
|
* @param user |
|
|
|
* @param pageIndex |
|
|
|
* @param pageSize |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
PageInfo<TtCUser> listByChannel(TtCUser user, Integer pageIndex, Integer pageSize); |
|
|
|
|
|
|
|
long countByChannel(TtCUser user); |
|
|
|
|
|
|
|
/** |
|
|
|
* 登录后发消息 |
|
|
|
*/ |
|
|
|
void actionMsgAfterLogin(WxCUserFrom wxCUserFrom); |
|
|
|
|
|
|
|
/** |
|
|
|
* 登录后处理 |
|
|
|
* @param user |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
int actionAfterLogin(TtCUser user); |
|
|
|
|
|
|
|
void updateUserId(TtCUser user); |
|
|
|
|
|
|
|
void delForUserIdOnly(Long id, Long userId, String tenantId); |
|
|
|
|
|
|
|
void updateMsgCount(TtCUser user); |
|
|
|
} |