From 4d758edb4a9666a2263225b13143cbe4f42d0010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E5=9B=BD=E4=B8=9C?= Date: Thu, 16 Feb 2023 11:14:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E8=A1=8C=E4=B8=9A=E7=AD=9B?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/NewsCntMapper.xml | 2 +- .../mapper/check/ChkBillDetailMapper.xml | 4 +- .../mapper/ent/BaseInClassMapper.xml | 2 - .../com/rzyc/controller/BaseController.java | 63 ++++++++++--------- .../controller/ent/PcCompanyController.java | 10 +-- 5 files changed, 42 insertions(+), 39 deletions(-) diff --git a/inventory-dao/src/main/resources/mapper/NewsCntMapper.xml b/inventory-dao/src/main/resources/mapper/NewsCntMapper.xml index e586007..2fe5d94 100644 --- a/inventory-dao/src/main/resources/mapper/NewsCntMapper.xml +++ b/inventory-dao/src/main/resources/mapper/NewsCntMapper.xml @@ -594,7 +594,7 @@ nc.CreatedOn, nc.CreatedBy, nc.ModifiedOn, nc.ModifiedBy,nc.PublicTime FROM NewsCnt nc LEFT JOIN NewsClass nl ON nc.`NewsClassId` = nl.`NewsClassId` - WHERE nc.`NewTitle` LIKE #{‘} + WHERE nc.`NewTitle` LIKE #{condition} AND nc.`NewsClassId` IS NOT NULL AND nc.`NewsClassId` = #{newsClassId} diff --git a/inventory-dao/src/main/resources/mapper/check/ChkBillDetailMapper.xml b/inventory-dao/src/main/resources/mapper/check/ChkBillDetailMapper.xml index acb8b6d..5de53c9 100644 --- a/inventory-dao/src/main/resources/mapper/check/ChkBillDetailMapper.xml +++ b/inventory-dao/src/main/resources/mapper/check/ChkBillDetailMapper.xml @@ -794,7 +794,9 @@