cn.schoolwow.util.domain.query.jsonobject.QueryJSONObject Maven / Gradle / Ivy
The newest version!
package cn.schoolwow.util.domain.query.jsonobject;
import cn.schoolwow.util.module.query.jsonobject.domain.JSONObjectQueryOption;
import com.alibaba.fastjson.JSONObject;
public class QueryJSONObject {
private JSONObjectQueryOption jsonObjectQueryOption = new JSONObjectQueryOption();
/**创建实例列表查询*/
public static QueryJSONObject newQuery(JSONObject object){
QueryJSONObject jsonQuery = new QueryJSONObject();
jsonQuery.jsonObjectQueryOption.object = object;
return jsonQuery;
}
public QueryJSONObjectResponse execute(){
return new QueryJSONObjectResponse(jsonObjectQueryOption);
}
}