This commit is contained in:
parent
18a2c6705d
commit
658810cc85
2 changed files with 2 additions and 0 deletions
|
|
@ -274,6 +274,7 @@ public class MultiCompanyService
|
|||
ClearingMemberCategory findCategory(ClearingMemberCategoryNewRequest partRequest) {
|
||||
Map<String, Comparable<?>> query = new HashMap<>();
|
||||
query.put("companyId", partRequest.getCompanyId());
|
||||
query.put("clearingMemberCategory", partRequest.getClearingMemberCategory());
|
||||
Collection<ClearingMemberCategory> allCS = clearingMemberCategoryImdg.getCollectionObjectsByFieldValues(query);
|
||||
if (allCS.isEmpty())
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ public class CompanyGatewayRequest {
|
|||
List<ContactNewRequest> contacts = new ArrayList<>();
|
||||
@JsonProperty
|
||||
List<ClientCodeNewRequest> clientCodes = new ArrayList<>();
|
||||
@JsonProperty
|
||||
List<ClearingMemberCategoryNewRequest> categories = new ArrayList<>();
|
||||
|
||||
public String getUuid() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue