食谱计划页面、逻辑优化

This commit is contained in:
xiezhijun
2021-01-18 19:12:55 +08:00
parent 072b0a1f36
commit 5588aa2e4c
22 changed files with 1122 additions and 80 deletions

View File

@ -70,4 +70,11 @@ public interface SysCustomerMapper
//查询客户基础信息以及体征信息
List<SysCustomer> selectSysCustomerAndSignList(SysCustomer sysCustomer);
/**
* 根据手机号查询客户以及体征
* @param phone
* @return
*/
SysCustomer selectSysCustomerAndSignByPhone(String phone);
}

View File

@ -66,4 +66,11 @@ public interface SysOrderPauseMapper
* @return
*/
int getCountByOrderIdAndPauseDate(SysOrderPause sysOrderPause);
/**
* 根据订单ID删除暂停记录
* @param orderIds
* @return
*/
int deletePauseByOrderId(Long[] orderIds);
}

View File

@ -68,8 +68,15 @@ public interface SysRecipesPlanMapper
/**
* 根据订单ID删除对应食谱计划
* @param orderId
* @param orderIds
* @return
*/
int delRecipesPlanByOrderId(Long orderId);
int delRecipesPlanByOrderId(Long[] orderIds);
/**
* 多条件查询食谱计划列表
* @param sysRecipesPlan
* @return
*/
List<SysRecipesPlan> selectPlanListByCondition(SysRecipesPlan sysRecipesPlan);
}