| | |
| | | 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); |
| | | |
| | | void increasePlanUrl(@Param("planId") int planId, @Param("url") String url, @Param("name") String name, @Param("size") Long size); |
| | | |
| | | String selectPlanUrlPlanIdUrl(@Param("id") int id); |
| | | String selectPlanUrlPlanIdName(@Param("id") int id); |
| | | Long selectPlanUrlPlanIdSize(@Param("id") int id); |
| | | List<Integer> selectPlanUrlId(@Param("planId") int planId); |
| | | |
| | | 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("condition") String condition); |
| | | |
| | | } |