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