中扬CRM客户关系管理系统
LSH
2023-08-22 564bf7ab6a639c2c4557d35b8fd9b51dca60a738
src/main/java/com/zy/crm/manager/service/CstmrService.java
@@ -4,12 +4,21 @@
import com.baomidou.mybatisplus.service.IService;
import com.zy.crm.manager.entity.Cstmr;
import java.util.List;
public interface CstmrService extends IService<Cstmr> {
    Cstmr selectByUuid(Long hostId, String uuid);
    String getNextUuid(Long hostId);
    String getUuid(Long hostId);
    Page<Cstmr> getPage(Page page, Long hostId, String deptId, Object condition);
    Page<Cstmr> getPage2(Page<Cstmr> page, Long hostId, Long deptId, Long userId,Long roleId, String conditionName, String condition);
    Page<Cstmr> getPage1(Page<Cstmr> page, Long hostId, String deptId, Long userId, String conditionName, String condition);
    Page<Cstmr> getPage3(Page<Cstmr> page, Long hostId, String deptId, Long userId, List<Integer> cstmrIds, String conditionName, String condition);
    Page<Cstmr> getPage(Page<Cstmr> page, Long hostId, String deptId, Long userId,  String condition);
    int updateDeptIdByUserId(Long userId, Long deptId);
    Cstmr selectByName(Long hostId, String name);
}