highgo database

This commit is contained in:
2025-09-24 10:49:59 +08:00
parent c85805c336
commit 312a04a42b
17 changed files with 33 additions and 33 deletions

View File

@@ -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}