食谱计划生成修改,根据客户ID重新生成,暂停记录不需要加订单ID

This commit is contained in:
xiezhijun
2021-04-01 18:45:41 +08:00
parent e8b0ae2cd7
commit 5d95de3a2a
15 changed files with 231 additions and 114 deletions

View File

@ -100,4 +100,10 @@ public interface SysOrderMapper
* @return
*/
int selectSimpleOrderMessageCount(SysCommision sysCommision);
/**
* 根据客户ID查询对应所有订单
* @return
*/
List<SysOrder> getAllOrderByCusId(@Param("cusId") Long cusId);
}

View File

@ -82,4 +82,11 @@ public interface SysOrderPauseMapper
* @return
*/
List<SysOrderPause> getPauseListByOrderId(@Param("orderId")Long orderId);
/**
* 根据客户ID、订单ID查询暂停记录
* @param sysOrderPause
* @return
*/
List<SysOrderPause> getPauseListByCusIdAndOrderId(SysOrderPause sysOrderPause);
}

View File

@ -87,7 +87,7 @@ public interface SysRecipesPlanMapper
* @param customerId
* @return
*/
SysRecipesPlan getLastDayRecipesPlan(@Param("customerId")Long customerId);
SysRecipesPlan getLastDayRecipesPlan(@Param("customerId")Long customerId, @Param("orderId")Long orderId);
/**
* 根据订单ID查询食谱计划