feat: 排产计划主表加了一些字段展示
This commit is contained in:
@@ -20,5 +20,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="updateBy" column="update_by"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectPlanTimeAgg" resultType="com.klp.domain.vo.PlanTimeAgg">
|
||||
SELECT
|
||||
plan_id,
|
||||
MIN(start_date) AS startDate,
|
||||
MAX(end_date) AS endDate
|
||||
FROM
|
||||
wms_schedule_plan_detail
|
||||
WHERE
|
||||
plan_id IN
|
||||
<foreach collection="planIds" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
GROUP BY
|
||||
plan_id
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user