|
@@ -240,7 +240,7 @@
|
|
FROM music_group_payment_calender_detail mgpcd
|
|
FROM music_group_payment_calender_detail mgpcd
|
|
WHERE mgpcd.music_group_payment_calender_id_ IN
|
|
WHERE mgpcd.music_group_payment_calender_id_ IN
|
|
(SELECT id_ FROM music_group_payment_calender WHERE payment_status_ != 0
|
|
(SELECT id_ FROM music_group_payment_calender WHERE payment_status_ != 0
|
|
- AND DATEDIFF(#{format},start_payment_date_) = #{configValue})
|
|
|
|
|
|
+ AND DATEDIFF(#{format},DATE_FORMAT(start_payment_date_,'%Y-%m-%d')) = #{configValue})
|
|
AND mgpcd.payment_status_ = 'NON_PAYMENT'
|
|
AND mgpcd.payment_status_ = 'NON_PAYMENT'
|
|
GROUP BY mgpcd.music_group_payment_calender_id_
|
|
GROUP BY mgpcd.music_group_payment_calender_id_
|
|
</select>
|
|
</select>
|