添加sql supplierId

This commit is contained in:
YY
2025-07-16 09:49:24 +08:00
parent a9677f9169
commit e827c1f8b9
11 changed files with 22 additions and 7 deletions

View File

@ -237,6 +237,7 @@
select
csb.name supplierName,
csb.id as supplierId,
case when csb.supplier_type = 'ovs' then '境外'
when csb.supplier_type = 'ovs' then '境内'
else '境内' end as area ,

View File

@ -43,6 +43,7 @@
SELECT
catsu.id,
csb.NAME,
csb.id as supplierId,
cat.dept_id as deptId,
cat.annualreview_theme,
'单位' AS deptName,

View File

@ -281,6 +281,7 @@
SELECT
cetsu.id,
csb.`name`,
csb.id as supplierId,
cet.evaluate_theme evaluateTheme,
cet.start_time startTime,
cet.end_time endTime,

View File

@ -265,6 +265,7 @@
csq.authority,
csq.term_of_validity,
csb.NAME supplierName,
csb.id as supplierId,
CASE
WHEN csb.supplier_type = 'ovs' THEN

View File

@ -232,6 +232,7 @@
<select id="getSupplierExitStatistics" resultType="com.chinaunicom.zyhy.ebtp.supplier.dataStatistics.vo.SupplierExitStatisticsVo" parameterType="map">
select
csb.name supplierName,
csb.id as supplierId,
case when csb.supplier_type = 'ovs' then '境外'
when csb.supplier_type = 'ovs' then '境内'
else '境内' end as area ,