Files
gofly-platform-services/zlt-business/code-generator/src/main/resources/template/Mapper.java.vm
T

27 lines
670 B
Plaintext
Raw Normal View History

2019-01-19 15:31:26 +08:00
package ${package}.${moduleName}.dao;
import ${package}.${moduleName}.entity.${className};
import com.central.db.mapper.SuperMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
/**
* ${comments}
*
* @author ${author}
* @date ${datetime}
*/
@Mapper
public interface ${className}Mapper extends SuperMapper<${className}> {
/**
* 分页查询用户列表
* @param page
* @param params
* @return
*/
List<${className}> findList(Page<${className}> page, @Param("p") Map<String, Object> params);
}