| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Slf4j |
| | | @Service |
| | |
| | | } |
| | | return new FebsResponse().success().message("操作成功"); |
| | | } |
| | | |
| | | @Override |
| | | public List<AiProductQuestionLabel> listAllByCompanyId(String companyId) { |
| | | LambdaQueryWrapper<AiProductQuestionLabel> query = Wrappers.lambdaQuery(AiProductQuestionLabel.class); |
| | | if (StrUtil.isNotEmpty(companyId)){ |
| | | query.eq(AiProductQuestionLabel::getCompanyId, companyId); |
| | | } |
| | | query.orderByDesc(AiProductQuestionLabel::getCreatedTime); |
| | | return aiProductQuestionLabelMapper.selectList(query); |
| | | } |
| | | } |