|  |  |  | 
|---|
|  |  |  | package com.zy.asrs.mapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.zy.asrs.entity.Order; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.mapper.BaseMapper; | 
|---|
|  |  |  | import com.zy.asrs.entity.OrderDetl; | 
|---|
|  |  |  | import com.zy.asrs.entity.Order; | 
|---|
|  |  |  | import com.zy.asrs.entity.OrderListDTO; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  | import org.springframework.stereotype.Repository; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Map; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Mapper | 
|---|
|  |  |  | @Repository | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int updateSettle(@Param("orderId")Long orderId, @Param("settle")Long settle, @Param("userId")Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Order> selectComplete(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int addToLogTable(Order order); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Integer checkDetlWorkQtyLess0(@Param("orderNo") String orderNo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void updateSettleTo1(@Param("orderNo")String orderNo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Order> selectInOrOutOrders(@Param("flag") Integer flag); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Order> selectToBeHistoryOrder(@Param("settle")int settle); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<OrderListDTO> selectAllorderNo(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Order> getOrderAll(Map<String, Object> condition); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | long getOrderAllCount(Map<String, Object> condition); | 
|---|
|  |  |  | } | 
|---|