查询上一个订单最后一天食谱计划改为成交时间排序

This commit is contained in:
xiezhijun
2021-04-15 18:24:32 +08:00
parent 47ab6b1229
commit 15e9561327
4 changed files with 14 additions and 9 deletions

View File

@ -1,10 +1,13 @@
package com.stdiet.custom.mapper;
import java.util.Date;
import java.util.List;
import com.stdiet.custom.domain.SysRecipesPlan;
import com.stdiet.custom.domain.SysRecipesPlanListInfo;
import org.apache.ibatis.annotations.Param;
import javax.xml.crypto.Data;
/**
* 食谱计划Mapper接口
*
@ -87,7 +90,7 @@ public interface SysRecipesPlanMapper
* @param customerId
* @return
*/
SysRecipesPlan getLastDayRecipesPlan(@Param("customerId")Long customerId, @Param("orderId")Long orderId);
SysRecipesPlan getLastDayRecipesPlan(@Param("customerId")Long customerId, @Param("orderTime") Date orderTime);
/**
* 根据订单ID查询食谱计划