|
@@ -38,7 +38,10 @@ public class UsoftFxController {
|
|
|
public List<FxPurOrder> getPurcAcceptItems(@RequestParam("enUU") Long enUU,@RequestParam(value = "excludeAcceptItemIds",required = false) String excludeAcceptItemIds,
|
|
public List<FxPurOrder> getPurcAcceptItems(@RequestParam("enUU") Long enUU,@RequestParam(value = "excludeAcceptItemIds",required = false) String excludeAcceptItemIds,
|
|
|
@RequestParam(value = "startDate",required = false) Long startDate,
|
|
@RequestParam(value = "startDate",required = false) Long startDate,
|
|
|
@RequestParam(value = "endDate",required = false) Long endDate) throws UnsupportedEncodingException {
|
|
@RequestParam(value = "endDate",required = false) Long endDate) throws UnsupportedEncodingException {
|
|
|
- String acceptItems = URLDecoder.decode(excludeAcceptItemIds,"UTF-8");
|
|
|
|
|
|
|
+ String acceptItems = null;
|
|
|
|
|
+ if (!StringUtils.isEmpty(excludeAcceptItemIds)) {
|
|
|
|
|
+ acceptItems = URLDecoder.decode(excludeAcceptItemIds,"UTF-8");
|
|
|
|
|
+ }
|
|
|
List<Long> excludeItemsIds = new ArrayList<>();
|
|
List<Long> excludeItemsIds = new ArrayList<>();
|
|
|
if (!StringUtils.isEmpty(acceptItems)) {
|
|
if (!StringUtils.isEmpty(acceptItems)) {
|
|
|
Long[] longs = (Long[]) ConvertUtils.convert(acceptItems.split(","),Long.class);
|
|
Long[] longs = (Long[]) ConvertUtils.convert(acceptItems.split(","),Long.class);
|