| | |
| | | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.iot.domain.DeviceOrder; |
| | | import org.aspectj.weaver.loadtime.Aj; |
| | | import org.checkerframework.checker.units.qual.A; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author wmz |
| | | * @version v1.0 |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public AjaxResult selectDeviceOrderCountByUndeliveredorders(DeviceOrder deviceOrder) throws Exception; |
| | | public AjaxResult selectDeviceOrderCountByUndeliveredOrders(DeviceOrder deviceOrder) throws Exception; |
| | | |
| | | /** |
| | | * 根据登录的用户来查询自己已派单的安装单/维修单数量 |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public int selectDeviceOrderCountByDispatchedorders(DeviceOrder deviceOrder) throws Exception; |
| | | public int selectDeviceOrderCountByDispatchedOrders(DeviceOrder deviceOrder) throws Exception; |
| | | |
| | | /** |
| | | * 根据登录的用户来查询自己已接单的安装单/维修单数量 |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public int selectDeviceOrderCountByReceivedorders(DeviceOrder deviceOrder) throws Exception; |
| | | public int selectDeviceOrderCountByReceivedOrders(DeviceOrder deviceOrder) throws Exception; |
| | | |
| | | /** |
| | | * 根据登录的用户来查询自己已完成的安装单/维修单数量 |
| | |
| | | public int selectDeviceOrderCountByCompleted(DeviceOrder deviceOrder) throws Exception; |
| | | |
| | | /** |
| | | * 查询设备订单表中已派单/已接单所有的数据 |
| | | * |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public List<DeviceOrder> selectDeviceOrderAll() throws Exception; |
| | | |
| | | /** |
| | | * 根据id查询安装订单信息 |
| | | * |
| | | * @param id |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public DeviceOrder selectDeviceOrderById(int id) throws Exception; |
| | | public DeviceOrder selectDeviceOrderById(Long id) throws Exception; |
| | | |
| | | /** |
| | | * 根据安装工的id查询设备订单信息 |
| | | * |
| | | * @param erectoId |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public List<DeviceOrder> selectDeviceOrderByErectoId(Long erectoId) throws Exception; |
| | | |
| | | /** |
| | | * 添加安装设备订单信息 |
| | |
| | | public AjaxResult updateDeviceOrderScoreAndComment(DeviceOrder deviceOrder) throws Exception; |
| | | |
| | | /** |
| | | * 删除设备订单信息 |
| | | * 删除设备安装单/维修单信息 |
| | | * |
| | | * @param id |
| | | * @param deviceId |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public AjaxResult deleteDeviceOrderById(Integer deviceId) throws Exception; |
| | | public AjaxResult deleteDeviceOrderById(Long id, Long deviceId) throws Exception; |
| | | |
| | | /** |
| | | * 批量删除设备订单安装信息 |