| | |
| | | * @description 设备安装业务层处理 |
| | | * @createTime 2023/11/13 0:25 |
| | | */ |
| | | |
| | | @Service |
| | | public class DeviceOrderServiceImpl implements IDeviceOrderService { |
| | | |
| | |
| | | return deviceOrderMapper.selectDeviceOrderList(deviceOrder); |
| | | } |
| | | |
| | | /** |
| | | * 根据登录的用户来查询自己未派单的安装单/维修单数量 |
| | | * |
| | | * @param deviceOrder |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | @Override |
| | | public int selectDeviceOrderCountByUndeliveredorders(DeviceOrder deviceOrder) throws Exception { |
| | | return deviceOrderMapper.selectDeviceOrderCountByUndeliveredorders(deviceOrder); |
| | | } |
| | | |
| | | /** |
| | | * 根据登录的用户来查询自己已派单的安装单/维修单数量 |
| | | * |
| | | * @param deviceOrder |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | @Override |
| | | public int selectDeviceOrderCountByDispatchedorders(DeviceOrder deviceOrder) throws Exception { |
| | | return deviceOrderMapper.selectDeviceOrderCountByDispatchedorders(deviceOrder); |
| | | } |
| | | |
| | | /** |
| | | * 根据登录的用户来查询自己已接单的安装单/维修单数量 |
| | | * |
| | | * @param deviceOrder |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | @Override |
| | | public int selectDeviceOrderCountByReceivedorders(DeviceOrder deviceOrder) throws Exception { |
| | | return deviceOrderMapper.selectDeviceOrderCountByReceivedorders(deviceOrder); |
| | | } |
| | | |
| | | /** |
| | | * 根据登录的用户来查询自己已完成的安装单/维修单数量 |
| | | * |
| | | * @param deviceOrder |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | @Override |
| | | public int selectDeviceOrderCountByCompleted(DeviceOrder deviceOrder) throws Exception { |
| | | return deviceOrderMapper.selectDeviceOrderCountByCompleted(deviceOrder); |
| | | } |
| | | |
| | | /** |
| | | * 根据id查询安装订单信息 |
| | | * |
| | | * @param id |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | @Override |
| | | public DeviceOrder selectDeviceOrderById(int id) throws Exception { |
| | | return deviceOrderMapper.selectDeviceOrderById(id); |