新增查询验证码

dev-discount
袁野 3 years ago
parent 43fa0f053e
commit 2ff2279b9a
  1. 7
      hai-bweb/src/main/java/com/bweb/controller/OutRechargeOrderController.java
  2. 3
      hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.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);

@ -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") + "%");

Loading…
Cancel
Save