guoyuji
2024-02-03 ab0ac24c86067aaec92a2839280d73c08e458170
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.example.erp.mapper.sd;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.erp.entity.sd.Order;
import com.example.erp.entity.sd.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.time.LocalDate;
import java.util.List;
import java.util.Map;
 
@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    Integer selectMaxOrderId();
 
    boolean updateOrderParameter(@Param("orderId") String orderId);
 
    List<Order> getOrderList(Integer offset, Integer pageSize, String startDate, String endDate, Order order, Integer orderType);
    Integer getPageTotal(Integer offset, Integer pageSize, String startDate, String endDate, Order order , Integer orderType);
}