From a5f62fff4330f1ffa9046e9c248b08924dd72067 Mon Sep 17 00:00:00 2001 From: chenlw <874313221@qq.com> Date: Mon, 31 Oct 2016 18:53:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=A0=A1=E9=AA=8C=E7=9A=84?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E7=9A=84sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/dao/mapper/data-details-mapper.xml | 14 +++++ .../mapper/standard_data_details-mapper.xml | 58 +++++++++++-------- 2 files changed, 47 insertions(+), 25 deletions(-) diff --git a/src/com/dao/mapper/data-details-mapper.xml b/src/com/dao/mapper/data-details-mapper.xml index f4b79e5d..32c4695b 100644 --- a/src/com/dao/mapper/data-details-mapper.xml +++ b/src/com/dao/mapper/data-details-mapper.xml @@ -46,6 +46,10 @@ PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN" jdbcType="VARCHAR" /> + + @@ -112,6 +116,16 @@ PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN" FROM data_details ORDER BY data_details.id + + + + SELECT + + FROM standard_data_details + WHERE is_collection='是' + ORDER BY standard_data_details.area_code,standard_data_details.sys_code + +