修改数据
This commit is contained in:
@ -257,7 +257,8 @@
|
||||
ORDER BY
|
||||
csq.term_of_validity ASC
|
||||
</select>
|
||||
<select id="getSupplierExitStatistics" parameterType="map" resultType="com.chinaunicom.zyhy.ebtp.supplier.dataStatistics.vo.SupplierQualificationExpireVo">
|
||||
<select id="getSupplierExitStatistics" parameterType="map"
|
||||
resultType="com.chinaunicom.zyhy.ebtp.supplier.dataStatistics.vo.SupplierQualificationExpireVo">
|
||||
SELECT
|
||||
csq.authority,
|
||||
csq.term_of_validity,
|
||||
@ -275,14 +276,13 @@
|
||||
'准入部门' AS accessDept,
|
||||
(
|
||||
SELECT
|
||||
GROUP_CONCAT( DISTINCT cc.category_name SEPARATOR ', ' )
|
||||
GROUP_CONCAT( DISTINCT casc.category_id SEPARATOR ', ' )
|
||||
FROM
|
||||
cosco_access_supplier_category casc
|
||||
JOIN cosco_category cc ON cc.id = casc.category_id
|
||||
WHERE
|
||||
casc.del_flag = 'normal'
|
||||
AND casc.supplier_id = csb.id
|
||||
) AS categoryName
|
||||
) AS categoryIds
|
||||
FROM
|
||||
cosco_supplier_qualifications csq
|
||||
JOIN cosco_supplier_base csb ON csq.supplier_id = csb.id
|
||||
|
@ -251,11 +251,9 @@
|
||||
'退出部门' as accessDept,
|
||||
cse.create_by as applyUser,
|
||||
cse.update_time as applyTime,
|
||||
(select GROUP_CONCAT( DISTINCT cc.category_name SEPARATOR ', ' )
|
||||
(select GROUP_CONCAT( DISTINCT cssc.category_id SEPARATOR ', ' )
|
||||
from cosco_supplierexit_supplier_category cssc
|
||||
join cosco_category cc
|
||||
ON cc.id = cssc.category_id
|
||||
where cssc.supplier_id=csb.id and cssc.supplierexit_id=cse.id) as categoryName
|
||||
where cssc.supplier_id=csb.id and cssc.supplierexit_id=cse.id) as categoryIds
|
||||
from cosco_supplierexit cse
|
||||
join cosco_supplierexit_supplier css
|
||||
on cse.id= css.supplierexit_id
|
||||
|
Reference in New Issue
Block a user