main
parent
ecb36e4799
commit
0dfb76107c
|
|
@ -94,7 +94,7 @@ public class ItemController {
|
||||||
String itemCodes = param.getStr("itemCodeList");
|
String itemCodes = param.getStr("itemCodeList");
|
||||||
if (StrUtil.isNotBlank(itemCodes) && !itemCodes.isEmpty()) {
|
if (StrUtil.isNotBlank(itemCodes) && !itemCodes.isEmpty()) {
|
||||||
String[] codes = itemCodes.trim().split("\n");
|
String[] codes = itemCodes.trim().split("\n");
|
||||||
if (codes.length > 1) {
|
if (codes.length > 0) {
|
||||||
String inClause = Arrays.stream(codes)
|
String inClause = Arrays.stream(codes)
|
||||||
.map(String::trim)
|
.map(String::trim)
|
||||||
.filter(code -> !code.isEmpty())
|
.filter(code -> !code.isEmpty())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue