|
@@ -11,6 +11,7 @@ import com.fasterxml.jackson.databind.node.ArrayNode;
|
|
|
import com.fasterxml.jackson.databind.node.JsonNodeFactory;
|
|
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
|
|
import com.persagy.dmp.basic.model.QueryCriteria;
|
|
|
+import com.persagy.dmp.common.constant.ValidEnum;
|
|
|
import com.persagy.dmp.common.helper.SpringHelper;
|
|
|
import com.persagy.dmp.common.model.entity.BaseEntity;
|
|
|
import com.persagy.dmp.common.utils.JsonHelper;
|
|
@@ -213,6 +214,7 @@ public class AbstractAdmBaseServiceImpl<T> implements IAdmBaseService<T> {
|
|
|
ObjectNode criteria = JsonNodeFactory.instance.objectNode();
|
|
|
queryRequest.setCriteria(criteria);
|
|
|
boolean isSelectTo = anno.selectToObj();
|
|
|
+ criteria.put(BaseEntity.PROP_VALID, ValidEnum.TRUE.getType());
|
|
|
putString(criteria, "graphCode", anno.graphCode());
|
|
|
putString(criteria, "relCode", anno.relCode());
|
|
|
putString(criteria, "relValue", anno.relValue());
|