|
@@ -4,7 +4,6 @@ import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.alibaba.fastjson.TypeReference;
|
|
import com.alibaba.fastjson.TypeReference;
|
|
|
import com.alibaba.fastjson.parser.Feature;
|
|
import com.alibaba.fastjson.parser.Feature;
|
|
|
-import com.uas.sso.support.Page;
|
|
|
|
|
import com.uas.platform.b2b.core.util.ContextUtils;
|
|
import com.uas.platform.b2b.core.util.ContextUtils;
|
|
|
import com.uas.platform.b2b.model.*;
|
|
import com.uas.platform.b2b.model.*;
|
|
|
import com.uas.platform.b2b.support.SysConf;
|
|
import com.uas.platform.b2b.support.SysConf;
|
|
@@ -13,6 +12,7 @@ import com.uas.platform.b2b.temporary.model.InquiryMessage;
|
|
|
import com.uas.platform.core.model.PageInfo;
|
|
import com.uas.platform.core.model.PageInfo;
|
|
|
import com.uas.platform.core.util.HttpUtil;
|
|
import com.uas.platform.core.util.HttpUtil;
|
|
|
import com.uas.platform.core.util.serializer.FlexJsonUtils;
|
|
import com.uas.platform.core.util.serializer.FlexJsonUtils;
|
|
|
|
|
+import com.uas.sso.support.Page;
|
|
|
import org.apache.http.HttpStatus;
|
|
import org.apache.http.HttpStatus;
|
|
|
import org.springframework.ui.ModelMap;
|
|
import org.springframework.ui.ModelMap;
|
|
|
|
|
|
|
@@ -317,7 +317,7 @@ public class InquiryUtils {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 获取推荐列表信息
|
|
|
|
|
|
|
+ * 获取个人推荐列表信息
|
|
|
*
|
|
*
|
|
|
* @param pageInfo 分页参数
|
|
* @param pageInfo 分页参数
|
|
|
* @param searchFilter 过滤条件
|
|
* @param searchFilter 过滤条件
|
|
@@ -337,4 +337,26 @@ public class InquiryUtils {
|
|
|
return (Page)JSONObject.parseObject(res.getResponseText(), new TypeReference<Page<InquiryRemind>>() {
|
|
return (Page)JSONObject.parseObject(res.getResponseText(), new TypeReference<Page<InquiryRemind>>() {
|
|
|
}, new Feature[0]);
|
|
}, new Feature[0]);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 获取企业推荐列表信息
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param pageInfo 分页参数
|
|
|
|
|
+ * @param searchFilter 过滤条件
|
|
|
|
|
+ * @param userUU 用户UU
|
|
|
|
|
+ * @param enUU 企业UU
|
|
|
|
|
+ * @return
|
|
|
|
|
+ * @throws Exception
|
|
|
|
|
+ */
|
|
|
|
|
+ public static Page<InquiryRemind> getEngerpriseRemind(PageInfo pageInfo, SearchFilter searchFilter, Long userUU, Long enUU) throws Exception {
|
|
|
|
|
+ JSONObject formData = JSON.parseObject(JSON.toJSONString(pageInfo));
|
|
|
|
|
+ if (searchFilter != null) {
|
|
|
|
|
+ formData.putAll(JSON.parseObject(JSON.toJSONString(searchFilter)));
|
|
|
|
|
+ }
|
|
|
|
|
+ formData.put("useruu", userUU);
|
|
|
|
|
+ formData.put("enuu", enUU);
|
|
|
|
|
+ HttpUtil.Response res = HttpUtil.sendGetRequest(url + "/inquiry/sale/enremind", formData);
|
|
|
|
|
+ return (Page)JSONObject.parseObject(res.getResponseText(), new TypeReference<Page<InquiryRemind>>() {
|
|
|
|
|
+ }, new Feature[0]);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|