Commit e0d779c3 authored by wujiang's avatar wujiang

提交代码

parent 3e6ec607
...@@ -187,8 +187,8 @@ public class HygfIcbcController extends BaseController { ...@@ -187,8 +187,8 @@ public class HygfIcbcController extends BaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
@ApiOperation(httpMethod = "GET",value = "余额查询通过农户id", notes = "余额查询通过农户id") @ApiOperation(httpMethod = "GET",value = "余额查询通过农户id", notes = "余额查询通过农户id")
@GetMapping(value = "/balanceQueryById") @GetMapping(value = "/balanceQueryByUserId")
public ResponseModel<Object> balanceQueryById(@RequestParam(required = true)String id){ public ResponseModel<Object> balanceQueryByUserId(@RequestParam(required = true)String id){
return ResponseHelper.buildResponse(hygfIcbcService.balanceQueryById(id)); return ResponseHelper.buildResponse(hygfIcbcService.balanceQueryByUserId(id));
} }
} }
...@@ -943,9 +943,9 @@ public class HygfIcbcServiceImpl extends BaseService<HygfIcbcRecordDTO, HygfIcbc ...@@ -943,9 +943,9 @@ public class HygfIcbcServiceImpl extends BaseService<HygfIcbcRecordDTO, HygfIcbc
return response; return response;
} }
public Object balanceQueryById(String id) public Object balanceQueryByUserId(String id)
{ {
HygfIcbcRecord hygfIcbcRecord = this.getById(id); HygfIcbcRecord hygfIcbcRecord = this.getOne(new LambdaQueryWrapper<HygfIcbcRecord>().eq(HygfIcbcRecord::getOutUserId,id));
if(hygfIcbcRecord!=null) if(hygfIcbcRecord!=null)
{ {
SettlementAccountBalanceQueryResponseV1 response = (SettlementAccountBalanceQueryResponseV1) balanceQuery(hygfIcbcRecord.getMediumId()); SettlementAccountBalanceQueryResponseV1 response = (SettlementAccountBalanceQueryResponseV1) balanceQuery(hygfIcbcRecord.getMediumId());
......
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