|
|
@ -51,6 +51,7 @@ import javax.servlet.http.HttpServletRequest; |
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.util.*; |
|
|
|
import java.util.*; |
|
|
|
|
|
|
|
import java.util.function.IntFunction; |
|
|
|
|
|
|
|
|
|
|
|
@Controller |
|
|
|
@Controller |
|
|
|
@RequestMapping(value = "/outRechargeOrder") |
|
|
|
@RequestMapping(value = "/outRechargeOrder") |
|
|
@ -134,6 +135,7 @@ public class OutRechargeOrderController { |
|
|
|
@RequestParam(name = "payStatus", required = false) Integer payStatus, |
|
|
|
@RequestParam(name = "payStatus", required = false) Integer payStatus, |
|
|
|
@RequestParam(name = "rechargeStatus", required = false) String rechargeStatus, |
|
|
|
@RequestParam(name = "rechargeStatus", required = false) String rechargeStatus, |
|
|
|
@RequestParam(name = "orderNo", required = false) String orderNo, |
|
|
|
@RequestParam(name = "orderNo", required = false) String orderNo, |
|
|
|
|
|
|
|
@RequestParam(name = "companyId", required = false) Long companyId, |
|
|
|
@RequestParam(name = "operatorType", required = false) String operatorType, |
|
|
|
@RequestParam(name = "operatorType", required = false) String operatorType, |
|
|
|
@RequestParam(name = "laborUnionCard", required = false) String laborUnionCard, |
|
|
|
@RequestParam(name = "laborUnionCard", required = false) String laborUnionCard, |
|
|
|
@RequestParam(name = "rechargeContent", required = false) String rechargeContent, |
|
|
|
@RequestParam(name = "rechargeContent", required = false) String rechargeContent, |
|
|
@ -154,7 +156,16 @@ public class OutRechargeOrderController { |
|
|
|
|
|
|
|
|
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (companyId != null) { |
|
|
|
|
|
|
|
map.put("companyId", companyId); |
|
|
|
|
|
|
|
} else if (userInfoModel.getSecRole().getRoleType() != 1){ |
|
|
|
|
|
|
|
if (userInfoModel.getSecRole().getRoleType() == 7) { |
|
|
|
|
|
|
|
map.put("companyId", 23); |
|
|
|
|
|
|
|
} else { |
|
|
|
map.put("companyId", userInfoModel.getBsCompany().getId()); |
|
|
|
map.put("companyId", userInfoModel.getBsCompany().getId()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
map.put("rechargeStatus", rechargeStatus); |
|
|
|
map.put("rechargeStatus", rechargeStatus); |
|
|
|
map.put("payStatus", payStatus); |
|
|
|
map.put("payStatus", payStatus); |
|
|
|
map.put("orderNo", orderNo); |
|
|
|
map.put("orderNo", orderNo); |
|
|
@ -189,6 +200,7 @@ public class OutRechargeOrderController { |
|
|
|
public ResponseData exportOrderList( |
|
|
|
public ResponseData exportOrderList( |
|
|
|
@RequestParam(name = "payStatus", required = false) Integer payStatus, |
|
|
|
@RequestParam(name = "payStatus", required = false) Integer payStatus, |
|
|
|
@RequestParam(name = "rechargeStatus", required = false) String rechargeStatus, |
|
|
|
@RequestParam(name = "rechargeStatus", required = false) String rechargeStatus, |
|
|
|
|
|
|
|
@RequestParam(name = "companyId", required = false) Long companyId, |
|
|
|
@RequestParam(name = "orderNo", required = false) String orderNo, |
|
|
|
@RequestParam(name = "orderNo", required = false) String orderNo, |
|
|
|
@RequestParam(name = "operatorType", required = false) String operatorType, |
|
|
|
@RequestParam(name = "operatorType", required = false) String operatorType, |
|
|
|
@RequestParam(name = "laborUnionCard", required = false) String laborUnionCard, |
|
|
|
@RequestParam(name = "laborUnionCard", required = false) String laborUnionCard, |
|
|
@ -209,7 +221,11 @@ public class OutRechargeOrderController { |
|
|
|
|
|
|
|
|
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (companyId != null) { |
|
|
|
|
|
|
|
map.put("companyId", companyId); |
|
|
|
|
|
|
|
} else if (userInfoModel.getSecRole().getRoleType() != 1){ |
|
|
|
map.put("companyId", userInfoModel.getBsCompany().getId()); |
|
|
|
map.put("companyId", userInfoModel.getBsCompany().getId()); |
|
|
|
|
|
|
|
} |
|
|
|
map.put("rechargeStatus", rechargeStatus); |
|
|
|
map.put("rechargeStatus", rechargeStatus); |
|
|
|
map.put("payStatus", payStatus); |
|
|
|
map.put("payStatus", payStatus); |
|
|
|
map.put("orderNo", orderNo); |
|
|
|
map.put("orderNo", orderNo); |
|
|
|