Blame view

src/main/java/com/huaheng/pc/shipment/shipmentHeader/service/ShipmentHeaderService.java 820 Bytes
mahuandong authored
1
2
package com.huaheng.pc.shipment.shipmentHeader.service;
pengcheng authored
3
import com.huaheng.framework.web.domain.AjaxResult;
mahuandong authored
4
5
import com.huaheng.pc.shipment.shipmentHeader.domain.ShipmentHeader;
import com.baomidou.mybatisplus.extension.service.IService;
6
7
8

import java.lang.reflect.InvocationTargetException;
mahuandong authored
9
10
public interface ShipmentHeaderService extends IService<ShipmentHeader>{
pengcheng authored
11
12
13
14
15
    //新增出库主单
    AjaxResult<Boolean> saveHeader(ShipmentHeader shipmentHeader) ;

    //根据单据类型建单据号
    String createCode(String shipmentType);
mahuandong authored
16
pengcheng authored
17
18
19
    //根据Id更新这个单据的首尾状态
    AjaxResult updateShipmentStatus(int shipmentId);
20
21
    AjaxResult addHistory(ShipmentHeader shipmentHeader) throws InvocationTargetException, IllegalAccessException;
pengcheng authored
22
23
24
    //审核出库单
    AjaxResult review(String ids);
mahuandong authored
25
}