All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.wslxm.springbootplus2.manage.sys.service.AddressService Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
package io.github.wslxm.springbootplus2.manage.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.github.wslxm.springbootplus2.core.base.model.BasePage;
import io.github.wslxm.springbootplus2.manage.sys.model.entity.Address;
import io.github.wslxm.springbootplus2.manage.sys.model.vo.AddressVO;
import io.github.wslxm.springbootplus2.manage.sys.model.dto.AddressDTO;
import io.github.wslxm.springbootplus2.manage.sys.model.query.AddressQuery;
import java.util.List;

/**
 *  Service
 *
 * 

* ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655 *

* @author ws * @email [email protected] * @date 2023-03-24 10:04:20 */ public interface AddressService extends IService
{ /** * 树结构数据查询 * * @param query query * @return 分页列表数据 */ List tree(AddressQuery query); /** * 列表查询 * * @param query query * @return 分页列表数据 */ BasePage findPage(AddressQuery query); /** * id 查询 * * @param id id * @return AddressVO */ AddressVO findId(String id); /** * 添加 * * @param dto dto * @return 主键id */ String insert(AddressDTO dto); /** * id 编辑 * * @param id id * @param dto dto * @return boolean */ boolean upd( String id, AddressDTO dto); /** * 删除 (同时删除下级数据) * * @param id id * @return boolean */ boolean del(String id); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy