WechatGroup

This commit is contained in:
Lishundong
2025-10-09 21:49:17 +08:00
parent cb133254b6
commit 131d6dd84f
2 changed files with 18 additions and 10 deletions

View File

@@ -196,15 +196,23 @@
</select>
<select id="selectRowCompany" resultType="com.ruoyi.cms.domain.Company">
SELECT *
FROM (select AAB004 AS name,ANY_VALUE(AAE006) AS location,ANY_VALUE(IndustryType)
as remark,ANY_VALUE(IndustrySub) as industry,ANY_VALUE(Num_OK) as scale,ANY_VALUE(AAB092) as description,ANY_VALUE(AAB019_OK) as nature from row_work
group by AAB004
)AS b
where not exists (
select 1
from company
where b.name = company.name
)
FROM (
SELECT
AAB004 AS name,
MIN(AAE006) AS location,
MIN(IndustryType) as remark,
MIN(IndustrySub) as industry,
MIN(Num_OK) as scale,
MIN(AAB092) as description,
MIN(AAB019_OK) as nature
FROM row_work
GROUP BY AAB004
) AS b
WHERE NOT EXISTS (
SELECT 1
FROM company
WHERE b.name = company.name
)
</select>
<select id="selectAllJob" resultType="com.ruoyi.cms.domain.Job">
SELECT j.*,c.industry,c.scale,c.nature as company_nature FROM job as j