You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udi-wms-java/src/main/java/com/glxp/api/service/dev/DeviceUpkeepService.java

46 lines
1.2 KiB
Java

package com.glxp.api.service.dev;
import com.baomidou.mybatisplus.extension.service.IService;
import com.glxp.api.entity.auth.AuthAdmin;
import com.glxp.api.entity.dev.DeviceUpkeepEntity;
import com.glxp.api.req.dev.DeviceUpkeepQuery;
import com.glxp.api.vo.dev.DeviceCheckPrintVo;
import com.glxp.api.vo.dev.DeviceCheckVo;
import com.glxp.api.vo.dev.DeviceUpkeepPrintVo;
import com.glxp.api.vo.dev.DeviceUpkeepVo;
import java.util.List;
/**
* @author : zhangsan
* @date : 2024/5/12 15:16
* @modyified By :
*/
/**
* 针对表【device_upkeep(保养任务表)】的数据库操作Service
*/
public interface DeviceUpkeepService extends IService<DeviceUpkeepEntity> {
List<DeviceUpkeepVo> pageList(DeviceUpkeepQuery query);
void genByPlanId(Long planId, boolean b, AuthAdmin user);
DeviceUpkeepPrintVo checkInfoPrint(Long taskId, String deviceCode);
void finishUpkeep(Long taskId, String deviceCode);
/**
* 完成一个保养设备
*
* @param taskId 任务id
* @param deviceCode 设备编码
* @return
*/
// void finishDevice(Long taskId, String deviceCode);
// void finishUpkeep(String deviceCode, String deptCode, Long taskId, AuthAdmin user);
}