Commit 49c4bcb8 authored by wei's avatar wei 🎱

属性对应字典名称

parent 3587066f
......@@ -101,8 +101,8 @@ public class ExtSupplierManageServiceImpl<V extends ExtSupplierManageVO> impleme
Map<String, DictDataVO> supplierTypeMap) {
SupplierEarlyWarningVO supplierEarlyWarningVO = new SupplierEarlyWarningVO();
BeanUtils.copyProperties(source, supplierEarlyWarningVO);
DictDataVO supplierType = supplierTypeMap.get(source.getSupplierType());
DictDataVO qualificationsContent = qualificationsContentMap.get(target.getQualificationsContent());
DictDataVO supplierType = supplierTypeMap.get(target.getQualificationsContent());
supplierEarlyWarningVO.setId(target.getId());
supplierEarlyWarningVO.setSupplierType(supplierType.getDictValue());
supplierEarlyWarningVO.setQualificationsContent(qualificationsContent.getDictValue());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment