177 lines
4.4 KiB
Java
177 lines
4.4 KiB
Java
package com.cm.partybuilding.service.threemeetlesson;
|
|
|
|
import com.cm.common.exception.RemoveException;
|
|
import com.cm.common.exception.SaveException;
|
|
import com.cm.common.exception.SearchException;
|
|
import com.cm.common.pojo.ListPage;
|
|
import com.cm.common.result.SuccessResult;
|
|
import com.cm.common.result.SuccessResultData;
|
|
import com.cm.common.result.SuccessResultList;
|
|
import com.cm.partybuilding.pojo.dtos.threemeetlesson.ThreeMeetLessonDTO;
|
|
import com.cm.partybuilding.pojo.dtos.threemeetlesson.ThreeMeetLessonEChartsDTO;
|
|
import com.cm.partybuilding.pojo.vos.threemeetlesson.ThreeMeetLessonVO;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* @ClassName: IThreeMeetLessonService
|
|
* @Description:
|
|
* @Author: WenG
|
|
* @Date: 2020-10-19 09:46
|
|
* @Version: 1.0
|
|
**/
|
|
public interface IThreeMeetLessonService {
|
|
|
|
/**
|
|
* 新增
|
|
*
|
|
* @param threeMeetLessonVO
|
|
* @return
|
|
* @throws Exception
|
|
*/
|
|
SuccessResult saveThreeMeetLesson(ThreeMeetLessonVO threeMeetLessonVO) throws Exception;
|
|
|
|
/**
|
|
* 新增(APP)
|
|
*
|
|
* @param token
|
|
* @param threeMeetLessonVO
|
|
* @return
|
|
* @throws Exception
|
|
*/
|
|
SuccessResult saveThreeMeetLessonByToken(String token, ThreeMeetLessonVO threeMeetLessonVO) throws Exception;
|
|
|
|
/**
|
|
* 新增
|
|
*
|
|
* @param threeMeetLessonVO
|
|
* @return threeMeetLessonId
|
|
* @throws Exception
|
|
*/
|
|
String saveThreeMeetLessonReturnId(ThreeMeetLessonVO threeMeetLessonVO) throws Exception;
|
|
|
|
/**
|
|
* 新增(APP)
|
|
*
|
|
* @param token
|
|
* @param threeMeetLessonVO
|
|
* @return threeMeetLessonId
|
|
* @throws Exception
|
|
*/
|
|
String saveThreeMeetLessonByTokenReturnId(String token, ThreeMeetLessonVO threeMeetLessonVO) throws Exception;
|
|
|
|
/**
|
|
* 删除
|
|
*
|
|
* @param ids
|
|
* @return
|
|
* @throws RemoveException
|
|
*/
|
|
SuccessResult removeThreeMeetLesson(String ids) throws RemoveException;
|
|
|
|
/**
|
|
* 删除(物理删除)
|
|
*
|
|
* @param ids
|
|
* @throws RemoveException
|
|
*/
|
|
void deleteThreeMeetLesson(String ids) throws RemoveException;
|
|
|
|
/**
|
|
* 删除(APP)
|
|
*
|
|
* @param token
|
|
* @param ids
|
|
* @return
|
|
* @throws RemoveException
|
|
*/
|
|
SuccessResult removeThreeMeetLessonByToken(String token, String ids) throws RemoveException;
|
|
|
|
/**
|
|
* 修改
|
|
*
|
|
* @param threeMeetLessonId
|
|
* @param threeMeetLessonVO
|
|
* @return
|
|
* @throws Exception
|
|
*/
|
|
SuccessResult updateThreeMeetLesson(String threeMeetLessonId, ThreeMeetLessonVO threeMeetLessonVO) throws Exception;
|
|
|
|
/**
|
|
* 修改(APP)
|
|
*
|
|
* @param token
|
|
* @param threeMeetLessonId
|
|
* @param threeMeetLessonVO
|
|
* @return
|
|
* @throws Exception
|
|
*/
|
|
SuccessResult updateThreeMeetLessonByToken(String token, String threeMeetLessonId, ThreeMeetLessonVO threeMeetLessonVO) throws Exception;
|
|
|
|
/**
|
|
* 详情(通过ID)
|
|
*
|
|
* @param threeMeetLessonId
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
ThreeMeetLessonDTO getThreeMeetLessonById(String threeMeetLessonId) throws SearchException;
|
|
|
|
/**
|
|
* 列表
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
List<ThreeMeetLessonDTO> listThreeMeetLesson(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 分页列表
|
|
*
|
|
* @param page
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
SuccessResultList<List<ThreeMeetLessonDTO>> listPageThreeMeetLesson(ListPage page) throws SearchException;
|
|
|
|
/**
|
|
* 统计
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
Integer countNumberThreeMeetLesson(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 统计
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
SuccessResultData<Integer> countThreeMeetLesson(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 三会一课图表
|
|
* @param params
|
|
* @return
|
|
*/
|
|
SuccessResultData<List<ThreeMeetLessonDTO>> countThreeMeetLessonDesc(Map<String, Object> params);
|
|
|
|
/**
|
|
* 党组织下各类组织生活数量
|
|
* @param params
|
|
* @return
|
|
*/
|
|
List<Map<String, Object>> getOrgThreeMeetLessonCount(Map<String, Object> params);
|
|
|
|
/**
|
|
* 大数据组织生活按周统计量
|
|
* @param params
|
|
* @return
|
|
*/
|
|
List<List<String>> getThreeMeetLessonWeekCount(Map<String, Object> params);
|
|
} |