add registration event rank

This commit is contained in:
Timi
2026-08-03 23:45:56 +08:00
parent 4c162dad34
commit 1875cec8a5
@@ -434,7 +434,12 @@ public class GaoCustomerServiceImplement extends AbstractEntityService<GaoCustom
if (TimiJava.isNotEmpty(customer.getCreatorUserId())) { if (TimiJava.isNotEmpty(customer.getCreatorUserId())) {
customer.setCreatorUser(userService.get(customer.getCreatorUserId())); customer.setCreatorUser(userService.get(customer.getCreatorUserId()));
} }
loadAttachmentList(List.of(customer)); List<GaoCustomer> detailCustomerList = new ArrayList<>();
detailCustomerList.add(customer);
if (customer.getIntroducerCustomer() != null) {
detailCustomerList.add(customer.getIntroducerCustomer());
}
loadAttachmentList(detailCustomerList);
} }
private void loadListTransient(List<GaoCustomer> customerList) { private void loadListTransient(List<GaoCustomer> customerList) {