|
@@ -20,13 +20,16 @@ import com.fs.company.mapper.CompanyMoneyLogsMapper;
|
|
|
import com.fs.course.config.CourseConfig;
|
|
import com.fs.course.config.CourseConfig;
|
|
|
import com.fs.course.config.RedPacketConfig;
|
|
import com.fs.course.config.RedPacketConfig;
|
|
|
import com.fs.course.domain.FsCourseWatchLog;
|
|
import com.fs.course.domain.FsCourseWatchLog;
|
|
|
|
|
+import com.fs.course.mapper.FsCourseRedPacketLogMapper;
|
|
|
import com.fs.course.mapper.FsCourseWatchLogMapper;
|
|
import com.fs.course.mapper.FsCourseWatchLogMapper;
|
|
|
|
|
+import com.fs.course.mapper.FsUserCoursePeriodMapper;
|
|
|
import com.fs.course.param.FsCourseRedPacketLogParam;
|
|
import com.fs.course.param.FsCourseRedPacketLogParam;
|
|
|
import com.fs.course.vo.FsCourseRedPacketLogListPVO;
|
|
import com.fs.course.vo.FsCourseRedPacketLogListPVO;
|
|
|
import com.fs.his.domain.FsUser;
|
|
import com.fs.his.domain.FsUser;
|
|
|
import com.fs.his.mapper.FsUserMapper;
|
|
import com.fs.his.mapper.FsUserMapper;
|
|
|
import com.fs.his.param.WxSendRedPacketParam;
|
|
import com.fs.his.param.WxSendRedPacketParam;
|
|
|
import com.fs.his.service.IFsStorePaymentService;
|
|
import com.fs.his.service.IFsStorePaymentService;
|
|
|
|
|
+import com.fs.his.vo.OptionsVO;
|
|
|
import com.fs.system.service.ISysConfigService;
|
|
import com.fs.system.service.ISysConfigService;
|
|
|
import com.github.binarywang.wxpay.bean.transfer.TransferBillsGetResult;
|
|
import com.github.binarywang.wxpay.bean.transfer.TransferBillsGetResult;
|
|
|
import com.github.binarywang.wxpay.bean.transfer.TransferBillsResult;
|
|
import com.github.binarywang.wxpay.bean.transfer.TransferBillsResult;
|
|
@@ -62,6 +65,8 @@ public class FsCourseRedPacketLogServiceImpl implements IFsCourseRedPacketLogSer
|
|
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private ISysConfigService configService;
|
|
private ISysConfigService configService;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private FsUserCoursePeriodMapper fsUserCoursePeriodMapper;
|
|
|
/**
|
|
/**
|
|
|
* 查询短链课程看课记录
|
|
* 查询短链课程看课记录
|
|
|
*
|
|
*
|
|
@@ -462,4 +467,17 @@ public class FsCourseRedPacketLogServiceImpl implements IFsCourseRedPacketLogSer
|
|
|
company.getCompanyId(), moneyLog.getMoney());
|
|
company.getCompanyId(), moneyLog.getMoney());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 根据课程ID和营期名称模糊查询营期列表
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param periodName 营期名称
|
|
|
|
|
+ * @param courseId 课程ID
|
|
|
|
|
+ * @param companyId 企业ID
|
|
|
|
|
+ * @return 营期列表
|
|
|
|
|
+ */
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public List<OptionsVO> getPeriodListLikeName(String periodName, Long courseId, Long companyId) {
|
|
|
|
|
+ return fsCourseRedPacketLogMapper.getPeriodListLikeName(periodName, courseId, companyId);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|