zouxuan 5 jaren geleden
bovenliggende
commit
6c39bc78db

+ 1 - 0
mec-biz/src/main/java/com/ym/mec/biz/service/impl/VipGroupServiceImpl.java

@@ -1562,6 +1562,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 	@Override
 	@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
 	public boolean awardedMonthlyRewards() {
+		//获取
 		List<Map<Integer, Integer>> list = courseScheduleDao.queryVipGroupTeachereClassTimesByMonth(new Date(), CourseStatusEnum.OVER);
 
 		if (list != null && list.size() > 0) {

+ 3 - 0
mec-biz/src/main/resources/config/mybatis/CourseScheduleRewardsMapper.xml

@@ -143,6 +143,9 @@
 			<if test="teacherId">
 				AND FIND_IN_SET(#{teacherId},csrr.teacher_id_)
 			</if>
+			<if test="search">
+				AND csrr.name_ LIKE CONCAT('%',#{search},'%')
+			</if>
 			<if test="rewardMode">
 				AND csrr.reward_mode_ = #{rewardMode}
 			</if>