|
@@ -54,6 +54,7 @@ public class BkAccountRecordController extends BaseController {
|
54
|
54
|
public ResponseBean bkAccountRecordList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
|
55
|
55
|
@ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize,
|
56
|
56
|
@ApiParam("收支类型") @RequestParam(value ="chargeCode", required = false) String chargeCode,
|
|
57
|
+ @ApiParam("是否已付佣金") @RequestParam(value ="isPayed", required = false) Boolean isPayed,
|
57
|
58
|
HttpServletRequest request) throws Exception{
|
58
|
59
|
|
59
|
60
|
String personId = getPersonId(request);
|
|
@@ -61,6 +62,7 @@ public class BkAccountRecordController extends BaseController {
|
61
|
62
|
QueryWrapper<BkAccountRecord> queryWrapper = new QueryWrapper<>();
|
62
|
63
|
queryWrapper.eq("person_id", personId);
|
63
|
64
|
queryWrapper.eq(!StringUtils.isEmpty(chargeCode),"charge_code", chargeCode);
|
|
65
|
+ queryWrapper.gt(null != isPayed && isPayed, "charges", 0);
|
64
|
66
|
queryWrapper.orderByDesc("create_date");
|
65
|
67
|
|
66
|
68
|
IPage<BkAccountRecord> result = iBkAccountRecordService.page(pg, queryWrapper);
|