| | |
| | | // excludeTrash(param); |
| | | param.put("curr", curr); |
| | | param.put("limit", limit); |
| | | List<LocDetl> groupLocDetl = locDetlService.selectGroupPage(param, curr, limit); |
| | | for (LocDetl locDetl : groupLocDetl) { |
| | | Page<LocDetl> groupLocDetl = locDetlService.getStockStatis2(toPage(1, 10000, param, LocDetl.class)); |
| | | // List<LocDetl> groupLocDetl = locDetlService.selectGroupPage(param, curr, limit); |
| | | for (LocDetl locDetl : groupLocDetl.getRecords()) { |
| | | Mat mat = matService.selectOne(new EntityWrapper<Mat>() |
| | | .eq("matnr", locDetl.getMatnr())); |
| | | locDetl.setStoreMax(mat.getStoreMax()); |
| | |
| | | long time = maxDate.getTime(); |
| | | Date now = new Date(); |
| | | long time1 = now.getTime(); |
| | | locDetl.setNowTime((int)((time1 - time)/(1000*60*60*24))); |
| | | locDetl.setNowTime((int) ((time1 - time) / (1000 * 60 * 60 * 24))); |
| | | } catch (ParseException e) { |
| | | e.printStackTrace(); |
| | | } |