修改时间
This commit is contained in:
@ -132,11 +132,7 @@ public class DataStatisticeServiceImpl implements DataStatisticeService {
|
||||
vo.getBasePageRequest().getPageSize());
|
||||
IPage<SupplierQualificationExpireVo> supplierExitStatistics = coscoSupplierQualificationsMapper.getSupplierExitStatistics(p, vo);
|
||||
supplierExitStatistics.getRecords().forEach(item -> {
|
||||
if(item.getCategoryIds()!=null && item.getCategoryIds().length()>0){
|
||||
String[] split = item.getCategoryIds().split(",");
|
||||
List<String> categoryNameListByIds = coscoCategoryService.getCategoryNameListByIds(new ArrayList<>(Arrays.asList(split)));
|
||||
item.setCategoryName(String.join(",", categoryNameListByIds));
|
||||
}
|
||||
|
||||
});
|
||||
return supplierExitStatistics;
|
||||
}
|
||||
|
@ -277,13 +277,13 @@
|
||||
'天津中远海运集装箱运输有限公司' AS accessDept,
|
||||
(
|
||||
SELECT
|
||||
GROUP_CONCAT( DISTINCT casc.category_id SEPARATOR ', ' )
|
||||
GROUP_CONCAT( DISTINCT casc.category_name SEPARATOR ', ' )
|
||||
FROM
|
||||
cosco_access_supplier_category casc
|
||||
WHERE
|
||||
casc.del_flag = 'normal'
|
||||
AND casc.supplier_id = csb.id
|
||||
) AS categoryIds
|
||||
) AS categoryName
|
||||
FROM
|
||||
cosco_supplier_qualifications csq
|
||||
JOIN cosco_supplier_base csb ON csq.supplier_id = csb.id
|
||||
|
Reference in New Issue
Block a user