| | |
| | | } |
| | | wrapper.in("source", docIds); |
| | | List<String> m = configService.getMatCode(); |
| | | wrapper.andNew(); |
| | | if (!Cools.isEmpty(m)) { |
| | | for (String s : m) { |
| | | wrapper.like("matnr", s, SqlLike.RIGHT); |
| | | for (int i = 0; i < m.size(); i++) { |
| | | if (i == 0) { |
| | | wrapper.andNew().like("matnr", m.get(i), SqlLike.RIGHT); |
| | | } else { |
| | | wrapper.or().like("matnr", m.get(i), SqlLike.RIGHT); |
| | | } |
| | | } |
| | | } |
| | | flag = true; |
| | |
| | | } |
| | | param.remove("orderType"); |
| | | } |
| | | wrapper.andNew(); |
| | | convertLike(param, wrapper); |
| | | if (!Cools.isEmpty(orderByField)) { |
| | | wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType)); |