package com.by4cloud.platformx.device.service;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.by4cloud.platformx.common.core.util.R;
|
import com.by4cloud.platformx.device.dto.DevicePurchasePlanQueryDTO;
|
import com.by4cloud.platformx.device.entity.DevicePurchasePlan;
|
|
public interface DevicePurchasePlanService extends IService<DevicePurchasePlan> {
|
|
boolean saveNew(DevicePurchasePlan devicePurchasePlan);
|
|
IPage pageNew(Page page, DevicePurchasePlanQueryDTO queryDTO);
|
|
boolean approved(Long id);
|
|
DevicePurchasePlan getByIdNew(Long id);
|
|
boolean updateByIdNew(DevicePurchasePlan devicePurchasePlan);
|
|
R removeItemById(Long id);
|
}
|