|
|
@ -256,11 +256,11 @@ public class UserAdviceServiceImpl extends BaseServiceImpl<UserAdviceDao, UserAd |
|
|
|
wrapper.eq(StringUtils.isNotBlank(dto.getCustomerId()), "CUSTOMER_ID", dto.getCustomerId()); |
|
|
|
//是否回复
|
|
|
|
if ("1".equals(dto.getIsReply())) { |
|
|
|
wrapper.ne("REPLY_USER_ID", ""); |
|
|
|
wrapper.ne("REPLY_CONTENT", ""); |
|
|
|
wrapper.isNotNull("REPLY_USER_ID"); |
|
|
|
wrapper.isNotNull("REPLY_CONTENT"); |
|
|
|
} else if ("0".equals(dto.getIsReply())) { |
|
|
|
wrapper.eq("REPLY_USER_ID", ""); |
|
|
|
wrapper.eq("REPLY_CONTENT", ""); |
|
|
|
wrapper.isNull("REPLY_USER_ID"); |
|
|
|
wrapper.isNull("REPLY_CONTENT"); |
|
|
|
} |
|
|
|
//建议类型
|
|
|
|
wrapper.like(StringUtils.isNotBlank(dto.getAdviceType()), "ADVICE_TYPE", dto.getAdviceType()); |
|
|
|