This commit is contained in:
zt
2025-04-02 11:09:53 +08:00
parent ed14f2399d
commit 223cae5edc
83 changed files with 2994 additions and 419 deletions

View File

@ -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> {
}

View File

@ -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);
}

View File

@ -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> {
}