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.

41 lines
1.7 KiB

3 years ago
package com.zh.project0512.service;
3 years ago
import com.alibaba.fastjson.JSONObject;
3 years ago
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
3 years ago
import com.zh.project0512.model.Reference;
3 years ago
import com.zh.project0512.model.Task;
import com.baomidou.mybatisplus.extension.service.IService;
3 years ago
import com.zh.project0512.model.vo.FileUploadParamVo;
3 years ago
import org.apache.ibatis.annotations.Param;
3 years ago
import org.apache.poi.ss.formula.functions.T;
3 years ago
import java.util.List;
import java.util.Map;
/**
* <p>
*
* </p>
*
* @author zh
* @since 2022-05-21
*/
public interface ITaskService extends IService<Task> {
public void add(Task task);
3 years ago
IPage<Integer> idList(IPage iPage,String openid, List<Integer> tagIdList, List<Integer> brandIdList, @Param("ew") Wrapper<Reference> queryWrapper);
3 years ago
List<Map> list(String openid,List<Integer> list, List<Integer> tagIdList, List<Integer> brandIdList, @Param("ew") Wrapper<Reference> queryWrapper);
3 years ago
Task detailById(String openid,int id);
3 years ago
Integer taskUserSum(Integer taskId);
Integer taskUserNum(Integer taskId);
3 years ago
JSONObject taskEffect(@Param("ew") Wrapper<Task> queryWrapper);
3 years ago
List<Map> taskEffectData(@Param("ew") Wrapper<Task> queryWrapper);
3 years ago
IPage<Map> taskEffectDataPage(IPage page,@Param("ew") Wrapper<Task> queryWrapper);
3 years ago
List<Map> taskDepartment(int taskId);
3 years ago
// 上传任务时同时上传素材
3 years ago
Boolean upReferenceInTask(Task task, List<Integer> referenceList, List<FileUploadParamVo> referenceUrlList,Boolean isUpd) ;
3 years ago
// 上传任务的通用教程
3 years ago
Boolean upTeachRefeInTask(Task task,List<Integer> teachRefeList, List<FileUploadParamVo> teachRefeUrlList,Boolean isUpd) ;
3 years ago
}