|
@@ -15,7 +15,7 @@ import java.util.Objects;
|
|
|
|
|
|
/**
|
|
|
* 微信用户和销售关系Service业务层处理
|
|
|
- *
|
|
|
+ *
|
|
|
* @author fs
|
|
|
* @date 2025-05-09
|
|
|
*/
|
|
@@ -24,7 +24,7 @@ public class FsUserCompanyUserServiceImpl extends ServiceImpl<FsUserCompanyUserM
|
|
|
|
|
|
/**
|
|
|
* 查询微信用户和销售关系
|
|
|
- *
|
|
|
+ *
|
|
|
* @param id 微信用户和销售关系主键
|
|
|
* @return 微信用户和销售关系
|
|
|
*/
|
|
@@ -36,7 +36,7 @@ public class FsUserCompanyUserServiceImpl extends ServiceImpl<FsUserCompanyUserM
|
|
|
|
|
|
/**
|
|
|
* 查询微信用户和销售关系列表
|
|
|
- *
|
|
|
+ *
|
|
|
* @param fsUserCompanyUser 微信用户和销售关系
|
|
|
* @return 微信用户和销售关系
|
|
|
*/
|
|
@@ -48,7 +48,7 @@ public class FsUserCompanyUserServiceImpl extends ServiceImpl<FsUserCompanyUserM
|
|
|
|
|
|
/**
|
|
|
* 新增微信用户和销售关系
|
|
|
- *
|
|
|
+ *
|
|
|
* @param fsUserCompanyUser 微信用户和销售关系
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -60,7 +60,7 @@ public class FsUserCompanyUserServiceImpl extends ServiceImpl<FsUserCompanyUserM
|
|
|
|
|
|
/**
|
|
|
* 修改微信用户和销售关系
|
|
|
- *
|
|
|
+ *
|
|
|
* @param fsUserCompanyUser 微信用户和销售关系
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -72,7 +72,7 @@ public class FsUserCompanyUserServiceImpl extends ServiceImpl<FsUserCompanyUserM
|
|
|
|
|
|
/**
|
|
|
* 批量删除微信用户和销售关系
|
|
|
- *
|
|
|
+ *
|
|
|
* @param ids 需要删除的微信用户和销售关系主键
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -84,7 +84,7 @@ public class FsUserCompanyUserServiceImpl extends ServiceImpl<FsUserCompanyUserM
|
|
|
|
|
|
/**
|
|
|
* 删除微信用户和销售关系信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param id 微信用户和销售关系主键
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -200,4 +200,20 @@ public class FsUserCompanyUserServiceImpl extends ServiceImpl<FsUserCompanyUserM
|
|
|
}
|
|
|
return baseMapper.changeUserProjectStatus(ids, status) > 0;
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改会员-项目关系 状态
|
|
|
+ * @param ids 参数
|
|
|
+ * @param status 状态 0小黑屋 1正常 2拉黑
|
|
|
+ * @return Boolean
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public Boolean batchUpdateStatus(List<Long> ids, int status) {
|
|
|
+ if (Objects.isNull(ids) || ids.isEmpty()) {
|
|
|
+ throw new CustomException("请先选择会员");
|
|
|
+ }
|
|
|
+ return baseMapper.batchUpdateStatus(ids, status) > 0;
|
|
|
+ }
|
|
|
}
|