修复暂停计划
This commit is contained in:
parent
0f47bb8bc9
commit
14f7113765
@ -73,4 +73,6 @@ public interface SysOrderPauseMapper
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
int deletePauseByOrderId(Long[] orderIds);
|
int deletePauseByOrderId(Long[] orderIds);
|
||||||
|
|
||||||
|
long selectNearMainOrderIdByCusId(Long cusId);
|
||||||
}
|
}
|
@ -72,4 +72,6 @@ public interface ISysOrderPauseService
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
int deletePauseByOrderId(Long[] orderIds);
|
int deletePauseByOrderId(Long[] orderIds);
|
||||||
|
|
||||||
|
long selectNearMainOrderIdByCusId(Long cusId);
|
||||||
}
|
}
|
@ -139,4 +139,9 @@ public class SysOrderPauseServiceImpl implements ISysOrderPauseService
|
|||||||
public int deletePauseByOrderId(Long[] orderIds){
|
public int deletePauseByOrderId(Long[] orderIds){
|
||||||
return sysOrderPauseMapper.deletePauseByOrderId(orderIds);
|
return sysOrderPauseMapper.deletePauseByOrderId(orderIds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public long selectNearMainOrderIdByCusId(Long cusId) {
|
||||||
|
return sysOrderPauseMapper.selectNearMainOrderIdByCusId(cusId);
|
||||||
|
}
|
||||||
}
|
}
|
@ -217,7 +217,7 @@
|
|||||||
<!-- 根据cusId查询食谱计划-->
|
<!-- 根据cusId查询食谱计划-->
|
||||||
<select id="selectPlanListByCusId" parameterType="Long" resultMap="SysRecipesPlanResult">
|
<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
|
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>
|
||||||
|
|
||||||
<select id="getCusIdByOutId" parameterType="String" resultType="Long">
|
<select id="getCusIdByOutId" parameterType="String" resultType="Long">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user