data-server/src/main/java/com/yuanchu/mom/service/impl/DataReportingServiceImpl.java
@@ -129,7 +129,11 @@ for (FansSubmit fansSubmit : fansSubmits) { sum += fansSubmit.getFansAdd(); } if (dataReporting.getFansAdd()!=null||dataReporting.getFansAdd()!=0){ dataReporting2.setFansAdd(dataReporting.getFansAdd()); }else{ dataReporting2.setFansAdd(sum); } return dataReportingMapper.updateById(dataReporting2); }