|
@ -17,10 +17,12 @@ |
|
|
|
|
|
|
|
|
package com.epmet.service.screen.impl; |
|
|
package com.epmet.service.screen.impl; |
|
|
|
|
|
|
|
|
|
|
|
import com.epmet.commons.dynamic.datasource.annotation.DataSource; |
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.constant.CompareConstant; |
|
|
import com.epmet.constant.CompareConstant; |
|
|
|
|
|
import com.epmet.constant.DataSourceConstant; |
|
|
import com.epmet.dao.screen.*; |
|
|
import com.epmet.dao.screen.*; |
|
|
import com.epmet.dto.screencoll.form.*; |
|
|
import com.epmet.dto.screencoll.form.*; |
|
|
import com.epmet.entity.screen.ScreenEventImgDataEntity; |
|
|
import com.epmet.entity.screen.ScreenEventImgDataEntity; |
|
@ -78,6 +80,8 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
private ScreenPioneerDataDao screenPioneerDataDao; |
|
|
private ScreenPioneerDataDao screenPioneerDataDao; |
|
|
@Autowired |
|
|
@Autowired |
|
|
private ScreenIndexDataYearlyDao screenIndexDataYearlyDao; |
|
|
private ScreenIndexDataYearlyDao screenIndexDataYearlyDao; |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertPartyUserRankData(List<PartyUserRankDataFormDTO> formDTO,String customerId) { |
|
|
public void insertPartyUserRankData(List<PartyUserRankDataFormDTO> formDTO,String customerId) { |
|
@ -92,6 +96,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertPartyLinkMassesData(List<PartyLinkMassesDataFormDTO> formDTO, String customerId) { |
|
|
public void insertPartyLinkMassesData(List<PartyLinkMassesDataFormDTO> formDTO, String customerId) { |
|
@ -106,6 +111,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertPartyBranchData(List<PartyBranchDataFormDTO> formDTO, String customerId) { |
|
|
public void insertPartyBranchData(List<PartyBranchDataFormDTO> formDTO, String customerId) { |
|
@ -123,6 +129,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertOrgRankData(List<OrgRankDataFormDTO> formDTO, String customerId) { |
|
|
public void insertOrgRankData(List<OrgRankDataFormDTO> formDTO, String customerId) { |
|
@ -140,6 +147,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertGovernRankData(List<GovernRankDataFormDTO> formDTO, String customerId) { |
|
|
public void insertGovernRankData(List<GovernRankDataFormDTO> formDTO, String customerId) { |
|
@ -157,6 +165,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertEventData(List<EventDataFormDTO> formDTO, String customerId) { |
|
|
public void insertEventData(List<EventDataFormDTO> formDTO, String customerId) { |
|
@ -184,6 +193,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertDifficultyData(List<DifficultyDataFormDTO> formDTO, String customerId) { |
|
|
public void insertDifficultyData(List<DifficultyDataFormDTO> formDTO, String customerId) { |
|
@ -196,6 +206,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertCpcbaseData(List<CpcBaseDataFormDTO> formDTO, String customerId) { |
|
|
public void insertCpcbaseData(List<CpcBaseDataFormDTO> formDTO, String customerId) { |
|
@ -210,6 +221,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertIndexDataMonthly(List<IndexDataMonthlyFormDTO> formDTO, String customerId) { |
|
|
public void insertIndexDataMonthly(List<IndexDataMonthlyFormDTO> formDTO, String customerId) { |
|
@ -227,6 +239,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertIndexDataYearly(List<IndexDataYearlyFormDTO> formDTO, String customerId) { |
|
|
public void insertIndexDataYearly(List<IndexDataYearlyFormDTO> formDTO, String customerId) { |
|
@ -243,6 +256,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertCustomerDept(List<CustomerDeptFormDTO> formDTO, String customerId) { |
|
|
public void insertCustomerDept(List<CustomerDeptFormDTO> formDTO, String customerId) { |
|
@ -257,6 +271,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertCustomerGrid(List<CustomerGridFormDTO> formDTO, String customerId) { |
|
|
public void insertCustomerGrid(List<CustomerGridFormDTO> formDTO, String customerId) { |
|
@ -271,6 +286,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertCustomerAgency(List<CustomerAgencyFormDTO> formDTO, String customerId) { |
|
|
public void insertCustomerAgency(List<CustomerAgencyFormDTO> formDTO, String customerId) { |
|
@ -285,6 +301,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertUserTotalData(List<UserTotalDataFormDTO> formDTO, String customerId) { |
|
|
public void insertUserTotalData(List<UserTotalDataFormDTO> formDTO, String customerId) { |
|
@ -299,6 +316,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertUserJoin(List<UserJoinFormDTO> formDTO, String customerId) { |
|
|
public void insertUserJoin(List<UserJoinFormDTO> formDTO, String customerId) { |
|
@ -413,6 +431,7 @@ public class ScreenCollServiceImpl implements ScreenCollService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DataSource(value = DataSourceConstant.STATS, datasourceNameFromArg = true) |
|
|
@Override |
|
|
@Override |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
public void insertPioneerData(List<PioneerDataFormDTO> formDTO, String customerId) { |
|
|
public void insertPioneerData(List<PioneerDataFormDTO> formDTO, String customerId) { |
|
|