修复暂停计划
This commit is contained in:
		| @@ -73,4 +73,6 @@ public interface SysOrderPauseMapper | ||||
|      * @return | ||||
|      */ | ||||
|     int deletePauseByOrderId(Long[] orderIds); | ||||
|  | ||||
|     long selectNearMainOrderIdByCusId(Long cusId); | ||||
| } | ||||
| @@ -72,4 +72,6 @@ public interface ISysOrderPauseService | ||||
|      * @return | ||||
|      */ | ||||
|     int deletePauseByOrderId(Long[] orderIds); | ||||
|  | ||||
|     long selectNearMainOrderIdByCusId(Long cusId); | ||||
| } | ||||
| @@ -139,4 +139,9 @@ public class SysOrderPauseServiceImpl implements ISysOrderPauseService | ||||
|     public int deletePauseByOrderId(Long[] orderIds){ | ||||
|         return sysOrderPauseMapper.deletePauseByOrderId(orderIds); | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public long selectNearMainOrderIdByCusId(Long cusId) { | ||||
|         return sysOrderPauseMapper.selectNearMainOrderIdByCusId(cusId); | ||||
|     } | ||||
| } | ||||
| @@ -217,7 +217,7 @@ | ||||
|     <!--  根据cusId查询食谱计划--> | ||||
|     <select id="selectPlanListByCusId" parameterType="Long" resultMap="SysRecipesPlanResult"> | ||||
|         select id, out_id, start_date, end_date, start_num_day, end_num_day, recipes_id, review_status from sys_recipes_plan | ||||
|         where cus_id=#{cusId} order by id desc | ||||
|         where cus_id=#{cusId} order by id asc | ||||
|     </select> | ||||
|  | ||||
|     <select id="getCusIdByOutId" parameterType="String" resultType="Long"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user