| | |
| | |
|
| | | MemberAgentIntoInfoVo memberAgentIntoInfoVo = new MemberAgentIntoInfoVo();
|
| | | List<MemberAccountMoneyChangeInfoVo> arrayList = new ArrayList<>();
|
| | | if (ObjectUtil.isNotNull(contractRecordList)) {
|
| | | for (MemberAccountMoneyChange memberAccountMoneyChange : contractRecordList) {
|
| | | MemberAccountMoneyChangeInfoVo memberAccountMoneyChangeInfoVo = new MemberAccountMoneyChangeInfoVo();
|
| | | memberAccountMoneyChangeInfoVo.setAmount(memberAccountMoneyChange.getAmount());
|
| | | memberAccountMoneyChangeInfoVo.setContent(memberAccountMoneyChange.getContent());
|
| | | memberAccountMoneyChangeInfoVo.setStatus(memberAccountMoneyChange.getStatus());
|
| | | memberAccountMoneyChangeInfoVo.setSymbol(memberAccountMoneyChange.getSymbol());
|
| | | memberAccountMoneyChangeInfoVo.setType(memberAccountMoneyChange.getType());
|
| | | memberAccountMoneyChangeInfoVo.setUpdateTime(memberAccountMoneyChange.getUpdateTime());
|
| | | arrayList.add(memberAccountMoneyChangeInfoVo);
|
| | | }
|
| | | if(CollUtil.isNotEmpty(contractRecordList)) {
|
| | | if (ObjectUtil.isNotNull(contractRecordList)) {
|
| | | for (MemberAccountMoneyChange memberAccountMoneyChange : contractRecordList) {
|
| | | MemberAccountMoneyChangeInfoVo memberAccountMoneyChangeInfoVo = new MemberAccountMoneyChangeInfoVo();
|
| | | memberAccountMoneyChangeInfoVo.setAmount(memberAccountMoneyChange.getAmount());
|
| | | memberAccountMoneyChangeInfoVo.setContent(memberAccountMoneyChange.getContent());
|
| | | memberAccountMoneyChangeInfoVo.setStatus(memberAccountMoneyChange.getStatus());
|
| | | memberAccountMoneyChangeInfoVo.setSymbol(memberAccountMoneyChange.getSymbol());
|
| | | memberAccountMoneyChangeInfoVo.setType(memberAccountMoneyChange.getType());
|
| | | memberAccountMoneyChangeInfoVo.setUpdateTime(memberAccountMoneyChange.getUpdateTime());
|
| | | arrayList.add(memberAccountMoneyChangeInfoVo);
|
| | | }
|
| | | }
|
| | | }
|
| | | memberAgentIntoInfoVo.setMemberAccountMoneyChangeInfoVo(arrayList);
|
| | | return Result.ok(memberAgentIntoInfoVo);
|