信用明细查询

This commit is contained in:
赵辉
2026-06-16 19:00:10 +08:00
parent 4884347b4a
commit 0110f83797
2 changed files with 5 additions and 1 deletions
@@ -349,4 +349,7 @@ public class UserShipperPo implements Serializable {
@ApiModelProperty(name = "信用余额")
private BigDecimal creditAmount;
@ApiModelProperty(name = "协议数量")
private BigDecimal agreementCount;
}
@@ -168,7 +168,8 @@
b.push_by_name,
b.data_source,
b.LIMIT_TIME,
b.CREDIT_AMOUNT
b.CREDIT_AMOUNT,
b.AGREEMENT_COUNT
FROM "USER" a
LEFT JOIN user_shipper b ON a.user_id = b.user_id
left join (select user_id, LISTAGG(DISTINCT r.role_name, '&') WITHIN GROUP(ORDER BY r.role_name) AS roleName