订单用户名非数据库字段

This commit is contained in:
2024-07-17 15:29:39 +08:00
parent 04edb3ac78
commit 40e5f22128
8 changed files with 1109 additions and 7 deletions

View File

@@ -89,6 +89,7 @@ public class ProfitLog implements Serializable {
private Integer equipmentId;
@ApiModelProperty(value = "订单用户名")
@TableField(exist = false)
private String orderUserName;
@ApiModelProperty(value = "订单用户手机号")

View File

@@ -4,7 +4,7 @@
<!-- 关联查询sql -->
<sql id="selectSql">
SELECT a.*
SELECT a.*,b.user as orderUserName
FROM shop_profit_log a
<where>
<if test="param.profitId != null">