PlatformUserMapper.java 1.17 KB
package com.glsx.mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;
import com.glsx.model.PlatformUser;
import com.glsx.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>Description:
 * <p>Project: shop
 *
 * @author wbh
 * @date 2020-12-15
 */
@Mapper
public interface PlatformUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PlatformUser record);

    int insertOrUpdate(PlatformUser record);

    int insertOrUpdateSelective(PlatformUser record);

    int insertSelective(PlatformUser record);

    PlatformUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PlatformUser record);

    int updateByPrimaryKey(PlatformUser record);

    int updateBatch(List<PlatformUser> list);

    int updateBatchSelective(List<PlatformUser> list);

    List<PlatformUser> getUserMgrList(UserVo userVo);

    int getUserCount();

    int getUserCountAuth(@Param("customerName") String customerName);

    List<Map<String, Object>> getUserActivityStatistic(@Param("startTime") Date startTime,
            @Param("endTime") Date endTime, @Param("customerName") String customerName);
}