package com.ruixuan.isc.mapper; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.ruixuan.isc.entity.KuaishouItemCollectSampleExpress; import com.ruixuan.isc.entity.KuaishouItemCollectSampleLog; import com.ruixuan.isc.entity.KuaishouItemCollectSamples; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; /** * 【请填写功能名称】Mapper接口 * * @author ruoyi * @date 2023-02-08 */ public interface KuaishouItemCollectSamplesMapper { /** * 查询【请填写功能名称】 * * @param id 【请填写功能名称】主键 * @return 【请填写功能名称】 */ public KuaishouItemCollectSamples selectKuaishouItemCollectSamplesById(Long id); /** * 查询【请填写功能名称】列表 * * @param requestMap 【请填写功能名称】 * @return 【请填写功能名称】集合 */ public List selectKuaishouItemCollectSamplesList(Map requestMap); /** * 新增【请填写功能名称】 * * @param kuaishouItemCollectSamples 【请填写功能名称】 * @return 结果 */ public int insertKuaishouItemCollectSamples(KuaishouItemCollectSamples kuaishouItemCollectSamples); /** * 修改【请填写功能名称】 * * @param kuaishouItemCollectSamples 【请填写功能名称】 * @return 结果 */ public int updateKuaishouItemCollectSamples(KuaishouItemCollectSamples kuaishouItemCollectSamples); /** * 删除【请填写功能名称】 * * @param id 【请填写功能名称】主键 * @return 结果 */ public int deleteKuaishouItemCollectSamplesById(Long id); /** * 批量删除【请填写功能名称】 * * @param ids 需要删除的数据主键集合 * @return 结果 */ public int deleteKuaishouItemCollectSamplesByIds(Long[] ids); List getItemList(@Param("itemIds") JSONArray itemIds); List promoterList(@Param("promoterIds") JSONArray promoterIds); Integer check(@Param("itemId") Long itemId,@Param("promoterId") Long promoterId); void batchAdd(@Param(value = "adds") List adds); void updateByNum(KuaishouItemCollectSamples updateSample); void replaceExpress(KuaishouItemCollectSampleExpress express); KuaishouItemCollectSampleExpress getExpress(@Param("courierNumber") String courierNumber); Integer getStatusByCourierNumbe(String nu); JSONObject courierNumberInfo(String courierNumber); void insertLog(KuaishouItemCollectSampleLog sampleLog); void batchAddLogs(@Param(value = "adds") List logs); List getLogList(@Param("sampleId") Long id); void cleanLogs(@Param("sampleId") Long sampleId, @Param("status") Integer status); List exportCollectSamples(Map requestMap); JSONObject getCollectSampleInfo(Long itemId); JSONObject promoterInfo(@Param("promoterId") Long promoterId); }