KuaishouItemCollectSamplesMapper.java 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. package com.ruixuan.isc.mapper;
  2. import com.alibaba.fastjson.JSONArray;
  3. import com.alibaba.fastjson.JSONObject;
  4. import com.ruixuan.isc.entity.KuaishouItemCollectSampleExpress;
  5. import com.ruixuan.isc.entity.KuaishouItemCollectSampleLog;
  6. import com.ruixuan.isc.entity.KuaishouItemCollectSamples;
  7. import org.apache.ibatis.annotations.Param;
  8. import java.util.List;
  9. import java.util.Map;
  10. /**
  11. * 【请填写功能名称】Mapper接口
  12. *
  13. * @author ruoyi
  14. * @date 2023-02-08
  15. */
  16. public interface KuaishouItemCollectSamplesMapper
  17. {
  18. /**
  19. * 查询【请填写功能名称】
  20. *
  21. * @param id 【请填写功能名称】主键
  22. * @return 【请填写功能名称】
  23. */
  24. public KuaishouItemCollectSamples selectKuaishouItemCollectSamplesById(Long id);
  25. /**
  26. * 查询【请填写功能名称】列表
  27. *
  28. * @param requestMap 【请填写功能名称】
  29. * @return 【请填写功能名称】集合
  30. */
  31. public List<KuaishouItemCollectSamples> selectKuaishouItemCollectSamplesList(Map<String,Object> requestMap);
  32. /**
  33. * 新增【请填写功能名称】
  34. *
  35. * @param kuaishouItemCollectSamples 【请填写功能名称】
  36. * @return 结果
  37. */
  38. public int insertKuaishouItemCollectSamples(KuaishouItemCollectSamples kuaishouItemCollectSamples);
  39. /**
  40. * 修改【请填写功能名称】
  41. *
  42. * @param kuaishouItemCollectSamples 【请填写功能名称】
  43. * @return 结果
  44. */
  45. public int updateKuaishouItemCollectSamples(KuaishouItemCollectSamples kuaishouItemCollectSamples);
  46. /**
  47. * 删除【请填写功能名称】
  48. *
  49. * @param id 【请填写功能名称】主键
  50. * @return 结果
  51. */
  52. public int deleteKuaishouItemCollectSamplesById(Long id);
  53. /**
  54. * 批量删除【请填写功能名称】
  55. *
  56. * @param ids 需要删除的数据主键集合
  57. * @return 结果
  58. */
  59. public int deleteKuaishouItemCollectSamplesByIds(Long[] ids);
  60. List<JSONObject> getItemList(@Param("itemIds") JSONArray itemIds);
  61. List<JSONObject> promoterList(@Param("promoterIds") JSONArray promoterIds);
  62. Integer check(@Param("itemId") Long itemId,@Param("promoterId") Long promoterId);
  63. void batchAdd(@Param(value = "adds") List<KuaishouItemCollectSamples> adds);
  64. void updateByNum(KuaishouItemCollectSamples updateSample);
  65. void replaceExpress(KuaishouItemCollectSampleExpress express);
  66. KuaishouItemCollectSampleExpress getExpress(@Param("courierNumber") String courierNumber);
  67. Integer getStatusByCourierNumbe(String nu);
  68. JSONObject courierNumberInfo(String courierNumber);
  69. void insertLog(KuaishouItemCollectSampleLog sampleLog);
  70. void batchAddLogs(@Param(value = "adds") List<KuaishouItemCollectSampleLog> logs);
  71. List<KuaishouItemCollectSampleLog> getLogList(@Param("sampleId") Long id);
  72. void cleanLogs(@Param("sampleId") Long sampleId, @Param("status") Integer status);
  73. List<JSONObject> exportCollectSamples(Map<String, Object> requestMap);
  74. JSONObject getCollectSampleInfo(Long itemId);
  75. JSONObject promoterInfo(@Param("promoterId") Long promoterId);
  76. }