From e74792fd5884a63df84ec6aeb788662add010414 Mon Sep 17 00:00:00 2001 From: Jackwang Date: Mon, 20 Jun 2022 11:07:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8D=E7=A7=B0=E6=A0=A1=E9=AA=8C=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/epmet/dao/PointAdditiveRuleDao.java | 3 ++- .../epmet/service/impl/PointAdditiveRuleServiceImpl.java | 8 ++++---- .../src/main/resources/mapper/PointAdditiveRuleDao.xml | 3 +++ 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/dao/PointAdditiveRuleDao.java b/epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/dao/PointAdditiveRuleDao.java index 9e67740ec3..8b39e7d65b 100644 --- a/epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/dao/PointAdditiveRuleDao.java +++ b/epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/dao/PointAdditiveRuleDao.java @@ -74,7 +74,8 @@ public interface PointAdditiveRuleDao extends BaseDao { * @params [customerId, categoryName] * @return com.epmet.entity.PointAdditiveRuleEntity */ - PointAdditiveRuleEntity selectEntityByName(@Param("customerId") String customerId, + PointAdditiveRuleEntity selectEntityByName(@Param("id") String id, + @Param("customerId") String customerId, @Param("categoryName") String categoryName, @Param("ruleName") String ruleName); diff --git a/epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/service/impl/PointAdditiveRuleServiceImpl.java b/epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/service/impl/PointAdditiveRuleServiceImpl.java index 706f572a52..d65d63dd92 100644 --- a/epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/service/impl/PointAdditiveRuleServiceImpl.java +++ b/epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/service/impl/PointAdditiveRuleServiceImpl.java @@ -105,7 +105,7 @@ public class PointAdditiveRuleServiceImpl extends BaseServiceImpl + and id= #{id} + and CATEGORY_NAME= #{categoryName}