xiaoyong931011
2023-08-15 a9e31ba6fd2eb1f4a9fffa5c0d195ebbc8bcf797
后台修改
2 files modified
6 ■■■■■ changed files
src/main/java/cc/mrbird/febs/dapp/dto/MallGoodsQueryDto.java 3 ●●●●● patch | view | raw | blame | history
src/main/resources/mapper/dapp/DappMemberDao.xml 3 ●●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/dapp/dto/MallGoodsQueryDto.java
@@ -12,4 +12,7 @@
    @ApiModelProperty(value = "每页数量", example = "10")
    private Integer pageSize;
    @ApiModelProperty(value = "分类ID", example = "10")
    private Long categoryId;
}
src/main/resources/mapper/dapp/DappMemberDao.xml
@@ -268,6 +268,9 @@
        a.*
        from mall_goods a
        where a.is_sale = 1
        <if test="record.categoryId != null and record.categoryId != ''">
            and a.category_id = #{record.categoryId}
        </if>
        group by a.id
        order by a.sort_cnt asc
    </select>