From 0671b22545b660cae46568ba7f6a14f52cad8ad8 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期一, 02 九月 2024 16:35:17 +0800 Subject: [PATCH] 查询在库时长 --- src/main/java/com/zy/asrs/mapper/OrderMapper.java | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/OrderMapper.java b/src/main/java/com/zy/asrs/mapper/OrderMapper.java index 1f4bdcf..bfc089f 100644 --- a/src/main/java/com/zy/asrs/mapper/OrderMapper.java +++ b/src/main/java/com/zy/asrs/mapper/OrderMapper.java @@ -1,9 +1,9 @@ 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 org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @@ -12,4 +12,13 @@ @Repository public interface OrderMapper extends BaseMapper<Order> { + int updateSettle(@Param("orderId")Long orderId, @Param("settle")Long settle, @Param("userId")Long userId); + + List<Order> selectComplete(); + + int addToLogTable(Order order); + + List<Order> selectorderNoL(@Param("orderNo")String orderNo); + + void updateSettleByOrderNo(@Param("orderNo") String orderNo, @Param("status") long status, @Param("userId") Long userId); } -- Gitblit v1.9.1