|
@@ -30,10 +30,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="msgPrivateKey" column="msg_private_key" />
|
|
<result property="msgPrivateKey" column="msg_private_key" />
|
|
|
<result property="miniAppId" column="mini_app_id" />
|
|
<result property="miniAppId" column="mini_app_id" />
|
|
|
<result property="companyServerNum" column="company_server_num" />
|
|
<result property="companyServerNum" column="company_server_num" />
|
|
|
|
|
+ <result property="createDeptId" column="create_dept_id" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectQwCompanyVo">
|
|
<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 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,create_dept_id from qw_company
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<select id="selectQwCompanyList" parameterType="QwCompany" resultMap="QwCompanyResult">
|
|
<select id="selectQwCompanyList" parameterType="QwCompany" resultMap="QwCompanyResult">
|
|
@@ -153,6 +154,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isBuy != null">is_buy = #{isBuy},</if>
|
|
<if test="isBuy != null">is_buy = #{isBuy},</if>
|
|
|
<if test="miniAppId != null">mini_app_id = #{miniAppId},</if>
|
|
<if test="miniAppId != null">mini_app_id = #{miniAppId},</if>
|
|
|
<if test="companyServerNum != null">company_server_num = #{companyServerNum},</if>
|
|
<if test="companyServerNum != null">company_server_num = #{companyServerNum},</if>
|
|
|
|
|
+ <if test="createDeptId != null">create_dept_id = #{createDeptId},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where id = #{id}
|
|
where id = #{id}
|
|
|
</update>
|
|
</update>
|