xiaoyong931011
2022-09-06 752f0a5d7a58bb73f569720b708696602a81debe
20220902
3 files modified
12 ■■■■■ changed files
src/main/java/cc/mrbird/febs/mall/entity/MallLeaderAchieve.java 3 ●●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/mall/vo/ApiOrderProfitVo.java 7 ●●●● patch | view | raw | blame | history
src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml 2 ●●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/mall/entity/MallLeaderAchieve.java
@@ -32,4 +32,7 @@
    @TableField(exist = false)
    private String goodsName;
    @TableField(exist = false)
    private String nickname;
}
src/main/java/cc/mrbird/febs/mall/vo/ApiOrderProfitVo.java
@@ -1,5 +1,6 @@
package cc.mrbird.febs.mall.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -27,10 +28,14 @@
    @ApiModelProperty(value = "1:未提成 2:已提成")
    private Integer state;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;
    @ApiModelProperty(value = "产品名称")
    private String goodsName;;
    private String goodsName;
    @ApiModelProperty(value = "下单人昵称")
    private String nickname;
}
src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml
@@ -40,8 +40,10 @@
    <select id="selectApiLeaderProfitListInPage" resultType="cc.mrbird.febs.mall.entity.MallLeaderAchieve">
        select a.*,
               b.name nickname,
               c.goods_name goodsName
        from mall_leader_achieve a
        inner join mall_member b on a.member_id = b.id
        inner join mall_order_item c on a.order_item_id = c.id
        <where>
            a.state = 2