Kaynağa Gözat

仓库报表

3254194295 3 yıl önce
ebeveyn
işleme
38460ed21e

+ 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;