From d20cf2979502fd58c999d2dc7df12e554a31d3df Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期三, 24 七月 2024 11:07:54 +0800 Subject: [PATCH] 花城 排行范围选择本单位,呈现出了该账号单位以外的其它单位信息 党员活动的时长计算有问题。 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComFmsServiceServiceImpl.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComFmsServiceServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComFmsServiceServiceImpl.java index f724134..8eee21d 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComFmsServiceServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComFmsServiceServiceImpl.java @@ -296,13 +296,13 @@ comFmsService.setPhone(userInfo.getPhone()); int num = this.baseMapper.addBracelet(comFmsService); if (num > 0) { -// ComFmsServiceRecord comFmsServiceRecord = new ComFmsServiceRecord(); -// comFmsServiceRecord.setServiceId(comFmsService.getId()); -// comFmsServiceRecord.setContent(adminDTO.getServiceContent()); -// comFmsServiceRecord.setImage(adminDTO.getServiceImage()); -// comFmsServiceRecord.setStage(ComFmsServiceRecord.Stage.TJFWSQ); -// comFmsServiceRecord.setCreatedBy(userInfo.getUserId()); -// comFmsServiceRecordDAO.insert(comFmsServiceRecord); + ComFmsServiceRecord comFmsServiceRecord = new ComFmsServiceRecord(); + comFmsServiceRecord.setServiceId(Long.valueOf(baseMapper.getLastId())); + comFmsServiceRecord.setContent(adminDTO.getServiceContent()); + comFmsServiceRecord.setImage(adminDTO.getServiceImage()); + comFmsServiceRecord.setStage(ComFmsServiceRecord.Stage.TJFWSQ); + comFmsServiceRecord.setCreatedBy(userInfo.getUserId()); + comFmsServiceRecordDAO.insertOneBatch(comFmsServiceRecord); return R.ok(); } return R.fail("操作失败,请重新尝试"); -- Gitblit v1.7.1