package com.tykj.dev.device.destroy.service;

import com.tykj.dev.device.destroy.entity.domain.DeviceDestroyBill;
import com.tykj.dev.device.destroy.entity.vo.DeviceDestroyBillVo;
import com.tykj.dev.device.task.subject.bto.TaskBto;
import com.tykj.dev.device.user.subject.entity.SecurityUser;

/**
 * @author zjm
 * @version 1.0.0
 * @ClassName DeviceDestroyBusinessService.java
 * @Description TODO
 * @createTime 2021年04月09日 10:50:00
 */
public interface DeviceDestroyBusinessService {
    /**
     * 销毁任务保存草稿
     */
    TaskBto saveDeviceDestroyBill(SecurityUser securityUser, DeviceDestroyBillVo deviceDestroyBillVo);

    /**
     * 生成销毁任务等待上传销毁单
     */
    DeviceDestroyBill provinceDeviceDestroyBill(SecurityUser securityUser, DeviceDestroyBillVo deviceDestroyBillVo);

    /**
     * 上传销毁单接口 任务完结
     */
    void receiptSingle(Integer taskId,  DeviceDestroyBillVo deviceDestroyBillVo,SecurityUser securityUser);

    void moveToArchiveDestroyBill(Integer taskId);

}
