package com.ruoyi.worker.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.ruoyi.worker.entity.MasterWorker;
|
import com.ruoyi.worker.vo.OrderCountVO;
|
import org.apache.ibatis.annotations.Mapper;
|
|
/**
|
* <p>
|
* 师傅信息表 Mapper 接口
|
* </p>
|
*
|
* @author hjl
|
* @since 2024-06-03
|
*/
|
@Mapper
|
public interface MasterWorkerMapper extends BaseMapper<MasterWorker> {
|
|
/**
|
* 根据用户id统计总订单数、待上门订单数、已完结订单数
|
*
|
* @param id 用户id
|
* @return 数量统计
|
*/
|
OrderCountVO orderCount(Integer id);
|
}
|