|
|
@@ -145,6 +145,7 @@
|
|
|
<select id="selectBaseByAccountId" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
select ac_company.id,ac_company.name,ac_company.logo_url,ac_company.dc_name from ac_account_company,ac_company
|
|
|
where ac_account_company.company_id=ac_company.id and ac_account_company.account_id=#{accountId,jdbcType=BIGINT}
|
|
|
+ and ac_account_company.status = 1
|
|
|
</select>
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
|
|
delete from ac_company where id=#{id,jdbcType=BIGINT}
|