未通过的评论不显示
This commit is contained in:
parent
8f640f66e6
commit
8ade504226
|
@ -63,6 +63,9 @@ public class TDemandCommentServiceImpl extends CrudServiceImpl<TDemandCommentDao
|
|||
break;
|
||||
}
|
||||
});
|
||||
if (!params.containsKey("creator")) {
|
||||
wrapper.eq(StringUtils.isNotBlank(params.get("creator").toString()), "del_flag", 0);
|
||||
}
|
||||
wrapper.orderByDesc("create_date");
|
||||
return wrapper;
|
||||
}
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
FROM
|
||||
t_demand_comment
|
||||
WHERE
|
||||
target_id = #{dataId};
|
||||
del_flag = 0
|
||||
AND target_id = #{dataId};
|
||||
</select>
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue