From cde389e9750908ec367e3ce4a44f7b9bbf1bbbe9 Mon Sep 17 00:00:00 2001 From: Noneday <59395983@qq.com> Date: Sat, 23 Jul 2022 15:21:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9Apdf=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E5=8F=AF=E4=BB=A5=E4=BD=BF=E7=94=A8=5Fzb=5Fvar?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "end/example/\350\256\242\345\215\225.cr" | 180 ++++++++++++++------- end/reportWeb/Controllers/PdfController.cs | 46 ++++-- end/reportWeb/reportWeb.csproj | 9 +- 3 files changed, 157 insertions(+), 78 deletions(-) diff --git "a/end/example/\350\256\242\345\215\225.cr" "b/end/example/\350\256\242\345\215\225.cr" index e65b203..948e66d 100644 --- "a/end/example/\350\256\242\345\215\225.cr" +++ "b/end/example/\350\256\242\345\215\225.cr" @@ -1,56 +1,124 @@ -SELECT [订单明细].[订单ID], [订单明细].[产品ID], [产品].[产品名称], [订单明细].[单价], [订单明细].[数量], [订单明细].[折扣], ([订单明细].[单价]*[数量]*(1-[折扣])/100)*100 AS 总价 -FROM 产品 INNER JOIN 订单明细 ON [产品].[产品ID]=[订单明细].[产品ID] -where 1=1 -$if(false==isEmpty(param.dindan)){$ - and [订单明细].[订单ID]='$dindan$' -$}$ - -$if(false==isEmpty(param.chanping)){$ -and [订单明细].[产品ID]='$chanping$' -$}$ -ORDER BY [订单明细].[订单ID]test:/4.cr[ - { - "x": 0, - "y": 0, - "w": 24, - "h": 15, - "i": 0, - "element": { - "type": "layout_div", - "label": "div布局", - "span": 24, - "icon": "icon-group", - "display": true, - "style": { - "height": "100%" - }, - "component": "widget-form-group", - "prop": "_random_", - "children": { - "column": [ - { - "type": "luckySheetProxy", - "label": "main", - "display": true, - "style": { - "height": "100%" - }, - "no_use_parent_css": false, - "fit": true, - "page_size": 20, - "page_sizes": "[20, 50, 100, 200]", - "gridName": "main", - "span": 24, - "component": "luckySheetProxy", - "prop": "1638165806230_44736", - "fresh_ds": [], - "fresh_params": [], - "conditionformat_save": "[]", - "alternateformat_save": "[]" - } - ] - } - }, - "moved": false - } -]Dsn=testDb