From 7e00911def3588c4c030b8b5c8ea6c883a0872e7 Mon Sep 17 00:00:00 2001 From: SongZhang <2064194730@qq.com> Date: Fri, 28 Jun 2024 14:13:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=8B=E5=8D=95=E5=BA=93?= =?UTF-8?q?=E5=AD=98=E9=A2=84=E8=AD=A6=E6=B6=88=E6=81=AF=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/cashierservice/dao/TbUserShopMsgMapper.java | 4 ++++ src/main/resources/application.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbUserShopMsgMapper.java b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbUserShopMsgMapper.java index de732c3..c6f5a8a 100644 --- a/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbUserShopMsgMapper.java +++ b/src/main/java/com/chaozhanggui/system/cashierservice/dao/TbUserShopMsgMapper.java @@ -1,6 +1,7 @@ package com.chaozhanggui.system.cashierservice.dao; import com.chaozhanggui.system.cashierservice.entity.TbUserShopMsg; +import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Component; @@ -28,5 +29,8 @@ public interface TbUserShopMsgMapper { int updateByPrimaryKeySelective(TbUserShopMsg record); int updateByPrimaryKey(TbUserShopMsg record); + + @Select("select * from tb_user_shop_msg where shop_id=#{shopId}") + TbUserShopMsg selectByShopId(@Param("shopId") String shopId); } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 62887bf..d784451 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -15,6 +15,10 @@ wx: # 卓尔 # appId: wx0dcea6001b0a8fb4 # secrete: ba42423cce61f93f02519ff3030ceb1c + msg: + appId: wxcf0fe8cdba153fd6 + secrete: c33e06467c6879a62af633d50ed6b720 + warnMsgTmpId: IZ-l9p9yBgcvhRR0uN6cBQPkWJ5i05zyWMkfeCPaAmY # spring: profiles: