temp 注释重复生成合伙人提成 限制

master
luoyang 6 years ago
parent a0e2600382
commit 8b306885bc

@ -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);

Loading…
Cancel
Save