摘要: cq.add(Restrictions.sqlRestriction("is_state <> 1 ")); NVL(datastate, 0) != '1'//值为null是默认为0 cq.addOrder("createDate", SortDirection.desc); sql结果集里面有些 阅读全文
posted @ 2020-04-18 08:53 薛柏梁 阅读(760) 评论(0) 推荐(0) 编辑