package com.thhy.staff.modules.biz.area.mapper; import com.thhy.staff.modules.biz.area.entity.Area; import com.thhy.staff.modules.biz.area.entity.AreaDto; import com.thhy.staff.modules.biz.area.entity.AreaInfoVo; import com.thhy.staff.modules.biz.area.entity.AreaListVo; import org.springframework.stereotype.Component; import java.io.Serializable; import java.util.List; /** * Mapper 接口 * @author zhang_xiao_bo * @since 2023-04-03 13:28:52 */ @Component public interface AreaMapper { Area queryById(Serializable id); AreaInfoVo queryByIdHasUser(String id); Integer queryVersionById(Serializable id); List findList(AreaDto area); List findAll(); void insert(Area area); void update(Area area); void deletelogic(Serializable id); void deleteById(Serializable id); }