From 0c8e628c5e23fdf1b75b17fcf7dd768a0918050b Mon Sep 17 00:00:00 2001 From: 张天森 <1292933220@qq.com> Date: 星期二, 18 十月 2022 10:17:20 +0800 Subject: [PATCH] 三说会堂事件操作权限处理 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngVolunteerOrgTeamServiceImpl.java | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngVolunteerOrgTeamServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngVolunteerOrgTeamServiceImpl.java index 60332b9..60f9e99 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngVolunteerOrgTeamServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngVolunteerOrgTeamServiceImpl.java @@ -25,7 +25,7 @@ * @author lyq * @since 2021-10-30 16:32:54 */ -@Service("comMngVolunteerOrgTeamService") +@Service public class ComMngVolunteerOrgTeamServiceImpl extends ServiceImpl<ComMngVolunteerOrgTeamMapper, ComMngVolunteerOrgTeam> implements ComMngVolunteerOrgTeamService { @Resource @@ -64,7 +64,6 @@ public R insert(AddComMngVolunteerOrgTeamDto comMngVolunteerOrgTeam) { ComMngVolunteerOrgTeam entity = new ComMngVolunteerOrgTeam(); BeanUtils.copyProperties(comMngVolunteerOrgTeam, entity); - entity.setId(Snowflake.getId()); if (this.baseMapper.insert(entity) > 0) { return R.ok(); } -- Gitblit v1.7.1