Newer
Older
huludao / src / main / java / com / newfiber / api / pc / service / HouseSiteService.java
package com.newfiber.api.pc.service;

import com.baomidou.mybatisplus.service.IService;
import com.newfiber.api.core.commons.PageRequestObject;
import com.newfiber.api.core.commons.PageResultObject;
import com.newfiber.api.core.commons.ResultObj;
import com.newfiber.api.pc.dto.HouseSiteDto;
import com.newfiber.api.pc.model.meet.HouseSite;

import java.util.List;

/**
 * @Author:zzh
 * @CreateDate:2020/11/25 13:22
 * @Description:
 */
public interface HouseSiteService extends IService<HouseSite> {
    /**
     * 新增
     * @param houseSiteDto
     * @param userNo
     */
    void addHouseSite(HouseSiteDto houseSiteDto,String userNo);

    /**
     * 修改
     * @param houseSiteDto
     */
    void updateHouseSite(HouseSiteDto houseSiteDto);

    /**
     * 删除存放点
     * @param hIds
     */
    void deletHouseSite(Integer hIds);

    PageResultObject<HouseSite> queryPage(PageRequestObject<String> pageRequestObject);

    /**
     * 查询所有存放点底下的物资信息
     * @return
     */
    List<HouseSite> queryHouseSiteAndSup();
}