| | |
| | | for (Integer row0 : CommonService.SIXTH_GROUP_ROW_LIST) { |
| | | result.add(zerofill(String.valueOf(row0), 2) + locNo.substring(2)); |
| | | } |
| | | Collections.reverse(result); |
| | | return result; |
| | | } |
| | | if (CommonService.SEVENTH_GROUP_ROW_LIST.contains(row) && bay < 59) { |
| | |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | System.out.println(JSON.toJSONString(getGroupLoc("0703409"))); |
| | | System.out.println(JSON.toJSONString(getGroupLoc("1305908"))); |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | public static void wapperSetCondition(Wrapper wrapper, String column, String condition){ |
| | | if(Cools.isEmpty(condition)){ |
| | | if(Cools.isEmpty(condition) || "null".equals(condition)){ |
| | | wrapper.andNew().eq(column,"").or().isNull(column); |
| | | }else { |
| | | wrapper.eq(column,condition); |
| | |
| | | wapperSetCondition(wrapper,"isoseq",isoseq); |
| | | } |
| | | |
| | | public static void confirmOnlyMat(Wrapper wrapper, String matnr, String batch, String threeCode, String deadTime){ |
| | | wapperSetCondition(wrapper,"matnr",matnr); |
| | | wapperSetCondition(wrapper,"three_code",threeCode); |
| | | wapperSetCondition(wrapper,"dead_time",deadTime); |
| | | wapperSetCondition(wrapper,"batch",batch); |
| | | } |
| | | |
| | | } |