营业执照文件上传逻辑优化
This commit is contained in:
parent
e91fa001db
commit
6cab2772f7
|
|
@ -74,12 +74,6 @@ public class SupplierInfoServiceImpl implements ISupplierInfoService {
|
|||
}
|
||||
AtomicBoolean addFileInfoResult = new AtomicBoolean(false);
|
||||
supplierInfo.getBusinessLicenseFileList().forEach(bmFileInfo -> {
|
||||
// BmFileInfo bmFileInfo = new BmFileInfo();
|
||||
// if (file.getName() != null) {
|
||||
// bmFileInfo.setFileName(file.getName());
|
||||
// }
|
||||
// bmFileInfo.setFileUrl(file.getUrl());
|
||||
// bmFileInfo.setModelId(MODEL_ID);
|
||||
bmFileInfo.setModelId(supplierInfo.getSupplierId());
|
||||
addFileInfoResult.set(bmFileInfoMapper.insertBmFileInfo(bmFileInfo) > 0);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue