| | |
| | | import com.ruoyi.sales.dto.SalesLedgerProductDto; |
| | | import com.ruoyi.sales.dto.ShippingInfoDto; |
| | | import com.ruoyi.sales.pojo.ShippingInfo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.List; |
| | |
| | | |
| | | boolean delete(List<Long> ids); |
| | | |
| | | List<SalesLedgerProductDto> getReturnManagementDtoById(Long shippingId); |
| | | List<SalesLedgerProductDto> getReturnManagementDtoById( Long shippingId); |
| | | |
| | | List<ShippingInfo> getShippingInfoByCustomerName(String customerName); |
| | | |
| | | /** |
| | | * 一键发货 - 自动审批通过并出库 |
| | | * @param req 发货信息 |
| | | * @return 是否成功 |
| | | */ |
| | | boolean oneClickShipping(ShippingInfoDto req) throws IOException; |
| | | |
| | | /** |
| | | * 批量一键发货 - 将销售台账下所有未发货的产品全部发货 |
| | | * @param salesLedgerId 销售台账ID |
| | | * @param req 发货信息(发货类型、日期等) |
| | | * @return 是否成功 |
| | | */ |
| | | boolean batchOneClickShipping(Long salesLedgerId, ShippingInfoDto req) throws IOException; |
| | | } |