|
|
@ -5,6 +5,7 @@ import cn.chjyj.szwh.controller.BaseController; |
|
|
import cn.chjyj.szwh.service.OrderGoodsDetailService; |
|
|
import cn.chjyj.szwh.service.OrderGoodsDetailService; |
|
|
import cn.chjyj.szwh.service.OrderService; |
|
|
import cn.chjyj.szwh.service.OrderService; |
|
|
import com.alibaba.fastjson.JSON; |
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
|
|
import com.alibaba.fastjson.JSONArray; |
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
@ -73,6 +74,17 @@ public class AdminOrderController extends BaseController { |
|
|
if(StringUtils.isNotBlank(entrustType)){ |
|
|
if(StringUtils.isNotBlank(entrustType)){ |
|
|
rqmap.put("goods_entrust",entrustType); |
|
|
rqmap.put("goods_entrust",entrustType); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 创建时间
|
|
|
|
|
|
String createtime=request.getString("createtime"); |
|
|
|
|
|
if(StringUtils.isNotBlank("createtime")){ |
|
|
|
|
|
JSONArray jarr = JSONArray.parseArray(createtime); |
|
|
|
|
|
if(jarr.size()>0){ |
|
|
|
|
|
// 拆分
|
|
|
|
|
|
rqmap.put("createtime"," createtime between '"+jarr.get(0)+" 00:00:00' and '"+jarr.get(1)+" 23:59:59'"); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
String spage=request.getString("page"); |
|
|
String spage=request.getString("page"); |
|
|
int page= StringUtils.isNotBlank(spage)?Integer.valueOf(spage):1; |
|
|
int page= StringUtils.isNotBlank(spage)?Integer.valueOf(spage):1; |
|
|
|