Commit f101b55d by guojuxing

打款户:查询列表接口修改:添加排序字段

parent 5c821e71
......@@ -108,6 +108,9 @@ public class PayAccountApiServiceImpl implements PayAccountApiService {
public ServiceResponse<List<PayAccountDTO>> listPayAccount() {
List<PayAccountDTO> list = payAccountService.listPayAccount();
if (CollectionUtils.isNotEmpty(list)) {
for (int i = 0, len = list.size(); i < len; i++) {
list.get(i).setSeq(i + 1);
}
return ServiceResponse.success(list);
}
return ServiceResponse.success(new ArrayList<>());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment