|
@@ -27,11 +27,11 @@ public class CaseServiceImpl extends ServiceImpl<ICaseMapper, Case> implements I
|
|
|
if(StringUtils.isNotBlank(caseEntity.getTypeId())){
|
|
if(StringUtils.isNotBlank(caseEntity.getTypeId())){
|
|
|
wrapper.eq(Case::getTypeId,caseEntity.getTypeId());
|
|
wrapper.eq(Case::getTypeId,caseEntity.getTypeId());
|
|
|
}
|
|
}
|
|
|
- if(StringUtils.isNotBlank(caseEntity.getIconId())){
|
|
|
|
|
- wrapper.apply("JSON_CONTAINS(icon_ids, "+caseEntity.getIconId()+")");
|
|
|
|
|
|
|
+ if(caseEntity.getIconId() !=null){
|
|
|
|
|
+ wrapper.apply("JSON_CONTAINS(icon_ids, '"+caseEntity.getIconId()+"')");
|
|
|
}
|
|
}
|
|
|
- if(StringUtils.isNotBlank(caseEntity.getFeedbackOptionId())){
|
|
|
|
|
- wrapper.apply("JSON_CONTAINS(feedback_option_ids, "+caseEntity.getFeedbackOptionId()+")");
|
|
|
|
|
|
|
+ if(caseEntity.getFeedbackOptionId()!=null){
|
|
|
|
|
+ wrapper.apply("JSON_CONTAINS(feedback_option_ids, '"+caseEntity.getFeedbackOptionId()+"')");
|
|
|
}
|
|
}
|
|
|
wrapper.eq(Case::getLanguage,caseEntity.getLanguage());
|
|
wrapper.eq(Case::getLanguage,caseEntity.getLanguage());
|
|
|
wrapper.eq(Case::getIsPublic,1);
|
|
wrapper.eq(Case::getIsPublic,1);
|