forked from rongchao/epmet-cloud-rizhao
16 changed files with 231 additions and 23 deletions
@ -0,0 +1,22 @@ |
|||
package com.epmet.service.evaluationindex.indexcoll; |
|||
|
|||
import com.epmet.commons.mybatis.service.BaseService; |
|||
import com.epmet.entity.evaluationindex.indexcoll.FactIndexPartyAblityOrgMonthlyEntity; |
|||
|
|||
/** |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2020/9/20 23:00 |
|||
*/ |
|||
public interface FactIndexPartyAblityOrgMonthlyService extends BaseService<FactIndexPartyAblityOrgMonthlyEntity> { |
|||
/** |
|||
* 根据客户清空数据 |
|||
* @author zhaoqifeng |
|||
* @date 2020/9/20 20:33 |
|||
* @param customerId |
|||
* @param monthId |
|||
* @param type |
|||
* @return void |
|||
*/ |
|||
void deleteByCustomer(String customerId, String monthId, String type); |
|||
} |
|||
@ -0,0 +1,23 @@ |
|||
package com.epmet.service.evaluationindex.indexcoll.impl; |
|||
|
|||
import com.epmet.commons.dynamic.datasource.annotation.DataSource; |
|||
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; |
|||
import com.epmet.constant.DataSourceConstant; |
|||
import com.epmet.dao.evaluationindex.indexcoll.FactIndexPartyAblityOrgMonthlyDao; |
|||
import com.epmet.entity.evaluationindex.indexcoll.FactIndexPartyAblityOrgMonthlyEntity; |
|||
import com.epmet.service.evaluationindex.indexcoll.FactIndexPartyAblityOrgMonthlyService; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2020/9/20 23:01 |
|||
*/ |
|||
@Service |
|||
@DataSource(DataSourceConstant.EVALUATION_INDEX) |
|||
public class FactIndexPartyAblityOrgMonthlyServiceImpl extends BaseServiceImpl<FactIndexPartyAblityOrgMonthlyDao, FactIndexPartyAblityOrgMonthlyEntity> implements FactIndexPartyAblityOrgMonthlyService { |
|||
@Override |
|||
public void deleteByCustomer(String customerId, String monthId, String type) { |
|||
baseDao.deleteByCustomer(customerId, monthId, type); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue