package com.fdkankan.agent.service.impl; import com.fdkankan.agent.entity.AgentAudit; import com.fdkankan.agent.mapper.IAgentAuditMapper; import com.fdkankan.agent.service.IAgentAuditService; import com.fdkankan.common.base.AbstractService; import com.fdkankan.common.base.IOperations; import org.springframework.stereotype.Service; import javax.annotation.Resource; @Service("AgentAuditService") public class AgentAuditService extends AbstractService implements IAgentAuditService { public AgentAuditService() { this.setTableName("t_agent_audit"); } @Resource private IAgentAuditMapper tAgentAuditMapper; @Override protected IOperations getMapper() { return tAgentAuditMapper; } @Override public void setTableName(String tableName){ this.tableName = tableName; } }