admin
2018-12-22 93c629bfb624e1e88875adb8866e0552b0f36c31
fanli/src/main/java/com/yeshi/fanli/controller/admin/ExtractAdminController.java
@@ -508,6 +508,23 @@
            if (adminUser == null) {
               record.setAdminUser(new AdminUser());
            }
            int warnLevel = 0;
            Extract extract = record.getExtract();
            if (extract != null) {
               Integer extractState = extract.getState();
               if (extractState != null && extractState == 0) {
                  UserInfo userInfo = extract.getUserInfo();
                  if (userInfo != null) {
                     double countTodayMoney = extractService.countTodayMoney(userInfo.getId());
                     if (countTodayMoney >= 100) {
                        warnLevel = 1;
                     }
                  }
               }
            }
            record.setWarnLevel(warnLevel);
         }
         int count = extractAuditRecordService.getMyAuditedTimeSlotCount(key, state, null, days);
@@ -1009,7 +1026,11 @@
            String auctionIds = auctionIdBuf.toString();
            String ids = auctionIds.substring(0, auctionIds.length() - 1);
            goodsBriefList = TaoKeApiUtil.getBatchGoodsInfos(ids);
            try {
               goodsBriefList = TaoKeApiUtil.getBatchGoodsInfos(ids);
            } catch (Exception e) {
               e.printStackTrace();
            }
         }
         List<Map<String, Object>> listResult = new ArrayList<Map<String, Object>>();
@@ -1060,7 +1081,7 @@
      } catch (Exception e) {
         e.printStackTrace();
         out.print(JsonUtil.loadFalseResult(e.getMessage()));
         out.print(JsonUtil.loadJSONP(callback, JsonUtil.loadFalseResult(e.getMessage())));
      }
   }
@@ -1263,7 +1284,7 @@
      } catch (Exception e) {
         e.printStackTrace();
         out.print(JsonUtil.loadFalseResult(e.getMessage()));
         out.print(JsonUtil.loadJSONP(callback, JsonUtil.loadFalseResult(e.getMessage())));
      }
   }