|
@@ -66,7 +66,7 @@ public class IntroduceInfoFacade extends IntroduceInfoServiceImpl {
|
|
|
IntroduceInfo introduceInfo = new IntroduceInfo();
|
|
|
Date now = DateUtil.now();
|
|
|
String userId = UserUtils.getCurrentPrincipleID();
|
|
|
- if (!(introduceVO.getId() == null || introduceVO.getId().equals(0))) {
|
|
|
+ if (!(introduceVO.getId() == null || introduceVO.getId().equals(0L))) {
|
|
|
introduceInfo = this.getById(introduceVO.getId());
|
|
|
if (introduceInfo == null) {
|
|
|
throw new CommonException(CommonErrorCode.NOT_EXISTS, "提示信息不存在");
|
|
@@ -294,7 +294,7 @@ public class IntroduceInfoFacade extends IntroduceInfoServiceImpl {
|
|
|
//未关联的标签
|
|
|
QueryWrapper<QuestionInfo> unRelatedQuestionWrapper = new QueryWrapper<>();
|
|
|
unRelatedQuestionWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
- .eq("sub_type",0)
|
|
|
+ .eq("sub_type", 0)
|
|
|
.notIn("id", questionIds);
|
|
|
List<QuestionInfo> unRelatedQuestionList = questionFacade.list(unRelatedQuestionWrapper);
|
|
|
List<QuestionShortDTO> unRelatedQuestionDTOList = Lists.newLinkedList();
|
|
@@ -316,7 +316,7 @@ public class IntroduceInfoFacade extends IntroduceInfoServiceImpl {
|
|
|
public List<QuestionShortDTO> getAllQuestionList() {
|
|
|
QueryWrapper<QuestionInfo> unRelatedQuestionWrapper = new QueryWrapper<>();
|
|
|
unRelatedQuestionWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
- .eq("sub_type",0);
|
|
|
+ .eq("sub_type", 0);
|
|
|
List<QuestionInfo> unRelatedQuestionList = questionFacade.list(unRelatedQuestionWrapper);
|
|
|
List<QuestionShortDTO> unRelatedQuestionDTOList = Lists.newLinkedList();
|
|
|
for (QuestionInfo questionInfo : unRelatedQuestionList) {
|