|
|
@@ -30,7 +30,6 @@ import org.springframework.transaction.annotation.Isolation;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
-import com.timevale.tgtext.text.pdf.de;
|
|
|
import com.ym.mec.auth.api.client.SysUserFeignService;
|
|
|
import com.ym.mec.auth.api.entity.SysUser;
|
|
|
import com.ym.mec.auth.api.entity.SysUserRole;
|
|
|
@@ -1226,6 +1225,9 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
|
|
|
if (calender == null) {
|
|
|
throw new BizException("缴费信息不存在");
|
|
|
}
|
|
|
+ if(calender.getPaymentType() == MUSIC_APPLY){
|
|
|
+ throw new BizException("报名的缴费记录不能删除");
|
|
|
+ }
|
|
|
if (calender.getStatus() != PaymentCalenderStatusEnum.AUDITING && calender.getStatus() != PaymentCalenderStatusEnum.NO
|
|
|
&& calender.getStatus() != PaymentCalenderStatusEnum.REJECT) {
|
|
|
throw new BizException("删除失败,只有[审核中]、[拒绝]或[未开启缴费]状态才能删除");
|