分包
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
package com.ruoyi.zbf.mapper;
|
||||
|
||||
import com.ruoyi.zbf.domain.ZbfMessage;
|
||||
import com.ruoyi.common.core.mybatisplus.core.BaseMapperPlus;
|
||||
import com.ruoyi.common.core.mybatisplus.cache.MybatisPlusRedisCache;
|
||||
import org.apache.ibatis.annotations.CacheNamespace;
|
||||
|
||||
/**
|
||||
* 消息Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-03-31
|
||||
*/
|
||||
// 如使需切换数据源 请勿使用缓存 会造成数据不一致现象
|
||||
@CacheNamespace(implementation = MybatisPlusRedisCache.class, eviction = MybatisPlusRedisCache.class)
|
||||
public interface ZbfMessageMapper extends BaseMapperPlus<ZbfMessage> {
|
||||
|
||||
}
|
@ -31,4 +31,18 @@ public interface ZbfProjectMapper extends BaseMapperPlus<ZbfProject> {
|
||||
|
||||
// 查询分包商已竣工的项目列表
|
||||
Page<FbsProjectListVO> completeList(@Param("page") Page<FbsProjectListDTO> page, @Param("dto") FbsProjectListDTO dto);
|
||||
|
||||
// 查询分包商项目切换列表
|
||||
Page<FbsProjectListVO> switchList(@Param("page") Page<FbsProjectListDTO> page, @Param("dto") FbsProjectListDTO dto);
|
||||
|
||||
// 申请中的项目列表统计
|
||||
Integer applyCount(@Param("fbsUserId") Long fbsUserId);
|
||||
|
||||
// 已加入的项目列表统计
|
||||
Integer joinCount(@Param("fbsUserId") Long fbsUserId);
|
||||
|
||||
// 已竣工的项目列表统计
|
||||
Integer completeCount(@Param("fbsUserId") Long fbsUserId);
|
||||
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,18 @@
|
||||
package com.ruoyi.zbf.mapper;
|
||||
|
||||
import com.ruoyi.common.core.domain.entity.ZbfUser;
|
||||
import com.ruoyi.common.core.mybatisplus.core.BaseMapperPlus;
|
||||
import com.ruoyi.common.core.mybatisplus.cache.MybatisPlusRedisCache;
|
||||
import org.apache.ibatis.annotations.CacheNamespace;
|
||||
|
||||
/**
|
||||
* APP总包方用户Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-03-31
|
||||
*/
|
||||
// 如使需切换数据源 请勿使用缓存 会造成数据不一致现象
|
||||
@CacheNamespace(implementation = MybatisPlusRedisCache.class, eviction = MybatisPlusRedisCache.class)
|
||||
public interface ZbfUserMapper extends BaseMapperPlus<ZbfUser> {
|
||||
|
||||
}
|
Reference in New Issue
Block a user