食谱计划生成优化

This commit is contained in:
xiezhijun
2021-03-03 16:07:52 +08:00
parent 29d5818874
commit 97deafb62d
7 changed files with 127 additions and 43 deletions

View File

@@ -120,4 +120,10 @@
</foreach>
</update>
<!-- 根据订单ID获取暂停记录根据暂停开始时间排序用于生成食谱计划不能随意修改排序方式 -->
<select id="getPauseListByOrderId" parameterType="Long" resultMap="SysOrderPauseResult">
<include refid="selectSysOrderPauseVo"></include>
where sop.del_flag = 0 and sop.order_id = #{orderId} order by sop.pause_start_date asc
</select>
</mapper>