Optional<Long>totalLanding= ....(get it from somewhere);
Optional<Long>totalSharing = ...(get it from somewhere); 我想做这样的事情,不是语法上的,而是逻辑上的 Optional<Long>total = totalLanding+totalSharing; 这样,如果两者都为空
我有两个类,AccountSubscription和AccountSubscriptionDto.我需要将"AccountNumber“映射到"AccountList”作为AccontNumbers (BaseEntity [Required] public longBaseDto [Required]
public int CustomerNumber { get; set; }