|
@@ -139,7 +139,11 @@ public class WeComStaffDataJob {
|
|
|
List<CorpStatisticsTotal> results = processStaffStatistics(staffStatisticsTotals);
|
|
|
for (CorpStatisticsTotal corpStatisticsTotal : results) {
|
|
|
corpStatisticsTotal.setDate(date);
|
|
|
- corpStatisticsTotalMapper.insertSelective(corpStatisticsTotal);
|
|
|
+ try {
|
|
|
+ corpStatisticsTotalMapper.insertSelective(corpStatisticsTotal);
|
|
|
+ }catch (Exception e){
|
|
|
+ log.error("insert corpStatisticsTotal error", e);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|