Commit b2ea524c by lihui.wang

规范命名

parent d1ce99b7
...@@ -133,8 +133,8 @@ ...@@ -133,8 +133,8 @@
<dependency> <dependency>
<groupId>org.mybatis</groupId> <groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId> <artifactId>mybatis-spring</artifactId>
<version>3.4.2</version> <version>1.3.0</version>
</dependency> </dependency>
</dependencies> </dependencies>
......
package com.freemud.pay.job; package com.freemud.pay.job;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@ComponentScan("com.freemud.pay.job.dao.mapper")
@SpringBootApplication @SpringBootApplication
public class PushMessageApplication { public class PushMessageApplication {
......
...@@ -7,8 +7,8 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -7,8 +7,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary; import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
//@Primary @Primary
//@Repository @Repository
public class PartnerRepositoryImpl extends BaseRepositoryImpl implements IPartnerRepository { public class PartnerRepositoryImpl extends BaseRepositoryImpl implements IPartnerRepository {
@Override @Override
protected IBaseDao getDao() { protected IBaseDao getDao() {
......
...@@ -5,6 +5,8 @@ import com.freemud.pay.job.dao.dbModel.PayMessageActiveDM; ...@@ -5,6 +5,8 @@ import com.freemud.pay.job.dao.dbModel.PayMessageActiveDM;
import com.freemud.pay.job.dao.mapper.PayMessageActiveDMMapper; import com.freemud.pay.job.dao.mapper.PayMessageActiveDMMapper;
import com.freemud.pay.job.dao.repository.IPayMessageActiveRepository; import com.freemud.pay.job.dao.repository.IPayMessageActiveRepository;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;
/** /**
* All rights Reserved, Designed By www.freemud.cn * All rights Reserved, Designed By www.freemud.cn
...@@ -17,8 +19,8 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -17,8 +19,8 @@ import org.springframework.beans.factory.annotation.Autowired;
* @Copyright: 2017 www.freemud.cn Inc. All rights reserved. * @Copyright: 2017 www.freemud.cn Inc. All rights reserved.
* 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目 * 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目
*/ */
//@Primary @Primary
//@Repository @Repository
public class PayMessageActiveRepositoryImpl extends BaseRepositoryImpl implements IPayMessageActiveRepository { public class PayMessageActiveRepositoryImpl extends BaseRepositoryImpl implements IPayMessageActiveRepository {
@Autowired @Autowired
......
...@@ -5,6 +5,8 @@ import com.freemud.pay.job.dao.dbModel.PayMessageDM; ...@@ -5,6 +5,8 @@ import com.freemud.pay.job.dao.dbModel.PayMessageDM;
import com.freemud.pay.job.dao.mapper.PayMessageDMMapper; import com.freemud.pay.job.dao.mapper.PayMessageDMMapper;
import com.freemud.pay.job.dao.repository.IPayMessageRepository; import com.freemud.pay.job.dao.repository.IPayMessageRepository;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;
import java.util.List; import java.util.List;
...@@ -19,8 +21,8 @@ import java.util.List; ...@@ -19,8 +21,8 @@ import java.util.List;
* @Copyright: 2017 www.freemud.cn Inc. All rights reserved. * @Copyright: 2017 www.freemud.cn Inc. All rights reserved.
* 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目 * 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目
*/ */
//@Primary @Primary
//@Repository @Repository
public class PayMessageRepositoryImpl extends BaseRepositoryImpl implements IPayMessageRepository { public class PayMessageRepositoryImpl extends BaseRepositoryImpl implements IPayMessageRepository {
@Autowired @Autowired
......
...@@ -22,8 +22,8 @@ import java.util.List; ...@@ -22,8 +22,8 @@ import java.util.List;
* @Copyright: 2017 www.freemud.cn Inc. All rights reserved. * @Copyright: 2017 www.freemud.cn Inc. All rights reserved.
* 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目 * 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目
*/ */
//@Primary @Primary
//@Repository @Repository
public class PayRepositoryImpl extends BaseRepositoryImpl implements IPayRepository { public class PayRepositoryImpl extends BaseRepositoryImpl implements IPayRepository {
@Override @Override
protected IBaseDao getDao() { protected IBaseDao getDao() {
......
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