|
@@ -63,4 +63,16 @@
|
|
|
delete from mgr_organization_project where projectId = #{projectId}
|
|
|
</delete>
|
|
|
|
|
|
+ <update id="cancel" parameterType="com.bosshand.virgo.core.model.MgrOrganizationProject">
|
|
|
+ UPDATE mgr_organization_project
|
|
|
+ <trim prefix="set" suffixOverrides=",">
|
|
|
+ <if test="clientId==0">clientId=#{clientId},</if>
|
|
|
+ <if test="agentId==0">agentId=#{agentId},</if>
|
|
|
+ <if test="merchantId==0">merchantId=#{merchantId},</if>
|
|
|
+ <if test="bindOrganizationId==0">bindOrganizationId=#{bindOrganizationId},</if>
|
|
|
+ <if test="identityId!=0">identityId=#{identityId},</if>
|
|
|
+ </trim>
|
|
|
+ WHERE id=#{id}
|
|
|
+ </update>
|
|
|
+
|
|
|
</mapper>
|