|
@@ -36,8 +36,9 @@ public class KuaishouReportDailyAccountServiceImpl extends ServiceImpl<KuaishouR
|
|
|
List<ProjectAccountDTO> projectAccountDTOList = new ArrayList<>();
|
|
|
|
|
|
if(projectList==null || projectList.size()==0){
|
|
|
- //LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
- String userId = "a6abfea0f27843bf8595a234410afb04";
|
|
|
+ LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
+ //String userId = "a6abfea0f27843bf8595a234410afb04";
|
|
|
+ String userId = sysUser.getId();
|
|
|
String roleCode = dailyAccountMapper.getRoleCodeByUserId(userId);
|
|
|
|
|
|
List<Long> mediaIds = new ArrayList<>();
|
|
@@ -95,8 +96,9 @@ public class KuaishouReportDailyAccountServiceImpl extends ServiceImpl<KuaishouR
|
|
|
List<ProjectAccountDTO> projectAccountDTOList = new ArrayList<>();
|
|
|
|
|
|
if(projectList==null || projectList.size()==0){
|
|
|
- //LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
- String userId = "e9ca23d68d884d4ebb19d07889727dae";
|
|
|
+ LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
+ //String userId = "e9ca23d68d884d4ebb19d07889727dae";
|
|
|
+ String userId = sysUser.getId();
|
|
|
String roleCode = dailyAccountMapper.getRoleCodeByUserId(userId);
|
|
|
|
|
|
List<Long> mediaIds = new ArrayList<>();
|