|
|
@@ -19,6 +19,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
import com.uas.platform.b2b.model.ErpProdIODetail;
|
|
|
import com.uas.platform.b2b.model.PurchaseApCheck;
|
|
|
import com.uas.platform.b2b.model.PurchaseApCheckItem;
|
|
|
@@ -207,9 +208,11 @@ public class SaleApCheckController {
|
|
|
*/
|
|
|
@RequestMapping(method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
- public SPage<PurchaseApCheck> getPurchaseApChecks(PageParams params, String keyword) {
|
|
|
+ public SPage<PurchaseApCheck> getPurchaseApChecks(PageParams params, String searchFilter) {
|
|
|
logger.log("应收对账单", "作为买家,获取全部应收对账单");
|
|
|
- com.uas.search.b2b.model.PageParams pageParams = searchService.convertPageParams(params, null);
|
|
|
+ JSONObject jsonObject = JSONObject.parseObject(searchFilter);
|
|
|
+ String keyword = jsonObject.getString("keyword");
|
|
|
+ com.uas.search.b2b.model.PageParams pageParams = searchService.convertPageParams(params, searchFilter);
|
|
|
// 当前登录企业作为买家
|
|
|
pageParams.getFilters().put("pa_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
// TODO 其他过滤条件
|