| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dy.pipIrrGlobal.pojoOp.OpeWorkOrder; |
| | | import com.dy.pipIrrGlobal.voOp.VoWorkOrder; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author ZhuBaoMin |
| | | * @date 2024-11-06 11:33 |
| | | * @LastEditTime 2024-11-06 11:33 |
| | | * @date 2024-11-07 15:38 |
| | | * @LastEditTime 2024-11-07 15:38 |
| | | * @Description |
| | | */ |
| | | |
| | |
| | | int updateByPrimaryKeySelective(OpeWorkOrder record); |
| | | |
| | | int updateByPrimaryKey(OpeWorkOrder record); |
| | | |
| | | /** |
| | | * 根据主键获取工单视图对象 |
| | | * @param workOrderId |
| | | * @return |
| | | */ |
| | | VoWorkOrder getWorkOrderById(Long workOrderId); |
| | | |
| | | /** |
| | | * 获取指定派单人的指定未删除工单,删除工单前判断使用使用 |
| | | * @param workOrderId |
| | | * @param dispatcherId |
| | | * @return |
| | | */ |
| | | OpeWorkOrder getWorkOrder(@Param("workOrderId")Long workOrderId, @Param("dispatcherId")Long dispatcherId); |
| | | |
| | | /** |
| | | * 逻辑删除一个未删除的工单 |
| | | * @param workOrderId |
| | | * @return |
| | | */ |
| | | Integer deleteWorkOrder(Long workOrderId); |
| | | |
| | | /** |
| | | * 根据指定条件获取工单数量 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | Long getWorkOrdersCount(Map<?, ?> params); |
| | | |
| | | /** |
| | | * 根据指定条件获取工单 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | List<VoWorkOrder> getWorkOrders(Map<?, ?> params); |
| | | |
| | | } |