From 4e3a145c822e37f3fa1af0f6ed7f78148fa9003f Mon Sep 17 00:00:00 2001 From: LSH Date: 星期一, 04 十二月 2023 09:53:41 +0800 Subject: [PATCH] # --- src/main/java/com/zy/crm/manager/mapper/PlanMapper.java | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/crm/manager/mapper/PlanMapper.java b/src/main/java/com/zy/crm/manager/mapper/PlanMapper.java index bbd587a..f897021 100644 --- a/src/main/java/com/zy/crm/manager/mapper/PlanMapper.java +++ b/src/main/java/com/zy/crm/manager/mapper/PlanMapper.java @@ -1,12 +1,23 @@ package com.zy.crm.manager.mapper; -import com.zy.crm.manager.entity.Plan; import com.baomidou.mybatisplus.mapper.BaseMapper; +import com.baomidou.mybatisplus.plugins.Page; +import com.zy.crm.manager.entity.Plan; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; + +import java.util.List; @Mapper @Repository public interface PlanMapper extends BaseMapper<Plan> { + Plan selectByUuid(@Param("hostId") Long hostId, @Param("uuid") String uuid); + Integer selectPendingTaskCount(@Param("director") Long director); + + Plan selectPlanByNewestUuid(@Param("hostId") Long hostId); + + List<Plan> listByPage(Page<Plan> page, @Param("hostId")Long hostId, @Param("deptId") String deptId, @Param("userId") Long userId ,@Param("director")Long director, @Param("condition") String condition); + } -- Gitblit v1.9.1