From 9b51a62597487073b54aa27cdd059828ebfcb2ac Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 08 Jul 2022 19:19:47 +0800 Subject: [PATCH] ĺ synchronized --- src/main/java/com/xcong/farmer/cms/modules/system/mapper/CmsTemplateMapper.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/farmer/cms/modules/system/mapper/CmsTemplateMapper.java b/src/main/java/com/xcong/farmer/cms/modules/system/mapper/CmsTemplateMapper.java index 6e8a7c8..b1ebdfa 100644 --- a/src/main/java/com/xcong/farmer/cms/modules/system/mapper/CmsTemplateMapper.java +++ b/src/main/java/com/xcong/farmer/cms/modules/system/mapper/CmsTemplateMapper.java @@ -11,4 +11,6 @@ IPage<CmsTemplateEntity> selectInPage(IPage<CmsTemplateEntity> page, @Param("record") CmsTemplateEntity cmsTemplateEntity); int delete(@Param("id") Long id, @Param("companyId") Long companyId); + + CmsTemplateEntity selectByIdAndCompanyId(@Param("id") Long id, @Param("companyId") Long companyId); } -- Gitblit v1.9.1