|
|
|
@ -1,7 +1,6 @@ |
|
|
|
package com.epmet.service.impl; |
|
|
|
|
|
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
|
import com.epmet.constant.BaseReportConstant; |
|
|
|
import com.epmet.dao.stats.BaseReportDao; |
|
|
|
import com.epmet.dto.basereport.form.*; |
|
|
|
import com.epmet.service.BaseReportService; |
|
|
|
@ -60,7 +59,8 @@ public class BaseReportServiceImpl implements BaseReportService { |
|
|
|
} while (deleteNum > NumConstant.ZERO); |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(formDTO.getDataList())) { |
|
|
|
baseReportDao.insertBatchAgencyRegUser(formDTO.getDataList()); |
|
|
|
ListUtils.partition(formDTO.getDataList(),NumConstant.ONE_HUNDRED) |
|
|
|
.forEach(part->baseReportDao.insertBatchAgencyRegUser(part); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|