|
|
@ -87,7 +87,7 @@ public class FactIndexCollectServiceImpl implements FactIndexCollectService { |
|
|
|
int deleteNum; |
|
|
|
do { |
|
|
|
deleteNum = factIndexPartyAblityCpcMonthlyDao.deleteFactIndexPartyAblityCpcMonthly(customerId, formDTO.getMonthId()); |
|
|
|
} while (deleteNum != NumConstant.ZERO); |
|
|
|
} while (deleteNum > NumConstant.ZERO); |
|
|
|
} |
|
|
|
if (null != formDTO && !CollectionUtils.isEmpty(formDTO.getDataList())) { |
|
|
|
factIndexPartyAblityCpcMonthlyDao.batchInsertFactIndexPartyAblityCpcMonthly(formDTO.getDataList(), customerId); |
|
|
@ -101,7 +101,7 @@ public class FactIndexCollectServiceImpl implements FactIndexCollectService { |
|
|
|
int deleteNum; |
|
|
|
do { |
|
|
|
deleteNum = factIndexPartyAblityGridMonthlyDao.deleteFactIndexPartyAblityGridMonthly(customerId, formDTO.getMonthId()); |
|
|
|
} while (deleteNum != NumConstant.ZERO); |
|
|
|
} while (deleteNum > NumConstant.ZERO); |
|
|
|
} |
|
|
|
if ( !CollectionUtils.isEmpty(formDTO.getDataList())) { |
|
|
|
factIndexPartyAblityGridMonthlyDao.batchInsertFactIndexPartyAblityGridMonthly(formDTO.getDataList(), customerId); |
|
|
@ -115,7 +115,7 @@ public class FactIndexCollectServiceImpl implements FactIndexCollectService { |
|
|
|
int deleteNum; |
|
|
|
do { |
|
|
|
deleteNum = factIndexPartyAblityOrgMonthlyDao.deleteFactIndexPartyAblityOrgMonthly(customerId, formDTO.getMonthId()); |
|
|
|
} while (deleteNum != NumConstant.ZERO); |
|
|
|
} while (deleteNum > NumConstant.ZERO); |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(formDTO.getDataList())) { |
|
|
|
factIndexPartyAblityOrgMonthlyDao.batchInsertFactIndexPartyAblityOrgMonthly(formDTO.getDataList(), customerId); |
|
|
@ -129,7 +129,7 @@ public class FactIndexCollectServiceImpl implements FactIndexCollectService { |
|
|
|
int deleteNum; |
|
|
|
do { |
|
|
|
deleteNum = factIndexServiceAblityGridMonthlyDao.deleteFactIndexServiceAblityGridMonthly(customerId, formDTO.getMonthId()); |
|
|
|
} while (deleteNum != NumConstant.ZERO); |
|
|
|
} while (deleteNum > NumConstant.ZERO); |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(formDTO.getDataList())) { |
|
|
|
factIndexServiceAblityGridMonthlyDao.batchInsertFactIndexServiceAblityGridMonthly(formDTO.getDataList(), customerId); |
|
|
@ -143,7 +143,7 @@ public class FactIndexCollectServiceImpl implements FactIndexCollectService { |
|
|
|
int deleteNum; |
|
|
|
do { |
|
|
|
deleteNum = factIndexServiceAblityOrgMonthlyDao.deleteFactIndexServiceAblityOrgMonthly(customerId, formDTO.getMonthId()); |
|
|
|
} while (deleteNum != NumConstant.ZERO); |
|
|
|
} while (deleteNum > NumConstant.ZERO); |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(formDTO.getDataList())) { |
|
|
|
factIndexServiceAblityOrgMonthlyDao.batchInsertFactIndexServiceAblityOrgMonthly(formDTO.getDataList(), customerId); |
|
|
@ -157,7 +157,7 @@ public class FactIndexCollectServiceImpl implements FactIndexCollectService { |
|
|
|
int deleteNum; |
|
|
|
do { |
|
|
|
deleteNum = factIndexGovrnAblityGridMonthlyDao.deleteFactIndexGovrnAblityGridMonthly(customerId, formDTO.getMonthId()); |
|
|
|
} while (deleteNum != NumConstant.ZERO); |
|
|
|
} while (deleteNum > NumConstant.ZERO); |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(formDTO.getDataList())) { |
|
|
|
factIndexGovrnAblityGridMonthlyDao.batchInsertFactIndexGovrnAblityGridMonthly(formDTO.getDataList(), customerId); |
|
|
@ -171,7 +171,7 @@ public class FactIndexCollectServiceImpl implements FactIndexCollectService { |
|
|
|
int deleteNum; |
|
|
|
do { |
|
|
|
deleteNum = factIndexGovrnAblityOrgMonthlyDao.deleteFactIndexGovrnAblityOrgMonthly(customerId, formDTO.getMonthId()); |
|
|
|
} while (deleteNum != NumConstant.ZERO); |
|
|
|
} while (deleteNum > NumConstant.ZERO); |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(formDTO.getDataList())) { |
|
|
|
factIndexGovrnAblityOrgMonthlyDao.batchInsertFactIndexGovrnAblityOrgMonthly(formDTO.getDataList(), customerId); |
|
|
@ -185,7 +185,7 @@ public class FactIndexCollectServiceImpl implements FactIndexCollectService { |
|
|
|
int deleteNum; |
|
|
|
do { |
|
|
|
deleteNum = factIndexGovrnAblityDeptMonthlyDao.deleteFactIndexGovrnAblityDeptMonthly(customerId, formDTO.getMonthId()); |
|
|
|
} while (deleteNum != NumConstant.ZERO); |
|
|
|
} while (deleteNum > NumConstant.ZERO); |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(formDTO.getDataList())) { |
|
|
|
factIndexGovrnAblityDeptMonthlyDao.batchInsertFactIndexGovrnAblityDeptMonthly(formDTO.getDataList(), customerId); |
|
|
@ -275,7 +275,7 @@ public class FactIndexCollectServiceImpl implements FactIndexCollectService { |
|
|
|
int deleteNum; |
|
|
|
do { |
|
|
|
deleteNum = screenIndexDataMonthlyDao.deleteIndexDataMonthly(customerId,monthId); |
|
|
|
} while (deleteNum != NumConstant.ZERO); |
|
|
|
} while (deleteNum > NumConstant.ZERO); |
|
|
|
screenIndexDataMonthlyDao.batchInsertIndexDataMonthly(monthlyFormDTOList, customerId); |
|
|
|
} |
|
|
|
|
|
|
@ -337,7 +337,7 @@ public class FactIndexCollectServiceImpl implements FactIndexCollectService { |
|
|
|
int deleteNum; |
|
|
|
do { |
|
|
|
deleteNum = screenIndexDataMonthlyDao.deleteIndexDataMonthly(customerId,monthId); |
|
|
|
} while (deleteNum != NumConstant.ZERO); |
|
|
|
} while (deleteNum > NumConstant.ZERO); |
|
|
|
} |
|
|
|
screenIndexDataMonthlyDao.batchInsertIndexDataMonthly(monthlyFormDTOList, customerId); |
|
|
|
} |
|
|
@ -738,7 +738,7 @@ public class FactIndexCollectServiceImpl implements FactIndexCollectService { |
|
|
|
int deleteNum; |
|
|
|
do { |
|
|
|
deleteNum = screenIndexDataYearlyDao.deleteIndexDataYearly(customerId, getYearStr(monthId)); |
|
|
|
} while (deleteNum != NumConstant.ZERO); |
|
|
|
} while (deleteNum > NumConstant.ZERO); |
|
|
|
List<IndexDataYearlyFormDTO> entity = ConvertUtils.sourceToTarget(monthlyFormList, IndexDataYearlyFormDTO.class); |
|
|
|
screenIndexDataYearlyDao.batchInsertIndexDataYearly(entity, customerId); |
|
|
|
} |
|
|
|