代理商生成数据异常修改

master
dulingling 4 years ago
parent 0fb3977a20
commit 98a397fa3b

@ -9,7 +9,7 @@
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId> <artifactId>manage</artifactId>
<version>2.3.53</version> <version>2.3.54</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>2.4.0</jib-maven-plugin.version> <jib-maven-plugin.version>2.4.0</jib-maven-plugin.version>

@ -344,10 +344,10 @@ public class CityPartnerPrizeServiceImpl implements CityPartnerPrizeService {
int year = monthCal.get(Calendar.YEAR); int year = monthCal.get(Calendar.YEAR);
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.isEmpty()) { // if (list != null && !list.isEmpty()) {
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