|
@@ -1,12 +1,13 @@
|
|
|
package com.ym.mec.biz.dal.dao;
|
|
|
|
|
|
-import com.ym.mec.biz.dal.entity.MusicGroupPaymentCalender;
|
|
|
-import com.ym.mec.biz.dal.enums.PaymentStatusEnum;
|
|
|
-import com.ym.mec.common.dal.BaseDAO;
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
-import java.util.List;
|
|
|
+import com.ym.mec.biz.dal.entity.MusicGroupPaymentCalender;
|
|
|
+import com.ym.mec.biz.dal.enums.PaymentStatusEnum;
|
|
|
+import com.ym.mec.common.dal.BaseDAO;
|
|
|
|
|
|
public interface MusicGroupPaymentCalenderDao extends BaseDAO<Long, MusicGroupPaymentCalender> {
|
|
|
|
|
@@ -29,7 +30,7 @@ public interface MusicGroupPaymentCalenderDao extends BaseDAO<Long, MusicGroupPa
|
|
|
* @param musicGroupId
|
|
|
*/
|
|
|
void batchAdd(@Param("calender") List<Integer> calender, @Param("musicGroupId") String musicGroupId);
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
* 批量修改
|
|
|
* @param musicGroupPaymentCalenderList
|
|
@@ -43,4 +44,14 @@ public interface MusicGroupPaymentCalenderDao extends BaseDAO<Long, MusicGroupPa
|
|
|
* @return
|
|
|
*/
|
|
|
List<MusicGroupPaymentCalender> queryByPaymentStatus(List<PaymentStatusEnum> status);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 根据指定乐团的缴费日期查询交集
|
|
|
+ * @param musicGroupId 乐团编号
|
|
|
+ * @param startPaymentDate 开始缴费日期
|
|
|
+ * @param deadlinePaymentDate 截止缴费日期
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ int queryIntersectionByPaymentDate(@Param("musicGroupId") String musicGroupId, @Param("startPaymentDate") Date startPaymentDate,
|
|
|
+ @Param("deadlinePaymentDate") Date deadlinePaymentDate);
|
|
|
}
|