| | |
| | | package com.linghu.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.linghu.model.common.ResponseResult; |
| | | import com.linghu.model.entity.Keyword; |
| | |
| | | import com.linghu.model.vo.KeywordStaticsListVO; |
| | | import com.linghu.service.KeywordService; |
| | | import com.linghu.mapper.KeywordMapper; |
| | | |
| | | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | |
| | | */ |
| | | @Service |
| | | public class KeywordServiceImpl extends ServiceImpl<KeywordMapper, Keyword> implements KeywordService{ |
| | | @Autowired |
| | | private KeywordMapper keywordMapper; |
| | | |
| | | @Override |
| | | public ResponseResult<KeywordStaticsListVO> statics(Integer keywordId, Integer questionId) { |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | @Override |
| | | public List<Keyword> getKeywordsByOrderId(String orderId) { |
| | | LambdaQueryWrapper<Keyword> queryWrapper = new LambdaQueryWrapper<>(); |
| | | queryWrapper.eq(Keyword::getOrder_id, orderId); |
| | | return keywordMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |