diff --git a/hai-bweb/src/main/java/com/bweb/controller/OutRechargeOrderController.java b/hai-bweb/src/main/java/com/bweb/controller/OutRechargeOrderController.java index 62538541..932b1211 100644 --- a/hai-bweb/src/main/java/com/bweb/controller/OutRechargeOrderController.java +++ b/hai-bweb/src/main/java/com/bweb/controller/OutRechargeOrderController.java @@ -127,6 +127,7 @@ public class OutRechargeOrderController { @RequestParam(name = "rechargeContent", required = false) String rechargeContent, @RequestParam(name = "userPhone", required = false) String userPhone, @RequestParam(name = "payType", required = false) Integer payType, + @RequestParam(name = "code", required = false) Integer code, @RequestParam(name = "payTimeS", required = false) Long payTimeS, @RequestParam(name = "payTimeE", required = false) Long payTimeE, @RequestParam(name = "pageNum", required = true) Integer pageNum, @@ -155,7 +156,9 @@ public class OutRechargeOrderController { } if (payType != null) { map.put("payType" , payType.toString()); - + } + if (code != null) { + map.put("code" , code.toString()); } if (payTimeS != null) { map.put("payTimeS", new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(payTimeS)); @@ -196,6 +199,7 @@ public class OutRechargeOrderController { @RequestParam(name = "rechargeContent", required = false) String rechargeContent, @RequestParam(name = "userPhone", required = false) String userPhone, @RequestParam(name = "payType", required = false) Integer payType, + @RequestParam(name = "code", required = false) Integer code, @RequestParam(name = "createTimeS", required = false) Long createTimeS, @RequestParam(name = "createTimeE", required = false) Long createTimeE, @RequestParam(name = "payTimeS", required = false) Long payTimeS, @@ -209,6 +213,7 @@ public class OutRechargeOrderController { map.put("rechargeContent", rechargeContent); map.put("userPhone", userPhone); map.put("payType", payType); + map.put("code", code); map.put("createTimeS", createTimeS); map.put("createTimeE", createTimeE); map.put("payTimeS", payTimeS); diff --git a/hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java index 9f913a87..09b9dbdb 100644 --- a/hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java @@ -65,6 +65,9 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService { if (MapUtils.getInteger(map, "payType") != null) { criteria.andPayTypeEqualTo(MapUtils.getInteger(map, "payType")); } + if (MapUtils.getInteger(map, "code") != null) { + criteria.andIdentificationCodeEqualTo(MapUtils.getLong(map, "code")); + } if (MapUtils.getString(map, "orderNo") != null) { criteria.andOrderNoLike("%" + MapUtils.getString(map, "orderNo") + "%");