| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.Map; |
| | | |
| | | @Mapper |
| | | public interface ProductWorkOrderMapper extends BaseMapper<ProductWorkOrder> { |
| | | |
| | | IPage<ProductWorkOrderDto> pageProductWorkOrder(Page<ProductWorkOrderDto> page, @Param("c") ProductWorkOrderDto productWorkOrder); |
| | | |
| | | int updatePlanQuantity(Map<String, Object> params); |
| | | |
| | | /** |
| | | * 回滚工单计划数量:从production_product_output取quantity加回plan_quantity |
| | | * @param productMainId |
| | | * @return |
| | | */ |
| | | int rollbackPlanQuantity(@Param("productMainId") Long productMainId); |
| | | } |