|
@@ -12,6 +12,7 @@
|
|
|
<result column="clientId" property="clientId"/>
|
|
|
<result column="agentId" property="agentId"/>
|
|
|
<result column="merchantId" property="merchantId"/>
|
|
|
+ <result column="bindOrganizationId" property="bindOrganizationId"/>
|
|
|
<result column="identityId" property="identityId"/>
|
|
|
</resultMap>
|
|
|
|
|
@@ -36,13 +37,14 @@
|
|
|
<if test="clientId!=0">and clientId=#{clientId}</if>
|
|
|
<if test="agentId!=0">and agentId=#{agentId}</if>
|
|
|
<if test="merchantId!=0">and merchantId=#{merchantId}</if>
|
|
|
+ <if test="bindOrganizationId!=0">and bindOrganizationId=#{bindOrganizationId}</if>
|
|
|
<if test="identityId!=0">and identityId=#{identityId}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
|
<insert id="insert">
|
|
|
- insert into mgr_organization_project (organizationId, projectId, userId, clientId, agentId, merchantId, identityId)
|
|
|
- value (#{organizationId}, #{projectId}, #{userId}, #{clientId}, #{agentId}, #{merchantId}, #{identityId})
|
|
|
+ insert into mgr_organization_project (organizationId, projectId, userId, clientId, agentId, merchantId, bindOrganizationId, identityId)
|
|
|
+ value (#{organizationId}, #{projectId}, #{userId}, #{clientId}, #{agentId}, #{merchantId}, #{bindOrganizationId}, #{identityId})
|
|
|
</insert>
|
|
|
|
|
|
<delete id="delete">
|