信用明细查询

This commit is contained in:
赵辉
2026-06-16 18:49:03 +08:00
parent 883724ab8e
commit 27ebf1f440
2 changed files with 11 additions and 1 deletions
@@ -341,4 +341,12 @@ public class UserShipperPo implements Serializable {
@ApiModelProperty(value = "推送人姓名")
private String pushByName;
@ApiModelProperty(name = "额度同步时间")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private Date limitTime;
@ApiModelProperty(name = "信用余额")
private BigDecimal creditAmount;
}
@@ -166,7 +166,9 @@
b.push_time,
b.push_by,
b.push_by_name,
b.data_source
b.data_source,
b.LIMIT_TIME,
b.CREDIT_AMOUNT
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