---
title: "finereport笔记"
author: "deejay"
date: "2013-03-26T09:55:46Z"
tags: []
categories: ["企业架构"]
slug: "finereport"
draft: false
lastmod: "2013-03-26T09:55:46Z"
id: 1836520
url: "https://deejay.iteye.com/blog/1836520"
---

1 不输入参数查询全部记录
SELECT * FROM 订单 where 1=1 ${if(len(area) == 0,"","and 货主地区 = '" + area + "'")} ${if(len(province) == 0,"","and 货主省份 = '" + provin
2 参数控件名不能为id (id可能为关键字，使用“id”为控件名时，不能接收到参数值。)