File tree 2 files changed +3
-1
lines changed
src/main/java/com/revealprecision/revealserver/api/v1/facade
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public ResponseEntity<HdssCompoundObj> taskSync(@RequestBody HdssSyncRequest hds
84
84
.serverVersion (individual .getServerVersion ()).dob (individual .getDob ().toString ())
85
85
.gender (individual .getGender ()).build ()).collect (Collectors .toSet ()))
86
86
.serverVersion (maxServerVersion .isPresent () ? maxServerVersion .get () : 0 )
87
- .totalRecords (count ).build ());
87
+ .totalRecords (count ).isEmpty ( false ). build ());
88
88
} else {
89
89
return ResponseEntity .ok (HdssCompoundObj .builder ().isEmpty (true ).build ());
90
90
}
Original file line number Diff line number Diff line change 1
1
package com .revealprecision .revealserver .api .v1 .facade .models ;
2
2
3
3
4
+ import com .fasterxml .jackson .annotation .JsonInclude ;
4
5
import java .io .Serializable ;
5
6
import java .util .Objects ;
6
7
import java .util .Set ;
9
10
10
11
@ Data
11
12
@ Builder
13
+ @ JsonInclude (JsonInclude .Include .NON_NULL )
12
14
public class HdssCompoundObj implements Serializable {
13
15
14
16
Set <HdssCompound > allCompounds ;
You can’t perform that action at this time.
0 commit comments