修改数据
This commit is contained in:
@ -511,6 +511,11 @@ public class CoscoSupplierBaseServiceImpl extends BaseServiceImpl<CoscoSupplierB
|
|||||||
vo.setDeptName(orgInfo.getOrgName());
|
vo.setDeptName(orgInfo.getOrgName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(vo.getCategoryIds()!=null && vo.getCategoryIds().length()>0){
|
||||||
|
String[] split = vo.getCategoryIds().split(",");
|
||||||
|
List<String> categoryNameListByIds = coscoCategoryService.getCategoryNameListByIds(new ArrayList<>(Arrays.asList(split)));
|
||||||
|
vo.setCategoryName(String.join(",", categoryNameListByIds));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
return supplierPage;
|
return supplierPage;
|
||||||
}
|
}
|
||||||
|
@ -85,6 +85,11 @@ public class SupplierPageVo {
|
|||||||
* 黑名单部门list
|
* 黑名单部门list
|
||||||
*/
|
*/
|
||||||
private List<String> blackListDept;
|
private List<String> blackListDept;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 企业类型
|
||||||
|
*/
|
||||||
|
private String enterpriseType;
|
||||||
/**
|
/**
|
||||||
* 查询部门list
|
* 查询部门list
|
||||||
*/
|
*/
|
||||||
|
@ -108,8 +108,7 @@
|
|||||||
<select id="selectCoscoCateGoryIdByLibraryId" parameterType="string" resultType="string">
|
<select id="selectCoscoCateGoryIdByLibraryId" parameterType="string" resultType="string">
|
||||||
select cclc.category_id
|
select cclc.category_id
|
||||||
from cosco_category_library_contain cclc
|
from cosco_category_library_contain cclc
|
||||||
join cosco_category cc on cc.id= cclc.category_id
|
where cclc.category_library_id = #{libraryId}
|
||||||
where cclc.category_library_id = #{libraryId} and cc.type=1
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectSupplierIdByLibraryId" parameterType="string" resultType="string">
|
<select id="selectSupplierIdByLibraryId" parameterType="string" resultType="string">
|
||||||
|
@ -965,12 +965,11 @@
|
|||||||
|
|
||||||
<select id="getSupplierPage" parameterType="map"
|
<select id="getSupplierPage" parameterType="map"
|
||||||
resultType="com.chinaunicom.zyhy.ebtp.supplier.coscosupplier.vo.SupplierPageVo">
|
resultType="com.chinaunicom.zyhy.ebtp.supplier.coscosupplier.vo.SupplierPageVo">
|
||||||
|
|
||||||
|
|
||||||
select
|
select
|
||||||
csb.id,
|
csb.id,
|
||||||
csb.name,
|
csb.name,
|
||||||
csb.name_en as nameEn,
|
csb.name_en as nameEn,
|
||||||
|
csb.enterprise_type as enterpriseType,
|
||||||
csb.supplier_type AS supplierType,
|
csb.supplier_type AS supplierType,
|
||||||
CASE
|
CASE
|
||||||
WHEN csb.supplier_type = 'dvs' THEN social_credit_code
|
WHEN csb.supplier_type = 'dvs' THEN social_credit_code
|
||||||
|
Reference in New Issue
Block a user