123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- package com.ym.mec.biz.service;
- import java.math.BigDecimal;
- import java.util.Date;
- import java.util.List;
- import java.util.Map;
- import com.ym.mec.biz.dal.dto.CirculationUser;
- import com.ym.mec.biz.dal.dto.OAFinancialDto;
- import com.ym.mec.biz.dal.entity.SysUserTsign;
- import com.ym.mec.biz.dal.enums.CourseViewTypeEnum;
- import com.ym.mec.biz.dal.enums.KitGroupPurchaseTypeEnum;
- import com.ym.mec.common.entity.HttpResponseResult;
- public interface ContractService {
- /**
- * 用户注册
- * @param userId
- * @param realName
- * @param idCardNo
- * @param mobileNo
- * @return
- */
- SysUserTsign register(Integer userId, String realName, String idCardNo, String mobileNo);
- void addTsign(String organCode, String orgName);
- /**
- * 传递注册协议至第三方公证平台
- * @param userId
- * @return
- */
- boolean transferRegisterContract(Integer userId);
- /**
- * 查询注册协议内容
- * @param userId
- * @return
- */
- String queryRegisterContract(Integer userId);
- /**
- * 传递乐团课程协议
- * @param userId
- * @param musicGroupId
- * @return
- */
- boolean transferMusicGroupCoursesContract(Integer userId, String musicGroupId);
- /**
- * 查询乐团课程协议
- * @param userId
- * @param vipGroupId
- * @return
- */
- String queryMusicGroupCoursesContract(Integer userId, String vipGroupId);
- /**
- * 传递VIP课程协议
- * @param userId
- * @param vipGroupId
- * @return
- */
- boolean transferVipGroupCoursesContract(Integer userId, Long vipGroupId);
- /**
- * 查询VIP课程协议
- * @param userId
- * @param vipGroupId
- * @return
- */
- String queryVipGroupCoursesContract(Integer userId, Long vipGroupId);
- /**
- * 传递商品协议
- * @param userId
- * @param musicGroupId
- * @param goodsIds
- * @param kitGroupPurchaseTypeEnum
- * @return
- */
- boolean transferGoodsContract(Integer userId, String musicGroupId, String goodsIds, KitGroupPurchaseTypeEnum kitGroupPurchaseTypeEnum);
- /**
- * 查询商品协议
- * @param userId
- * @param musicGroupId
- * @param goodsIds
- * @param kitGroupPurchaseTypeEnum
- * @return
- */
- String queryGoodsContract(Integer userId, String musicGroupId, String goodsIds, KitGroupPurchaseTypeEnum kitGroupPurchaseTypeEnum);
- /**
- * 查询陪练课购买协议
- * @param userId
- * @param courseSectionNum 课程数
- * @param startDate 开始日期
- * @param endDate 结束日期
- * @param fee 费用
- * @return
- */
- String queryPracticeCoursesContract(Integer userId, int courseSectionNum, Date startDate, Date endDate, BigDecimal fee);
- /**
- * 生成陪练课购买协议
- * @param userId
- * @param courseSectionNum
- * @param startDate
- * @param endDate
- * @param fee
- * @return
- */
- boolean transferPracticeCoursesContract(Integer userId, int courseSectionNum, Date startDate, Date endDate, BigDecimal fee);
- /**
- * 传递产品协议
- * @param userId
- * @return
- */
- void transferProduceContract(Integer userId, String musicGroupId, CourseViewTypeEnum courseViewType);
- /**
- * 传递产品协议-仅生成课程协议
- * @param userId
- * @return
- */
- HttpResponseResult transferProduceContractOnlyWithCourseList(Integer userId);
- /**
- * 查询产品协议
- * @param userId
- * @return
- */
- Map<String, Object> queryProductContract(Integer userId,String musicGroupId, CourseViewTypeEnum courseViewType);
- /**
- * OA财务审批的签章
- * @param financialDto
- * @return
- */
- String transferOaFinancial(OAFinancialDto financialDto);
- }
|