| | |
| | | String boxNum = keyCollectionInfo.getBoxNum(); |
| | | requestLog.setBoxNum(boxNum); |
| | | |
| | | |
| | | } |
| | | requestLog.setType(0); |
| | | logService.insertRequestLog(requestLog); |
| | |
| | | if (!ajaxResult.get("code").equals(0)){ |
| | | ajaxResult = keyCollectionInfoService.selectSmartLockerApplication(takeReviewDto); |
| | | |
| | | }else { |
| | | if (keyCollectionInfo != null) { |
| | | String boxNum = (String) ajaxResult.get("boxNumber"); |
| | | if (StringUtils.isEmpty(boxNum) || (Integer.parseInt(boxNum) < 1 && Integer.parseInt(boxNum) > 60)) { |
| | | boxNum = keyCollectionInfoService.selectCwBoxNum(keyCollectionInfo.getLicensePlateNumber()); |
| | | ajaxResult.put("boxNumber",boxNum); |
| | | } |
| | | |
| | | } |
| | | } |
| | | return ajaxResult; |
| | | |