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.
34 lines
871 B
Java
34 lines
871 B
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.DeviceRepairEntity;
|
|
import com.glxp.api.req.dev.DeviceRepairQuery;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 针对表【device_repair(设备维修单)】的数据库操作Service
|
|
*/
|
|
public interface DeviceRepairService extends IService<DeviceRepairEntity> {
|
|
|
|
List<DeviceRepairEntity> pageList(DeviceRepairQuery query);
|
|
|
|
/**
|
|
* 创建维修单
|
|
* 同时改变设备状态
|
|
*
|
|
* @param repair
|
|
*/
|
|
void createRepair(DeviceRepairEntity repair);
|
|
|
|
/**
|
|
* 完成维修
|
|
* 同时改变设备状态
|
|
*
|
|
* @param deviceRepairEntity 维修单id
|
|
* @param user 用户信息
|
|
*/
|
|
void finishByUser(DeviceRepairEntity deviceRepairEntity, AuthAdmin user);
|
|
}
|