日照智慧社区接口服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
1.5 KiB

package com.epmet.dao;
import com.epmet.commons.mybatis.dao.BaseDao;
import com.epmet.commons.tools.page.PageData;
import com.epmet.dto.UserDTO;
import com.epmet.dto.UserWechatDTO;
import com.epmet.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
* @Description 用户DAO
* @IntefaceName UserDao
* @Author wangc
* @date 2020.03.28 14:45
*/
@Mapper
public interface UserDao extends BaseDao<UserEntity> {
/**
* 默认分页
*
* @param params
* @return PageData<UserWechatDTO>
* @author generator
* @date 2020-03-18
*/
PageData<UserWechatDTO> page(Map<String, Object> params);
/**
* 默认查询
*
* @param params
* @return java.util.List<UserWechatDTO>
* @author generator
* @date 2020-03-18
*/
List<UserWechatDTO> list(Map<String, Object> params);
/**
* 单条查询
*
* @param id
* @return UserWechatDTO
* @author generator
* @date 2020-03-18
*/
UserDTO get(String id);
/**
* 默认保存
*
* @param dto
* @return void
* @author generator
* @date 2020-03-18
*/
void save(UserWechatDTO dto);
/**
* 默认更新
*
* @param dto
* @return void
* @author generator
* @date 2020-03-18
*/
void update(UserWechatDTO dto);
/**
* 批量删除
*
* @param ids
* @return void
* @author generator
* @date 2020-03-18
*/
void delete(String[] ids);
}