highgo database
This commit is contained in:
@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
<select id="selectCompanyCollectionList" parameterType="CompanyCollection" resultMap="CompanyCollectionResult">
|
||||
<include refid="selectCompanyCollectionVo"/>
|
||||
<where> del_flag = 0
|
||||
<where> del_flag = '0'
|
||||
<if test="companyId != null "> and company_id = #{companyId}</if>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
</where>
|
||||
@@ -30,7 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="collectionJob" resultType="com.ruoyi.cms.domain.Company">
|
||||
select *
|
||||
from company
|
||||
where del_flag = 0
|
||||
where del_flag = '0'
|
||||
and company_id in (SELECT DISTINCT (company_id)
|
||||
FROM qd.company_collection
|
||||
where del_flag = 0 and user_id = #{userId}
|
||||
|
||||
Reference in New Issue
Block a user