Commit e0d779c3 authored by wujiang's avatar wujiang

提交代码

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