From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/CommunityJobHandler.java | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/CommunityJobHandler.java b/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/CommunityJobHandler.java index bdfde40..a6b44ac 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/CommunityJobHandler.java +++ b/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/CommunityJobHandler.java @@ -47,7 +47,7 @@ @XxlJob("test") public ReturnT<String> test(String param) throws Exception { log.info("定时测试"); - log.info("执行结果【{}】", "sucess"); + log.info("执行结果1111【{}】", "sucess"); return ReturnT.SUCCESS; } @@ -114,7 +114,7 @@ sysUserNoticeVO.setBusinessContent("报名人数不足活动自动取消"); sysUserNoticeVO.setBusinessStatus(1); sysUserNoticeVO - .setActivityType(activitySignVO.getIsVolunteer().intValue() == 1 ? 1 : 2); + .setActivityType(activitySignVO.getSignIdentity().intValue() == 1 ? 1 : 2); R r2 = userService.addNotice(sysUserNoticeVO); if (R.isOk(r2)) { log.info("新增社区活动取消通知成功【{}】", JSONObject.toJSONString(sysUserNoticeVO)); @@ -155,8 +155,7 @@ AddComActIntegralUserDTO addComActIntegralUserDTO = new AddComActIntegralUserDTO(); addComActIntegralUserDTO.setUserId(people.getUserId()); addComActIntegralUserDTO.setIntegralType(AddComActIntegralUserDTO.integralType.qxhd); - addComActIntegralUserDTO.setActivityType(1); - addComActIntegralUserDTO.setIsVolunteer(people.getIsVolunteer()); + addComActIntegralUserDTO.setSignIdentity(people.getSignIdentity()); addComActIntegralUserDTO.setCommunityId(people.getCommunityId()); addComActIntegralUserDTO.setServiceId(activityId); communityService.addIntegralTradeAdmin(addComActIntegralUserDTO); -- Gitblit v1.7.1