|
@@ -190,4 +190,15 @@ public class UserAllocationServiceImpl extends ServiceImpl<UserAllocationMapper,
|
|
|
public List<Long> getValidProjectIds(Integer mediaId) {
|
|
|
return userAllocationMapper.getValidProjectIds(mediaId);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public boolean updateProjectStrategyStatus(Long accountId, Integer projectStrategy) {
|
|
|
+ int num = userAllocationMapper.updateProjectStrategyStatus(accountId, projectStrategy);
|
|
|
+ return num>0;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public List<Long> queryAutomaticAccounts(Long projectId) {
|
|
|
+ return userAllocationMapper.queryAutomaticAccounts(projectId);
|
|
|
+ }
|
|
|
}
|