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