|
|
@@ -26,6 +26,8 @@ import com.dk.mdm.model.query.ivt.OutboundItemQuery;
|
|
|
import com.dk.mdm.model.query.ivt.OutboundQuery;
|
|
|
import com.dk.mdm.model.response.ivt.OutboundItemResponse;
|
|
|
import com.dk.mdm.model.response.ivt.OutboundResponse;
|
|
|
+import com.dk.mdm.model.response.sale.OutReturnItemResponse;
|
|
|
+import com.dk.mdm.model.response.sale.OutReturnResponse;
|
|
|
import com.dk.mdm.model.vo.ivt.OutboundItemVO;
|
|
|
import com.dk.mdm.model.vo.ivt.OutboundVO;
|
|
|
import com.dk.mdm.service.common.CommonService;
|
|
|
@@ -613,6 +615,22 @@ public class OutboundService extends BaseService<Outbound> {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * @desc : 获取退货信息(编辑用)
|
|
|
+ * @author : 付斌
|
|
|
+ * @date : 2024-03-02 17:27
|
|
|
+ */
|
|
|
+ public ResponseResultVO<?> getOutReturnForUpdate(String id) {
|
|
|
+ Map<String, Object> dataInfo = new HashMap<>();
|
|
|
+ OutboundResponse outboundResponse = outboundMapper.selectById(id);
|
|
|
+ dataInfo.put("data", outboundResponse);
|
|
|
+
|
|
|
+ // 商品明细
|
|
|
+ List<OutboundItemResponse> outboundItemResponse = outboundItemMapper.selectByCondForReturnEdit(id);
|
|
|
+ dataInfo.put("dataItem", outboundItemResponse);
|
|
|
+ return ResponseResultUtil.success(dataInfo);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* @desc : 采购退货出库
|
|
|
* @author : 于继渤
|
|
|
* @date : 2023/1/9 10:49
|