协议完善
This commit is contained in:
parent
2383216967
commit
e3946399d4
|
@ -65,7 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
|
||||||
<select id="selectAgreementById" parameterType="Long" resultMap="AgreementResult">
|
<select id="selectAgreementById" parameterType="Long" resultMap="AgreementResult">
|
||||||
<include refid="selectAgreementVo"/>
|
<include refid="selectAgreementVo"/>
|
||||||
where id = #{id}
|
where bag.id = #{id}
|
||||||
</select>
|
</select>
|
||||||
<select id="selectDistinct" resultType="com.ruoyi.bst.agreement.domain.AgreementVO">
|
<select id="selectDistinct" resultType="com.ruoyi.bst.agreement.domain.AgreementVO">
|
||||||
<include refid="selectAgreementVo"/>
|
<include refid="selectAgreementVo"/>
|
||||||
|
@ -237,11 +237,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="updateAgreement" parameterType="Agreement">
|
<update id="updateAgreement" parameterType="Agreement">
|
||||||
update bst_agreement
|
update bst_agreement bag
|
||||||
<trim prefix="SET" suffixOverrides=",">
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
<include refid="updateColumns"/>
|
<include refid="updateColumns"/>
|
||||||
</trim>
|
</trim>
|
||||||
where id = #{data.id}
|
where bag.id = #{data.id}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<sql id="updateColumns">
|
<sql id="updateColumns">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user