package com.shkj.wcs.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shkj.common.core.domain.Result;
import com.shkj.wms.bo.BusinContainerUpkeepAddBo;
import com.shkj.wms.bo.BusinContainerUpkeepQueryBo;
import com.shkj.wms.domain.BusinContainerUpkeep;
import com.shkj.wms.vo.BusinContainerUpkeepVo;

import java.util.List;

public interface IBusinContainerUpkeepService extends IService<BusinContainerUpkeep> {

    /**
     * 治具保养根据托盘编号，获取托盘上次保养时间
     *
     * @param bo bo
     * @return 结果
     */
    public List<BusinContainerUpkeepVo> getContainerUpkeepDate(BusinContainerUpkeepQueryBo bo);


    /**
     * App治具入库-确认入库(保养完成)
     *
     * @param bo bo
     * @return 结果
     */
    public Result<Boolean> saveBusintContainerUpkeepEnd(BusinContainerUpkeepAddBo bo);


    /**
     * App治具保养-确认取出（去保养）
     *
     * @param bo bo
     * @return 结果
     */
    public Result<Boolean> saveBusintContainerUpkeepStart(BusinContainerUpkeepAddBo bo);
}
