食谱计划页面、逻辑优化
This commit is contained in:
		@@ -70,4 +70,11 @@ public interface SysCustomerMapper
 | 
			
		||||
 | 
			
		||||
    //查询客户基础信息以及体征信息
 | 
			
		||||
    List<SysCustomer> selectSysCustomerAndSignList(SysCustomer sysCustomer);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 根据手机号查询客户以及体征
 | 
			
		||||
     * @param phone
 | 
			
		||||
     * @return
 | 
			
		||||
     */
 | 
			
		||||
    SysCustomer selectSysCustomerAndSignByPhone(String phone);
 | 
			
		||||
}
 | 
			
		||||
@@ -66,4 +66,11 @@ public interface SysOrderPauseMapper
 | 
			
		||||
     * @return
 | 
			
		||||
     */
 | 
			
		||||
    int getCountByOrderIdAndPauseDate(SysOrderPause sysOrderPause);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 根据订单ID删除暂停记录
 | 
			
		||||
     * @param orderIds
 | 
			
		||||
     * @return
 | 
			
		||||
     */
 | 
			
		||||
    int deletePauseByOrderId(Long[] orderIds);
 | 
			
		||||
}
 | 
			
		||||
@@ -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);
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user