添加sql supplierId
This commit is contained in:
@ -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 ,
|
||||
|
@ -43,6 +43,7 @@
|
||||
SELECT
|
||||
catsu.id,
|
||||
csb.NAME,
|
||||
csb.id as supplierId,
|
||||
cat.dept_id as deptId,
|
||||
cat.annualreview_theme,
|
||||
'单位' AS deptName,
|
||||
|
@ -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,
|
||||
|
@ -265,6 +265,7 @@
|
||||
csq.authority,
|
||||
csq.term_of_validity,
|
||||
csb.NAME supplierName,
|
||||
csb.id as supplierId,
|
||||
CASE
|
||||
|
||||
WHEN csb.supplier_type = 'ovs' THEN
|
||||
|
@ -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 ,
|
||||
|
Reference in New Issue
Block a user