提交 0275635b 编写于 作者: H HappyChan

修改注解

上级 aac5acc1
......@@ -9,6 +9,7 @@ import cn.happy.lottery.infrastructure.dao.*;
import cn.happy.lottery.infrastructure.po.*;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import javax.annotation.Resource;
import java.util.ArrayList;
......@@ -19,7 +20,7 @@ import java.util.List;
* @description:
* @date 2022/2/18
*/
@Component
@Repository
public class ActivityRepository implements IActivityRepository {
@Resource
......
......@@ -2,13 +2,14 @@ package cn.happy.lottery.infrastructure.repository;
import cn.happy.lottery.domain.award.repository.IAwardRepository;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
/**
* @author Happy
* @description:
* @date 2022/2/17
*/
@Component
@Repository
public class AwardRepository implements IAwardRepository {
// TODO 对分库分表中的用户中奖记录操作
......
......@@ -13,6 +13,7 @@ import cn.happy.lottery.infrastructure.po.Strategy;
import cn.happy.lottery.infrastructure.po.StrategyDetail;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import javax.annotation.Resource;
import java.util.ArrayList;
......@@ -23,7 +24,7 @@ import java.util.List;
* @description:
* @date 2022/2/7
*/
@Component
@Repository
public class StrategyRepository implements IStrategyRepository {
@Resource
......
......@@ -11,6 +11,7 @@ import cn.happy.lottery.infrastructure.po.UserStrategyExport;
import cn.happy.lottery.infrastructure.po.UserTakeActivity;
import cn.happy.lottery.infrastructure.po.UserTakeActivityCount;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import javax.annotation.Resource;
import java.util.Date;
......@@ -20,7 +21,7 @@ import java.util.Date;
* @description:
* @date 2022/2/27
*/
@Component
@Repository
public class UserTakeActivityRepository implements IUserTakeActivityRepository {
@Resource
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册