修复报表权限错误
This commit is contained in:
1 parent
55e81a41b6
commit
bf1df93b1f
3 files changed
+6
-3
No files matched your search
+1
@@ -162,6 +162,7 @@ public class ReportController {
|
||||
public List<InventoryReportExcelDTO> exportInventoryReport(
|
||||
@Parameter(description = "查询条件") @ParameterObject InventoryReportQueryDTO queryDTO) {
|
||||
log.info("开始导出进销存报表,查询条件:{}", queryDTO);
|
||||
log.info("开始导出进销存报表,查询条件:{}", queryDTO);
|
||||
List<InventoryReportExcelDTO> list = inventoryReportService.exportExcel(queryDTO);
|
||||
log.info("导出进销存报表成功,导出记录数:{}", list.size());
|
||||
return list;
|
||||
|
||||
+3
-3
@@ -50,6 +50,8 @@
|
||||
spu.id AS product_id,
|
||||
spu.product_code,
|
||||
spu.product_name,
|
||||
spu.dept_id,
|
||||
spu.create_by,
|
||||
cat.name AS category_name,
|
||||
base.spec AS spec,
|
||||
base.unit AS unit,
|
||||
@@ -165,9 +167,7 @@
|
||||
<if test="param.supplierId != null">
|
||||
AND r.supplier_id = #{param.supplierId}
|
||||
</if>
|
||||
<if test="dataScope != null">
|
||||
${dataScope.sqlFilter}
|
||||
</if>
|
||||
|
||||
</where>
|
||||
GROUP BY spu.id, spu.product_code, spu.product_name, cat.name,
|
||||
base.spec, base.unit, base.package_num, base.purchase_price, base.retail_price, stock.current_stock
|
||||
|
||||
+2
@@ -32,6 +32,8 @@
|
||||
spu.id AS product_id,
|
||||
spu.product_code,
|
||||
spu.product_name,
|
||||
spu.dept_id,
|
||||
spu.create_by,
|
||||
cat.name AS category_name,
|
||||
base.spec AS spec,
|
||||
base.unit AS unit,
|
||||
|
||||
Reference in new issue
Block a user