fix:设备台账TAB栏中的“点检”“保养”“维修”相关接口开发。
This commit is contained in:
@@ -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=",">
|
||||
|
||||
Reference in New Issue
Block a user