|
|
@@ -423,6 +423,7 @@ public class AssetService {
|
|
|
List<Predicate> and = JpaUtils.toPredicates(pageQuery, TokenHistory.class, root, criteriaQuery, criteriaBuilder);
|
|
|
if (ObjectUtils.isEmpty(query.get("toUserId")) && ObjectUtils.isEmpty(query.get("fromUserId"))) {
|
|
|
and.add(criteriaBuilder.or(criteriaBuilder.equal(root.get("toUserId"), userId), criteriaBuilder.equal(root.get("fromUserId"), userId)));
|
|
|
+ log.error("假如没有传userids");
|
|
|
} else {
|
|
|
if (ObjectUtils.isNotEmpty(query.get("operation"))){
|
|
|
String operation = (String) query.get("operation");
|