diff --git a/zsw-bxg/src/main/java/co/yixiang/modules/evaluation/service/impl/YxEvaluationRelationServiceImpl.java b/zsw-bxg/src/main/java/co/yixiang/modules/evaluation/service/impl/YxEvaluationRelationServiceImpl.java index 9c15473a..b82cdb32 100644 --- a/zsw-bxg/src/main/java/co/yixiang/modules/evaluation/service/impl/YxEvaluationRelationServiceImpl.java +++ b/zsw-bxg/src/main/java/co/yixiang/modules/evaluation/service/impl/YxEvaluationRelationServiceImpl.java @@ -19,6 +19,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.github.pagehelper.PageInfo; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -35,14 +36,17 @@ import java.util.List; */ @Slf4j @Service -@AllArgsConstructor @Transactional(rollbackFor = Exception.class) public class YxEvaluationRelationServiceImpl extends BaseServiceImpl implements YxEvaluationRelationService { - private final YxEvaluationRelationMapper yxEvaluationRelationMapper; - private final YxEvaluationService yxEvaluationService; - private final YxUserService userService; - private final IGenerator generator; + @Autowired + private YxEvaluationRelationMapper yxEvaluationRelationMapper; + @Autowired + private YxEvaluationService yxEvaluationService; + @Autowired + private YxUserService userService; + @Autowired + private IGenerator generator; /**