|
|
|
@ -344,10 +344,10 @@ public class CityPartnerPrizeServiceImpl implements CityPartnerPrizeService {
|
|
|
|
|
int year = monthCal.get(Calendar.YEAR);
|
|
|
|
|
int month = monthCal.get(Calendar.MONTH) + 1;
|
|
|
|
|
|
|
|
|
|
List<JSONObject> list = financialPartnerCommissionMapper.list(year, month);
|
|
|
|
|
if (list != null && !list.isEmpty()) {
|
|
|
|
|
throw new ServerErrorException("请不要重复生成合伙人记录");
|
|
|
|
|
}
|
|
|
|
|
// List<JSONObject> list = financialPartnerCommissionMapper.list(year, month);
|
|
|
|
|
// if (list != null && !list.isEmpty()) {
|
|
|
|
|
// throw new ServerErrorException("请不要重复生成合伙人记录");
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
financialPartnerCommissionDetailMapper.clearData(year, month, 1);
|
|
|
|
|
financialPartnerCommissionMapper.clearData(year, month, 1);
|
|
|
|
|