修复bug#796

This commit is contained in:
2025-12-15 15:05:32 +08:00
parent 8c9dcae89e
commit a5a53d956a
3 changed files with 4 additions and 4 deletions

View File

@ -119,6 +119,9 @@ public class CountryRegionServiceImpl extends ServiceImpl<LngBRegionMapper, LngB
@Override
public List<LngBRegionVo> child(Long pid, String excludeType, String keyword, String startPCode) {
List<Long> pidList = CollectionUtils.newArrayList();
if(pid == null) {
pid = 0L;
}
if(StrUtil.isNotBlank(startPCode) && (pid == null || pid ==0) ){
List<LngBRegion> pList = this.list(Wrappers.<LngBRegion>query()

View File

@ -152,8 +152,6 @@ public class CustomerController {
@Override
public UpdateLngCustomerDto before(DataOperationContent<UpdateLngCustomerDto> content) {
String code = codeRuleClient.genEncode(CUSTOMER_CODE);
dto.setCuCode("C"+code);
return content.getObj();
}
@ -163,7 +161,6 @@ public class CustomerController {
if (StringUtils.isNotEmpty(msg)) {
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
}
codeRuleClient.useEncode(CUSTOMER_CODE);
return content.getObj();
}
}));

View File

@ -82,7 +82,7 @@ public class CustomerServiceImpl extends MPJBaseServiceImpl<LngCustomerMapper, L
bindDto.setTableName("lng_customer_doc");
bindDto.setColumnName("fileList");
bindDto.setFiles(updateLngCustomerDocDto.getFileList());
fileClient.bindTableData(bindDto);
fileClient.bindTableData(bindDto);
}
}