|
@@ -4,7 +4,6 @@ import cn.com.ctop.common.module.entity.UserAllocation;
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
|
-import org.apache.ibatis.annotations.Param;
|
|
|
import org.jeecg.common.api.vo.Result;
|
|
|
|
|
|
import java.util.List;
|
|
@@ -46,11 +45,11 @@ public interface IUserAllocationService extends IService<UserAllocation> {
|
|
|
|
|
|
List<Long> getAccountsByDeleteComment();
|
|
|
|
|
|
- List<UserAllocation> getAccountListByUserIdAndProductId(String userId,Long projectId,Long productId);
|
|
|
+ List<UserAllocation> getAccountListByUserIdAndProductId(String userId, Long projectId, Long productId);
|
|
|
|
|
|
Map<Long, List<JSONObject>> getAccountListByProjectList(List<JSONObject> projectList);
|
|
|
|
|
|
- List<JSONObject> getUserIdListByProductId(Long productId);
|
|
|
+ List<JSONObject> getUserIdListByProductId(Long productId, String userId);
|
|
|
|
|
|
/**
|
|
|
* 获取有效的项目ID集合
|
|
@@ -65,6 +64,7 @@ public interface IUserAllocationService extends IService<UserAllocation> {
|
|
|
List<Long> getKuaiShouUserIdListByProjectId(Long projectId);
|
|
|
|
|
|
List<JSONObject> selectAccountsByKuaishouUserId(Long userId);
|
|
|
+
|
|
|
boolean updateProjectStrategyStatus(Long accountId, Integer projectStrategy);
|
|
|
|
|
|
List<Long> queryAutomaticAccounts(Long projectId);
|
|
@@ -74,5 +74,6 @@ public interface IUserAllocationService extends IService<UserAllocation> {
|
|
|
Map<Long, List<JSONObject>> getAccountListByProjectListV2(List<JSONObject> projectList);
|
|
|
|
|
|
List<JSONObject> getAccountListByProjectAndUserId(Long projectId, String userId);
|
|
|
+
|
|
|
List<Long> getAccountListByProjectId(Long projectId);
|
|
|
}
|