KuaishouItemCollectSamplesMapper.java 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. * @param id 【请填写功能名称】主键
  21. * @return 【请填写功能名称】
  22. */
  23. public KuaishouItemCollectSamples selectKuaishouItemCollectSamplesById(Long id);
  24. /**
  25. * 查询【请填写功能名称】列表
  26. *
  27. * @param requestMap 【请填写功能名称】
  28. * @return 【请填写功能名称】集合
  29. */
  30. public List<KuaishouItemCollectSamples> selectKuaishouItemCollectSamplesList(Map<String, Object> requestMap);
  31. /**
  32. * 新增【请填写功能名称】
  33. *
  34. * @param kuaishouItemCollectSamples 【请填写功能名称】
  35. * @return 结果
  36. */
  37. public int insertKuaishouItemCollectSamples(KuaishouItemCollectSamples kuaishouItemCollectSamples);
  38. /**
  39. * 修改【请填写功能名称】
  40. *
  41. * @param kuaishouItemCollectSamples 【请填写功能名称】
  42. * @return 结果
  43. */
  44. public int updateKuaishouItemCollectSamples(KuaishouItemCollectSamples kuaishouItemCollectSamples);
  45. /**
  46. * 删除【请填写功能名称】
  47. *
  48. * @param id 【请填写功能名称】主键
  49. * @return 结果
  50. */
  51. public int deleteKuaishouItemCollectSamplesById(Long id);
  52. /**
  53. * 批量删除【请填写功能名称】
  54. *
  55. * @param ids 需要删除的数据主键集合
  56. * @return 结果
  57. */
  58. public int deleteKuaishouItemCollectSamplesByIds(Long[] ids);
  59. List<JSONObject> getItemList(@Param("itemIds") JSONArray itemIds);
  60. List<JSONObject> promoterList(@Param("ids") JSONArray ids);
  61. Integer check(@Param("itemId") Long itemId, @Param("promoterId") Long promoterId);
  62. void batchAdd(@Param(value = "adds") List<KuaishouItemCollectSamples> adds);
  63. void updateByNum(KuaishouItemCollectSamples updateSample);
  64. void replaceExpress(KuaishouItemCollectSampleExpress express);
  65. KuaishouItemCollectSampleExpress getExpress(@Param("courierNumber") String courierNumber);
  66. Integer getStatusByCourierNumbe(@Param("nu") String nu);
  67. JSONObject courierNumberInfo(String courierNumber);
  68. void insertLog(KuaishouItemCollectSampleLog sampleLog);
  69. void batchAddLogs(@Param(value = "adds") List<KuaishouItemCollectSampleLog> logs);
  70. List<KuaishouItemCollectSampleLog> getLogList(@Param("sampleId") Long id);
  71. void cleanLogs(@Param("sampleId") Long sampleId, @Param("status") Integer status);
  72. List<JSONObject> exportCollectSamples(Map<String, Object> requestMap);
  73. JSONObject getCollectSampleInfo(@Param("itemId") Long itemId);
  74. JSONObject promoterInfo(@Param("promoterId") Long promoterId);
  75. Long getItemIdById(@Param("id") Long id);
  76. Integer getSampleCountByUserId(@Param("userList") List<Long> userList, @Param("userType") Integer userType, @Param("status") Integer status);
  77. JSONObject queryTheNumberOfCompletedJobs(@Param("promoterIds") List<Long> promoterIds, @Param("startDate") String startDate,@Param("endDate") String endDate);
  78. List<JSONObject> selectPromoterInfo(@Param("map") Map<Long, Long> map);
  79. List<Long> getItemIdsByCreateId(@Param("userList") List<Long> userList);
  80. List<JSONObject> queryProductList(Map<String, Object> map);
  81. void batchProcess(@Param("ids") JSONArray ids,@Param("status") Integer status);
  82. List<KuaishouItemCollectSamples> getListByPromoterId(@Param("promoterId") Long promoterId);
  83. Integer checkByRelateIdAndPromoterId(@Param("relateId") Long relateId, @Param("promoterId") Long promoterId);
  84. }