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