中扬CRM客户关系管理系统
#
luxiaotao1123
2022-11-08 dc754b528e02f202c95836546cbf07e69e01e74e
src/main/java/com/zy/crm/manager/mapper/CstmrMapper.java
@@ -1,10 +1,13 @@
package com.zy.crm.manager.mapper;
import com.zy.crm.manager.entity.Cstmr;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.zy.crm.manager.entity.Cstmr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Mapper
@Repository
@@ -12,6 +15,10 @@
    Cstmr selectByUuid(@Param("hostId") Long hostId, @Param("uuid") String uuid);
    Cstmr selectCstmrByNewestUuid(Long hostId);
    Cstmr selectCstmrByNewestUuid(@Param("hostId") Long hostId);
    List<Cstmr> listByPage(Page<Cstmr> page, @Param("hostId")Long hostId, @Param("deptId") String deptId, @Param("userId") Long userId ,@Param("condition") String condition);
    int updateDeptIdByUserId(@Param("userId")Long userId, @Param("deptId")Long deptId);
}