订单用户名非数据库字段
This commit is contained in:
@@ -89,6 +89,7 @@ public class ProfitLog implements Serializable {
|
||||
private Integer equipmentId;
|
||||
|
||||
@ApiModelProperty(value = "订单用户名")
|
||||
@TableField(exist = false)
|
||||
private String orderUserName;
|
||||
|
||||
@ApiModelProperty(value = "订单用户手机号")
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user