ShipmentHeaderService.java 593 Bytes
package com.huaheng.pc.shipment.shipmentHeader.service;

import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.shipment.shipmentHeader.domain.ShipmentHeader;
import com.baomidou.mybatisplus.extension.service.IService;
public interface ShipmentHeaderService extends IService<ShipmentHeader>{

    //新增出库主单
    AjaxResult<Boolean> saveHeader(ShipmentHeader shipmentHeader) ;


    //根据单据类型建单据号
    String createCode(String shipmentType);

    //根据Id更新这个单据的首尾状态
    AjaxResult updateShipmentStatus(int shipmentId);

}