客户管理-附件

This commit is contained in:
2025-12-02 15:39:11 +08:00
parent 9bfda21a15
commit 27ff645a3b
5 changed files with 23 additions and 9 deletions

View File

@ -71,7 +71,7 @@ public class LngFileUpload implements Serializable {
*
*/
@ApiModelProperty("")
private Long filesize;
private Long fileSize;
/**
*
@ -136,5 +136,8 @@ public class LngFileUpload implements Serializable {
@ApiModelProperty("")
@TableField(exist = false)
private String presignedUrl;
//@ApiModelProperty("")
//private Long xjrFileId;
}

View File

@ -84,10 +84,10 @@ public class CustomerServiceImpl extends MPJBaseServiceImpl<LngCustomerMapper, L
if(CollectionUtil.isNotEmpty(updateLngCustomerDocDto.getFileList())) {
for(UpdateLngFileUploadDto lngFileUploadDto:updateLngCustomerDocDto.getFileList()) {
LngFileUpload lngFileUpload = new LngFileUpload();
BeanUtil.copyProperties(lngFileUploadDto, lngFileUpload);
lngFileUpload.setTableName("lng_customer_doc");
lngFileUpload.setTableId(lngCustomerDoc.getId());
lngFileUploadMapper.insert(lngFileUpload);
BeanUtil.copyProperties(lngFileUploadDto, lngFileUpload);
lngFileUpload.setTableName("lng_customer_doc");
lngFileUpload.setTableId(lngCustomerDoc.getId());
lngFileUploadMapper.insert(lngFileUpload);
}
}