2 changed files with 89 additions and 0 deletions
			
			
		@ -0,0 +1,36 @@ | 
				
			|||
package com.epmet.service.evaluationindex.extract; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/9/18 9:52 上午 | 
				
			|||
 */ | 
				
			|||
public interface CalGridIndexService { | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Description  计算网格指标党建能力 | 
				
			|||
     * @param customerId | 
				
			|||
     * @param monthId | 
				
			|||
     * @author zxc | 
				
			|||
     * @date 2020/9/18 9:56 上午 | 
				
			|||
     */ | 
				
			|||
    Boolean calGridIndexPartyAbility(String customerId,String monthId); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Description  计算网格指标治理能力 | 
				
			|||
     * @param customerId | 
				
			|||
     * @param monthId | 
				
			|||
     * @author zxc | 
				
			|||
     * @date 2020/9/18 9:56 上午 | 
				
			|||
     */ | 
				
			|||
    Boolean calGridIndexGovernAbility(String customerId,String monthId); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Description  计算网格指标服务能力 | 
				
			|||
     * @param customerId | 
				
			|||
     * @param monthId | 
				
			|||
     * @author zxc | 
				
			|||
     * @date 2020/9/18 9:56 上午 | 
				
			|||
     */ | 
				
			|||
    Boolean calGridIndexServiceAbility(String customerId,String monthId); | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,53 @@ | 
				
			|||
package com.epmet.service.evaluationindex.extract.impl; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.dynamic.datasource.annotation.DataSource; | 
				
			|||
import com.epmet.constant.DataSourceConstant; | 
				
			|||
import com.epmet.service.evaluationindex.extract.CalGridIndexService; | 
				
			|||
import lombok.extern.slf4j.Slf4j; | 
				
			|||
import org.springframework.stereotype.Service; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/9/18 9:53 上午 | 
				
			|||
 */ | 
				
			|||
@Service | 
				
			|||
@Slf4j | 
				
			|||
@DataSource(DataSourceConstant.EVALUATION_INDEX) | 
				
			|||
public class CalGridIndexServiceImpl implements CalGridIndexService { | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Description  计算网格指标党建能力 | 
				
			|||
     * @param customerId | 
				
			|||
     * @param monthId | 
				
			|||
     * @author zxc | 
				
			|||
     * @date 2020/9/18 9:56 上午 | 
				
			|||
     */ | 
				
			|||
    @Override | 
				
			|||
    public Boolean calGridIndexPartyAbility(String customerId, String monthId) { | 
				
			|||
        return null; | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Description  计算网格指标治理能力 | 
				
			|||
     * @param customerId | 
				
			|||
     * @param monthId | 
				
			|||
     * @author zxc | 
				
			|||
     * @date 2020/9/18 9:56 上午 | 
				
			|||
     */ | 
				
			|||
    @Override | 
				
			|||
    public Boolean calGridIndexGovernAbility(String customerId, String monthId) { | 
				
			|||
        return null; | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Description  计算网格指标服务能力 | 
				
			|||
     * @param customerId | 
				
			|||
     * @param monthId | 
				
			|||
     * @author zxc | 
				
			|||
     * @date 2020/9/18 9:56 上午 | 
				
			|||
     */ | 
				
			|||
    @Override | 
				
			|||
    public Boolean calGridIndexServiceAbility(String customerId, String monthId) { | 
				
			|||
        return null; | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
					Loading…
					
					
				
		Reference in new issue