This commit is contained in:
mashuai 2024-11-26 13:45:04 +08:00
parent 743cc1f17b
commit 8099c6ada3
1 changed files with 4 additions and 2 deletions

View File

@ -227,7 +227,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
mt1.type_id as firstId, mt1.type_id as firstId,
mt1.type_name as firstName, mt1.type_name as firstName,
GROUP_CONCAT(CONCAT(mt1.type_name, '/', mt2.type_name, '/', mt3.type_name)) AS groupName, GROUP_CONCAT(CONCAT(mt1.type_name, '/', mt2.type_name, '/', mt3.type_name)) AS groupName,
h.search_num as searchNum h.search_num as searchNum,
d.create_time as createTime,
d.update_time as updateTime
FROM FROM
ma_dev_info d ma_dev_info d
LEFT JOIN bm_company_info c ON d.own_co = c.company_id LEFT JOIN bm_company_info c ON d.own_co = c.company_id
@ -623,7 +625,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
<select id="selectCompany" resultType="java.lang.Integer"> <select id="selectCompany" resultType="java.lang.Integer">
select COUNT(1) from ma_dev_info where ma_status = '2' and company_id = #{companyId} select COUNT(1) from ma_dev_info where ma_status = '2' and own_co = #{companyId}
</select> </select>
<select id="getCompanyUpNum" resultType="java.lang.Integer"> <select id="getCompanyUpNum" resultType="java.lang.Integer">