Commit e389fc8a by lihui.wang

规范命名

parent b2ea524c
...@@ -2,6 +2,7 @@ package com.freemud.pay.job.dao.repository.Impl; ...@@ -2,6 +2,7 @@ package com.freemud.pay.job.dao.repository.Impl;
import com.freemud.pay.job.dao.IBaseDao; import com.freemud.pay.job.dao.IBaseDao;
import com.freemud.pay.job.dao.mapper.PartnerDMMapper;
import com.freemud.pay.job.dao.repository.IPartnerRepository; import com.freemud.pay.job.dao.repository.IPartnerRepository;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary; import org.springframework.context.annotation.Primary;
...@@ -10,16 +11,12 @@ import org.springframework.stereotype.Repository; ...@@ -10,16 +11,12 @@ import org.springframework.stereotype.Repository;
@Primary @Primary
@Repository @Repository
public class PartnerRepositoryImpl extends BaseRepositoryImpl implements IPartnerRepository { public class PartnerRepositoryImpl extends BaseRepositoryImpl implements IPartnerRepository {
@Autowired
PartnerDMMapper partnerDMMapper;
@Override @Override
protected IBaseDao getDao() { protected IBaseDao getDao() {
return null; return partnerDMMapper;
} }
// @Autowired
// PartnerDMMapper partnerDMMapper;
//
// @Override
// protected IBaseDao getDao() {
// return partnerDMMapper;
// }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment