AgentAuditService.java 812 B

123456789101112131415161718192021222324252627282930
  1. package com.fdkankan.agent.service.impl;
  2. import com.fdkankan.agent.entity.AgentAudit;
  3. import com.fdkankan.agent.mapper.IAgentAuditMapper;
  4. import com.fdkankan.agent.service.IAgentAuditService;
  5. import com.fdkankan.common.base.AbstractService;
  6. import com.fdkankan.common.base.IOperations;
  7. import org.springframework.stereotype.Service;
  8. import javax.annotation.Resource;
  9. @Service("AgentAuditService")
  10. public class AgentAuditService extends AbstractService<AgentAudit> implements IAgentAuditService {
  11. public AgentAuditService() {
  12. this.setTableName("t_agent_audit");
  13. }
  14. @Resource
  15. private IAgentAuditMapper tAgentAuditMapper;
  16. @Override
  17. protected IOperations<AgentAudit> getMapper() {
  18. return tAgentAuditMapper;
  19. }
  20. @Override
  21. public void setTableName(String tableName){
  22. this.tableName = tableName;
  23. }
  24. }