| | |
| | | package cn.iocoder.yudao.module.mes.service.wm.returnsales; |
| | | |
| | | import cn.iocoder.yudao.framework.common.pojo.PageResult; |
| | | import cn.iocoder.yudao.module.mes.controller.admin.wm.productsales.vo.MesWmProductSalesPageReqVO; |
| | | import cn.iocoder.yudao.module.mes.controller.admin.wm.returnsales.vo.MesWmReturnableProductSalesLineRespVO; |
| | | import cn.iocoder.yudao.module.mes.controller.admin.wm.returnsales.vo.MesWmReturnSalesPageReqVO; |
| | | import cn.iocoder.yudao.module.mes.controller.admin.wm.returnsales.vo.MesWmReturnSalesSaveReqVO; |
| | | import cn.iocoder.yudao.module.mes.dal.dataobject.wm.productsales.MesWmProductSalesDO; |
| | | import cn.iocoder.yudao.module.mes.dal.dataobject.wm.returnsales.MesWmReturnSalesDO; |
| | | import jakarta.validation.Valid; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * MES 销售退货单 Service 接口 |
| | |
| | | PageResult<MesWmReturnSalesDO> getReturnSalesPage(MesWmReturnSalesPageReqVO pageReqVO); |
| | | |
| | | /** |
| | | * 获得可退销售出库单分页:仅已完成状态,且存在可退数量大于 0 的行 |
| | | * |
| | | * @param pageReqVO 分页参数 |
| | | * @return 销售出库单分页 |
| | | */ |
| | | PageResult<MesWmProductSalesDO> getReturnableProductSalesPage(MesWmProductSalesPageReqVO pageReqVO); |
| | | |
| | | /** |
| | | * 获得销售出库单中仍可退货的行列表 |
| | | * |
| | | * @param productSalesId 销售出库单 ID |
| | | * @return 可退行列表 |
| | | */ |
| | | List<MesWmReturnableProductSalesLineRespVO> getReturnableProductSalesLineList(Long productSalesId); |
| | | |
| | | /** |
| | | * 校验销售退货单是否存在 |
| | | * |
| | | * @param id 编号 |