| | |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.system.domain.ServiceOrder; |
| | | import com.ruoyi.common.annotation.DataSource; |
| | | import com.ruoyi.common.enums.DataSourceType; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * 服务订单Mapper接口 |
| | | */ |
| | | @DataSource(DataSourceType.SQLSERVER) |
| | | public interface ServiceOrderMapper { |
| | | /** |
| | | * 查询服务订单 |
| | |
| | | * 查询服务订单列表 |
| | | * |
| | | * @param serviceOrder 服务订单 |
| | | * @param offset 起始位置 |
| | | * @param pageSize 每页大小 |
| | | * @return 服务订单集合 |
| | | */ |
| | | public List<ServiceOrder> selectServiceOrderList(ServiceOrder serviceOrder); |
| | | public List<ServiceOrder> selectServiceOrderList(@Param("serviceOrder") ServiceOrder serviceOrder, |
| | | @Param("offset") int offset, |
| | | @Param("pageSize") int pageSize); |
| | | |
| | | /** |
| | | * 查询服务订单总数 |
| | | * |
| | | * @param serviceOrder 服务订单信息 |
| | | * @return 服务订单总数 |
| | | */ |
| | | public int selectServiceOrderCount(@Param("serviceOrder") ServiceOrder serviceOrder); |
| | | |
| | | /** |
| | | * 新增服务订单 |