|
@ -65,7 +65,7 @@ public class AnScreenCollServiceImpl implements AnScreenCollService { |
|
|
affectRows = communityProjectProfileDao.deleteBatch(customerId); |
|
|
affectRows = communityProjectProfileDao.deleteBatch(customerId); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
Lists.partition(formDTO.getDataList(),NumConstant.ONE_THOUSAND).forEach(list -> { |
|
|
Lists.partition(formDTO.getDataList(),NumConstant.ONE_HUNDRED).forEach(list -> { |
|
|
communityProjectProfileDao.insertBatch(list,customerId); |
|
|
communityProjectProfileDao.insertBatch(list,customerId); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
@ -90,7 +90,7 @@ public class AnScreenCollServiceImpl implements AnScreenCollService { |
|
|
affectRows = pmRankDao.deleteBatch(customerId); |
|
|
affectRows = pmRankDao.deleteBatch(customerId); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
Lists.partition(formDTO.getDataList(),NumConstant.ONE_THOUSAND).forEach(list -> { |
|
|
Lists.partition(formDTO.getDataList(),NumConstant.ONE_HUNDRED).forEach(list -> { |
|
|
pmRankDao.insertBatch(list,customerId); |
|
|
pmRankDao.insertBatch(list,customerId); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
@ -117,7 +117,7 @@ public class AnScreenCollServiceImpl implements AnScreenCollService { |
|
|
} |
|
|
} |
|
|
String quarterId = DateUtils.getQuarterId(formDTO.getMonthId()); |
|
|
String quarterId = DateUtils.getQuarterId(formDTO.getMonthId()); |
|
|
String yearId = DateUtils.getYearId(formDTO.getMonthId()); |
|
|
String yearId = DateUtils.getYearId(formDTO.getMonthId()); |
|
|
Lists.partition(formDTO.getDataList(),NumConstant.ONE_THOUSAND).forEach(list -> { |
|
|
Lists.partition(formDTO.getDataList(),NumConstant.ONE_HUNDRED).forEach(list -> { |
|
|
pmTotalMonthlyDao.insertBatch(list, |
|
|
pmTotalMonthlyDao.insertBatch(list, |
|
|
customerId, |
|
|
customerId, |
|
|
formDTO.getMonthId(), |
|
|
formDTO.getMonthId(), |
|
@ -148,7 +148,7 @@ public class AnScreenCollServiceImpl implements AnScreenCollService { |
|
|
} |
|
|
} |
|
|
String quarterId = DateUtils.getQuarterId(formDTO.getMonthId()); |
|
|
String quarterId = DateUtils.getQuarterId(formDTO.getMonthId()); |
|
|
String yearId = DateUtils.getYearId(formDTO.getMonthId()); |
|
|
String yearId = DateUtils.getYearId(formDTO.getMonthId()); |
|
|
Lists.partition(formDTO.getDataList(),NumConstant.ONE_THOUSAND).forEach(list -> { |
|
|
Lists.partition(formDTO.getDataList(),NumConstant.ONE_HUNDRED).forEach(list -> { |
|
|
orgMonthlyDao.insertBatch(list, |
|
|
orgMonthlyDao.insertBatch(list, |
|
|
customerId, |
|
|
customerId, |
|
|
formDTO.getMonthId(), |
|
|
formDTO.getMonthId(), |
|
@ -179,7 +179,7 @@ public class AnScreenCollServiceImpl implements AnScreenCollService { |
|
|
} |
|
|
} |
|
|
String quarterId = DateUtils.getQuarterId(formDTO.getMonthId()); |
|
|
String quarterId = DateUtils.getQuarterId(formDTO.getMonthId()); |
|
|
String yearId = DateUtils.getYearId(formDTO.getMonthId()); |
|
|
String yearId = DateUtils.getYearId(formDTO.getMonthId()); |
|
|
Lists.partition(formDTO.getDataList(),NumConstant.ONE_THOUSAND).forEach(list -> { |
|
|
Lists.partition(formDTO.getDataList(),NumConstant.ONE_HUNDRED).forEach(list -> { |
|
|
governMonthlyDao.insertBatch(list, |
|
|
governMonthlyDao.insertBatch(list, |
|
|
customerId, |
|
|
customerId, |
|
|
formDTO.getMonthId(), |
|
|
formDTO.getMonthId(), |
|
|