|
|
@@ -33,10 +33,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="shareAppId" column="share_app_id" />
|
|
|
<result property="shareAgentId" column="share_agent_id" />
|
|
|
<result property="shareSchema" column="share_schema" />
|
|
|
+ <result property="addressBindIp" column="address_bind_ip" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectQwCompanyVo">
|
|
|
- select id, corp_id, corp_name, open_secret, open_corp_id, server_agent_id, server_book_corp_id, server_book_secret, token, encoding_aes_key, provider_secret, realm_name_url, notify_url, chat_toolbar, chat_toolbar_oauth, company_ids, status, create_time, update_time, create_by,is_buy,mini_app_id,company_server_num,share_app_id,share_agent_id,share_schema from qw_company
|
|
|
+ select id, corp_id, corp_name, open_secret, open_corp_id, server_agent_id, server_book_corp_id,
|
|
|
+ server_book_secret, token, encoding_aes_key, provider_secret, realm_name_url, notify_url,
|
|
|
+ chat_toolbar, chat_toolbar_oauth, company_ids, status, create_time, update_time, create_by,
|
|
|
+ is_buy,mini_app_id,company_server_num,share_app_id,share_agent_id,share_schema,address_bind_ip
|
|
|
+ from qw_company
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectQwCompanyList" parameterType="QwCompany" resultMap="QwCompanyResult">
|
|
|
@@ -108,6 +113,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="shareAppId != null">share_app_id,</if>
|
|
|
<if test="shareAgentId != null">share_agent_id,</if>
|
|
|
<if test="shareSchema != null">share_schema,</if>
|
|
|
+ <if test="addressBindIp != null">address_bind_ip,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="corpId != null">#{corpId},</if>
|
|
|
@@ -137,6 +143,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="shareAppId != null">#{shareAppId},</if>
|
|
|
<if test="shareAgentId != null">#{shareAgentId},</if>
|
|
|
<if test="shareSchema != null">#{shareSchema},</if>
|
|
|
+ <if test="addressBindIp != null">#{addressBindIp},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -168,6 +175,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="shareAppId != null">share_app_id = #{shareAppId},</if>
|
|
|
<if test="shareAgentId != null">share_agent_id = #{shareAgentId},</if>
|
|
|
<if test="shareSchema != null">share_schema = #{shareSchema},</if>
|
|
|
+ <if test="addressBindIp != null">address_bind_ip = #{addressBindIp},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|