fix:设备台账TAB栏中的“点检”“保养”“维修”相关接口开发。

This commit is contained in:
zhangxuanming
2025-02-06 16:43:40 +08:00
parent cb3f288512
commit fdb428a022
16 changed files with 151 additions and 2 deletions

View File

@@ -52,7 +52,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectDvCheckPlanVo"/>
where plan_code = #{planCode}
</select>
<select id="getByIds" resultType="com.ktg.mes.dv.domain.DvCheckPlan" resultMap="DvCheckPlanResult">
<include refid="selectDvCheckPlanVo"/>
where plan_type = #{planType}
and plan_id in
<foreach collection="planIds" item="item" separator="," open="(" close=")">
#{item}
</foreach>
</select>
<insert id="insertDvCheckPlan" parameterType="DvCheckPlan" useGeneratedKeys="true" keyProperty="planId">
insert into dv_check_plan
<trim prefix="(" suffix=")" suffixOverrides=",">