|
|
|
@ -27,7 +27,7 @@ |
|
|
|
from basedata_mont_patdevcoord |
|
|
|
</sql> |
|
|
|
|
|
|
|
<select id="selectBasedataMontPatDevcCoordList" parameterType="BasedataMontPatDevCoord" |
|
|
|
<select id="selectBasedataMontPatDevCoordList" parameterType="BasedataMontPatDevCoord" |
|
|
|
resultMap="BasedataMontPatDevCoordResult"> |
|
|
|
<include refid="selectBasedataMontPatDevCoordVo"/> |
|
|
|
<where> |
|
|
|
@ -48,13 +48,13 @@ |
|
|
|
</where> |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="selectBasedataMontPatDevcCoordByMontPatDevcCoordId" parameterType="Long" |
|
|
|
<select id="selectBasedataMontPatDevCoordByMontPatDevCoordId" parameterType="Long" |
|
|
|
resultMap="BasedataMontPatDevCoordResult"> |
|
|
|
<include refid="selectBasedataMontPatDevCoordVo"/> |
|
|
|
where coord_id = #{coordId} |
|
|
|
</select> |
|
|
|
|
|
|
|
<insert id="insertBasedataMontPatDevcCoord" parameterType="BasedataMontPatDevCoord" useGeneratedKeys="true" |
|
|
|
<insert id="insertBasedataMontPatDevCoord" parameterType="BasedataMontPatDevCoord" useGeneratedKeys="true" |
|
|
|
keyProperty="coordId"> |
|
|
|
insert into basedata_mont_patdevcoord |
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
|
|
|
@ -85,7 +85,7 @@ |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
|
|
|
|
<update id="updateBasedataMontPatDevcCoord" parameterType="BasedataMontPatDevCoord"> |
|
|
|
<update id="updateBasedataMontPatDevCoord" parameterType="BasedataMontPatDevCoord"> |
|
|
|
update basedata_mont_patdevcoord |
|
|
|
<trim prefix="SET" suffixOverrides=","> |
|
|
|
<if test="eqpBookId != null">eqp_book_id = #{eqpBookId},</if> |
|
|
|
@ -103,13 +103,13 @@ |
|
|
|
where coord_id = #{coordId} |
|
|
|
</update> |
|
|
|
|
|
|
|
<delete id="deleteBasedataMontPatDevcCoordByMontPatDevcCoordId" parameterType="Long"> |
|
|
|
<delete id="deleteBasedataMontPatDevCoordByMontPatDevCoordId" parameterType="Long"> |
|
|
|
delete |
|
|
|
from basedata_mont_patdevcoord |
|
|
|
where coord_id = #{coordId} |
|
|
|
</delete> |
|
|
|
|
|
|
|
<delete id="deleteBasedataMontPatDevcCoordByMontPatDevcCoordIds" parameterType="String"> |
|
|
|
<delete id="deleteBasedataMontPatDevCoordByMontPatDevCoordIds" parameterType="String"> |
|
|
|
delete from basedata_mont_patdevcoord where coord_id in |
|
|
|
<foreach item="coordId" collection="array" open="(" separator="," close=")"> |
|
|
|
#{coordId} |
|
|
|
|