Blame view

src/main/java/com/huaheng/pc/shipment/shipmentHeader/service/ShipmentHeaderService.java 763 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
16
    //新增出库主单
    AjaxResult<Boolean> saveHeader(ShipmentHeader shipmentHeader) ;


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