|
@@ -1,5 +1,6 @@
|
|
|
package com.pj.tb_goods_demand;
|
|
|
|
|
|
+import com.pj.enummj.DeleteStatus;
|
|
|
import com.pj.project4sp.SP;
|
|
|
import com.pj.tb_goods_demand.vo.GoodsDemandVo;
|
|
|
import com.pj.utils.sg.AjaxJson;
|
|
@@ -29,6 +30,19 @@ public class AppTbGoodsDemandController {
|
|
|
TbGoodsDemandService tbGoodsDemandService;
|
|
|
|
|
|
/**
|
|
|
+ * 二级市场
|
|
|
+ */
|
|
|
+ @RequestMapping("getList")
|
|
|
+ public AjaxJson getList() {
|
|
|
+ SoMap so = SoMap.getRequestSoMap();
|
|
|
+ so.put("isOrders", 0);
|
|
|
+ so.put("isRelease", 1);
|
|
|
+ so.put("deleteStatus", DeleteStatus.DELETE_STATUS_ON.getCode());
|
|
|
+ List<TbGoodsDemand> list = tbGoodsDemandService.getList(so.startPage());
|
|
|
+ return AjaxJson.getPageData(so.getDataCount(), list);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* 增
|
|
|
*/
|
|
|
@RequestMapping("add")
|