3254194295 преди 3 години
родител
ревизия
38460ed21e
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      platform-service/src/main/java/com/platform/service/workplace/impl/IndexServiceImpl.java

+ 2 - 2
platform-service/src/main/java/com/platform/service/workplace/impl/IndexServiceImpl.java

@@ -35,7 +35,7 @@ public class IndexServiceImpl implements IndexService {
         R r = R.success();
         switch (roleCode){
             case CommonConstants.WORKPLACE_REPAIR_NORMAL:
-                r.setData(repairApplicationFormService.getWorkplaceRepairData("1", DateUtils.dateToString(now,DateUtils.PATTERN_YMD)));
+                r.setData(repairApplicationFormService.getWorkplaceRepairData(userId, DateUtils.dateToString(now,DateUtils.PATTERN_YMD)));
                 break;
             case CommonConstants.WORKPLACE_REPAIR_MANAGE:
                 r.setData(repairApplicationFormService.getWorkplaceRepairData(null, DateUtils.dateToString(now,DateUtils.PATTERN_YMD)));
@@ -44,7 +44,7 @@ public class IndexServiceImpl implements IndexService {
                 r.setData(inStoreFormService.getStoreWorkBenchVO(null));
                 break;
             case CommonConstants.WORKPLACE_STORE_NORMAL:
-                r.setData(inStoreFormService.getStoreWorkBenchVO("1"));
+                r.setData(inStoreFormService.getStoreWorkBenchVO(userId));
                 break;
         }
         return r;