zepengdev
2025-07-15 509cd18c6c4981ff553fe730026ea9205b79efc2
feat: 店铺和商品审核记录查询增加审核状态筛选
4 files modified
14 ■■■■■ changed files
oying-system/src/main/java/com/oying/modules/pc/product/domain/dto/ProductAuditQueryCriteria.java 4 ●●●● patch | view | raw | blame | history
oying-system/src/main/java/com/oying/modules/pc/store/domain/dto/StoreAuditQueryCriteria.java 4 ●●●● patch | view | raw | blame | history
oying-system/src/main/resources/mapper/pc/product/ProductAuditMapper.xml 3 ●●●●● patch | view | raw | blame | history
oying-system/src/main/resources/mapper/pc/store/StoreAuditMapper.xml 3 ●●●●● patch | view | raw | blame | history
oying-system/src/main/java/com/oying/modules/pc/product/domain/dto/ProductAuditQueryCriteria.java
@@ -21,9 +21,13 @@
    @ApiModelProperty(value = "类型")
    private String type;
    @ApiModelProperty(value = "审核状态")
    private Integer status;
    @ApiModelProperty(value = "页码", example = "1")
    private Integer page = 1;
    @ApiModelProperty(value = "每页数据量", example = "10")
    private Integer size = 10;
}
oying-system/src/main/java/com/oying/modules/pc/store/domain/dto/StoreAuditQueryCriteria.java
@@ -21,9 +21,13 @@
    @ApiModelProperty(value = "类型")
    private String type;
    @ApiModelProperty(value = "审核状态")
    private Integer status;
    @ApiModelProperty(value = "页码", example = "1")
    private Integer page = 1;
    @ApiModelProperty(value = "每页数据量", example = "10")
    private Integer size = 10;
}
oying-system/src/main/resources/mapper/pc/product/ProductAuditMapper.xml
@@ -31,6 +31,9 @@
            <if test="criteria.type != null and criteria.type != ''">
                and type = #{criteria.type}
            </if>
            <if test="criteria.status != null">
                and status = #{criteria.status}
            </if>
        </where>
        order by audit_id desc
    </select>
oying-system/src/main/resources/mapper/pc/store/StoreAuditMapper.xml
@@ -31,6 +31,9 @@
            <if test="criteria.type != null and criteria.type != ''">
                and type = #{criteria.type}
            </if>
            <if test="criteria.status != null">
                and status = #{criteria.status}
            </if>
        </where>
        order by audit_id desc
    </select>