From 7a0e640d6077e0eeeaccbd80fe4e09aa9caacbac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Thu, 5 Dec 2019 16:44:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E6=98=BE=E7=A4=BA=E4=BC=A0=E7=BB=9F?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=9A=84=E5=8F=8D=E9=A6=88=E6=8F=90=E9=86=92?= =?UTF-8?q?=E3=80=82AND=20(select=20COUNT(*)=20from=20GRoupInfo=20where=20?= =?UTF-8?q?isnull(GRI=5FOrderType,227001)=3D227001=20and=20GRI=5FSN=3Deoi?= =?UTF-8?q?=5Fgri=5Fsn)>0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gys_system/models/groupinfo_model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/gys_system/models/groupinfo_model.php b/gys_system/models/groupinfo_model.php index 75df0b17..3f1f43b5 100644 --- a/gys_system/models/groupinfo_model.php +++ b/gys_system/models/groupinfo_model.php @@ -78,6 +78,7 @@ class Groupinfo_model extends CI_Model { WHERE 1=1 AND EOI_sendEvaluation = 1 AND EOI_Type = 1 + AND (select COUNT(*) from GRoupInfo where isnull(GRI_OrderType,227001)=227001 and GRI_SN=eoi_gri_sn)>0 AND eoi_cancel = 0 AND year(EOI_Date)> '2010'