中扬CRM客户关系管理系统
#
LSH
2023-11-28 bf6b2a0e57730d4b241a5b94cf2e8d3954a48c88
src/main/java/com/zy/crm/manager/mapper/PlanMapper.java
@@ -1,12 +1,22 @@
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);
    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);
}