4 changed files with 0 additions and 138 deletions
@ -1,33 +0,0 @@ |
|||||
package com.epmet.service.evaluationindex.extract; |
|
||||
|
|
||||
import com.epmet.dto.extract.form.GovernAbilityGridMonthlyFormDTO; |
|
||||
import org.apache.ibatis.annotations.Param; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* 治理能力-网格相关事实表 |
|
||||
* |
|
||||
* @author generator generator@elink-cn.com |
|
||||
* @since v1.0.0 2020-09-19 |
|
||||
*/ |
|
||||
public interface FactIndexGovernAbilityGridMonthlyService{ |
|
||||
|
|
||||
/** |
|
||||
* @Description 批量插入治理能力 |
|
||||
* @param lists |
|
||||
* @author zxc |
|
||||
* @date 2020/9/19 4:28 下午 |
|
||||
*/ |
|
||||
void insertGovernAbilityRecord(@Param("lists") List<GovernAbilityGridMonthlyFormDTO> lists); |
|
||||
|
|
||||
/** |
|
||||
* @Description 删除治理能力旧纪录 |
|
||||
* @param customerId |
|
||||
* @param monthId |
|
||||
* @author zxc |
|
||||
* @date 2020/9/19 4:31 下午 |
|
||||
*/ |
|
||||
void deleteOldGovernAbilityRecord(@Param("customerId")String customerId,@Param("monthId")String monthId); |
|
||||
|
|
||||
} |
|
@ -1,31 +0,0 @@ |
|||||
package com.epmet.service.evaluationindex.extract; |
|
||||
|
|
||||
import com.epmet.dto.extract.form.PartyAbilityGridMonthlyFormDTO; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* 党建能力-网格相关事实表 |
|
||||
* |
|
||||
* @author generator generator@elink-cn.com |
|
||||
* @since v1.0.0 2020-09-19 |
|
||||
*/ |
|
||||
public interface FactIndexPartyAbilityGridMonthlyService{ |
|
||||
|
|
||||
/** |
|
||||
* @Description 网格党建能力插入 |
|
||||
* @param lists |
|
||||
* @author zxc |
|
||||
* @date 2020/9/19 10:32 上午 |
|
||||
*/ |
|
||||
void insertPartyAbility(List<PartyAbilityGridMonthlyFormDTO> lists); |
|
||||
|
|
||||
/** |
|
||||
* @Description 删除旧的党建能力记录 |
|
||||
* @param customerId |
|
||||
* @param monthId |
|
||||
* @author zxc |
|
||||
* @date 2020/9/19 10:45 上午 |
|
||||
*/ |
|
||||
void deleteOldPartyAbility(String customerId,String monthId); |
|
||||
} |
|
@ -1,37 +0,0 @@ |
|||||
package com.epmet.service.evaluationindex.extract.impl; |
|
||||
|
|
||||
import com.epmet.commons.dynamic.datasource.annotation.DataSource; |
|
||||
import com.epmet.constant.DataSourceConstant; |
|
||||
import com.epmet.dao.evaluationindex.indexcoll.FactIndexGovrnAblityGridMonthlyDao; |
|
||||
import com.epmet.dto.extract.form.GovernAbilityGridMonthlyFormDTO; |
|
||||
import com.epmet.service.evaluationindex.extract.FactIndexGovernAbilityGridMonthlyService; |
|
||||
import lombok.extern.slf4j.Slf4j; |
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||
import org.springframework.stereotype.Service; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* 治理能力-网格相关事实表 |
|
||||
* |
|
||||
* @author generator generator@elink-cn.com |
|
||||
* @since v1.0.0 2020-09-19 |
|
||||
*/ |
|
||||
@Service |
|
||||
@Slf4j |
|
||||
@DataSource(DataSourceConstant.EVALUATION_INDEX) |
|
||||
public class FactIndexGovernAbilityGridMonthlyServiceImpl implements FactIndexGovernAbilityGridMonthlyService { |
|
||||
|
|
||||
@Autowired |
|
||||
private FactIndexGovrnAblityGridMonthlyDao governAbilityDao; |
|
||||
|
|
||||
@Override |
|
||||
public void insertGovernAbilityRecord(List<GovernAbilityGridMonthlyFormDTO> lists) { |
|
||||
governAbilityDao.insertGovernAbilityRecord(lists); |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public void deleteOldGovernAbilityRecord(String customerId, String monthId) { |
|
||||
governAbilityDao.deleteOldGovernAbilityRecord(customerId, monthId); |
|
||||
} |
|
||||
} |
|
@ -1,37 +0,0 @@ |
|||||
package com.epmet.service.evaluationindex.extract.impl; |
|
||||
|
|
||||
import com.epmet.commons.dynamic.datasource.annotation.DataSource; |
|
||||
import com.epmet.constant.DataSourceConstant; |
|
||||
import com.epmet.dao.evaluationindex.indexcoll.FactIndexPartyAblityGridMonthlyDao; |
|
||||
import com.epmet.dto.extract.form.PartyAbilityGridMonthlyFormDTO; |
|
||||
import com.epmet.service.evaluationindex.extract.FactIndexPartyAbilityGridMonthlyService; |
|
||||
import lombok.extern.slf4j.Slf4j; |
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||
import org.springframework.stereotype.Service; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* 党建能力-网格相关事实表 |
|
||||
* |
|
||||
* @author generator generator@elink-cn.com |
|
||||
* @since v1.0.0 2020-09-19 |
|
||||
*/ |
|
||||
@Service |
|
||||
@Slf4j |
|
||||
@DataSource(DataSourceConstant.EVALUATION_INDEX) |
|
||||
public class FactIndexPartyAbilityGridMonthlyServiceImpl implements FactIndexPartyAbilityGridMonthlyService { |
|
||||
|
|
||||
@Autowired |
|
||||
private FactIndexPartyAblityGridMonthlyDao partyAbilityGridDao; |
|
||||
|
|
||||
@Override |
|
||||
public void insertPartyAbility(List<PartyAbilityGridMonthlyFormDTO> lists) { |
|
||||
partyAbilityGridDao.insertPartyAbility(lists); |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public void deleteOldPartyAbility(String customerId, String monthId) { |
|
||||
partyAbilityGridDao.deleteOldPartyAbility(customerId, monthId); |
|
||||
} |
|
||||
} |
|
Loading…
Reference in new issue