You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.7 KiB

10 months ago
8 months ago
6 months ago
10 months ago
10 months ago
10 months ago
6 months ago
8 months ago
6 months ago
  1. package com.gaotao.modules.api.service;
  2. import com.fasterxml.jackson.core.JsonProcessingException;
  3. import com.gaotao.modules.api.entity.IfsBoxLabel;
  4. import com.gaotao.modules.api.entity.IfsInventoryPart;
  5. import com.gaotao.modules.api.entity.IfsInventoryPartInStock;
  6. import com.gaotao.modules.api.entity.IfsShopOrder;
  7. import com.gaotao.modules.api.entity.dto.IfsChangeAvailabilityControlIdDto;
  8. import com.gaotao.modules.api.entity.dto.IfsChangeExpiryDateDto;
  9. import com.gaotao.modules.api.entity.dto.IfsChangeWdrNoDto;
  10. import com.gaotao.modules.base.entity.SOScheduledRoutingData;
  11. import com.gaotao.modules.notify.entity.vo.ShopOrderMaterialVo;
  12. import org.springframework.stereotype.Service;
  13. import java.util.List;
  14. import java.util.Map;
  15. public interface IfsApiService {
  16. List<IfsShopOrder> getShopOrderFromIFSWithOrderNo(IfsShopOrder data)throws Exception;
  17. List<ShopOrderMaterialVo> getSoBomWithOrderNo(IfsShopOrder data) throws JsonProcessingException;
  18. List<IfsInventoryPart> getIfsInventoryPart(IfsInventoryPart data) throws JsonProcessingException;
  19. /**
  20. * 获取IFS库存在库信息
  21. * @param site 站点
  22. * @return 库存在库信息列表
  23. * @throws JsonProcessingException JSON处理异常
  24. */
  25. List<IfsInventoryPartInStock> getInventoryPartInStock(String site,String partNo) throws JsonProcessingException;
  26. /**
  27. * 获取IFS BoxLabel数据
  28. * @param site 站点
  29. * @param consignmentId 寄售单ID
  30. * @param jobNo 工单号
  31. * @param lineNo 行号
  32. * @param relNo 发放号
  33. * @param lineItemNo 行项目号
  34. * @return BoxLabel数据列表
  35. * @throws JsonProcessingException JSON处理异常
  36. */
  37. List<IfsBoxLabel> getBoxLabel(String site, Integer consignmentId, String jobNo,
  38. String lineNo, String relNo, Integer lineItemNo) throws JsonProcessingException;
  39. // ==================== IFS库存属性变更接口 - rqrq ====================
  40. /**
  41. * @Description IFSA-029 - 更改WDR编号 - rqrq
  42. * @param data 请求参数
  43. * @return IFS响应结果
  44. * @author rqrq
  45. * @date 2025/12/02
  46. */
  47. String changeWdrNo(IfsChangeWdrNoDto data);
  48. /**
  49. * @Description IFSA-031 - 更改过期日期 - rqrq
  50. * @param data 请求参数
  51. * @return IFS响应结果
  52. * @author rqrq
  53. * @date 2025/12/02
  54. */
  55. String changeExpiryDate(IfsChangeExpiryDateDto data);
  56. /**
  57. * @Description IFSA-030 - 更改可用性控制ID - rqrq
  58. * @param data 请求参数
  59. * @return IFS响应结果
  60. * @author rqrq
  61. * @date 2025/12/02
  62. */
  63. String changeAvailabilityControlId(IfsChangeAvailabilityControlIdDto data);
  64. List<Map<String, Object>> InventoryPartDefLoc(String site, String partNo);
  65. }