浏览代码

修改通过人员更新人群、应用接口

zhaoxian 4 年之前
父节点
当前提交
d791ce4952

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/controller/UserAllocationController.java

@@ -287,7 +287,7 @@ public class UserAllocationController {
 
 
     @GetMapping(value = "/getAccountIdListByUserId")
-    public Result<List<JSONObject>> getAccountIdListByUserId(Long userId) {
+    public Result<List<JSONObject>> getAccountIdListByUserId(String userId) {
         Result<List<JSONObject>> result = new Result<>();
         try {
             if (Check.isNull(userId)) {

+ 1 - 1
module-common/src/main/java/cn/com/ctop/common/module/mapper/UserAllocationMapper.java

@@ -25,7 +25,7 @@ public interface UserAllocationMapper extends BaseMapper<UserAllocation> {
 
     List<JSONObject> getUserIdListByProjectId(@Param("projectId") Long projectId);
 
-    List<JSONObject> getAccountIdListByUserId(@Param("userId") Long userId);
+    List<JSONObject> getAccountIdListByUserId(@Param("userId") String userId);
 
     List<JSONObject> getAccountIdsByUserId(@Param("userId") String userId);
 

+ 1 - 1
module-common/src/main/java/cn/com/ctop/common/module/service/IUserAllocationService.java

@@ -33,7 +33,7 @@ public interface IUserAllocationService extends IService<UserAllocation> {
 
     List<JSONObject> getUserIdListByProjectId(Long projectId);
 
-    List<JSONObject> getAccountIdListByUserId(Long userId);
+    List<JSONObject> getAccountIdListByUserId(String userId);
 
     List<JSONObject> getAccountIdsByUserId(String userId);
 

+ 1 - 1
module-common/src/main/java/cn/com/ctop/common/module/service/impl/UserAllocationServiceImpl.java

@@ -121,7 +121,7 @@ public class UserAllocationServiceImpl extends ServiceImpl<UserAllocationMapper,
     }
 
     @Override
-    public List<JSONObject> getAccountIdListByUserId(Long userId) {
+    public List<JSONObject> getAccountIdListByUserId(String userId) {
         return userAllocationMapper.getAccountIdListByUserId(userId);
     }
 

+ 2 - 2
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/controller/BatchController.java

@@ -2336,7 +2336,7 @@ public class BatchController {
      * @return
      */
     @GetMapping(value = "/syncUserAppList")
-    public Result<Object> syncUserAppList(Long userId, Integer type) {
+    public Result<Object> syncUserAppList(String userId, Integer type) {
         if (Check.isNull(type) || Check.isNull(userId)) {
             return Result.error("缺失参数");
         }
@@ -2365,7 +2365,7 @@ public class BatchController {
      * @return
      */
     @GetMapping(value = "/syncUserPopulationList")
-    public Result<Object> syncUserPopulationList(Long userId, Integer type) {
+    public Result<Object> syncUserPopulationList(String userId, Integer type) {
         if (Check.isNull(type) || Check.isNull(userId)) {
             return Result.error("缺失参数");
         }