From 2d5a09f9fe765b73722377b9ee9d8289d0e7cfc6 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期三, 13 十一月 2024 14:01:21 +0800 Subject: [PATCH] circle投入使用时间默认为添加的时间 --- src/main/java/com/whyc/controller/CircleInfController.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/CircleInfController.java b/src/main/java/com/whyc/controller/CircleInfController.java index 51268a0..3d381dd 100644 --- a/src/main/java/com/whyc/controller/CircleInfController.java +++ b/src/main/java/com/whyc/controller/CircleInfController.java @@ -15,6 +15,8 @@ import org.springframework.util.StringUtils; import org.springframework.web.bind.annotation.*; +import java.util.Date; + @RestController @RequestMapping("circle") @Api(tags = "鍔ㄧ幆绠$悊") @@ -63,6 +65,7 @@ if(circleInf.getSubList()!=null){ circleInf.setSubCount(circleInf.getSubList().size()); } + circleInf.setCircleInuseDate(new Date()); if (service.add(circleInf)>0){ //娣诲姞鏈烘埧绔欑偣鍒扮敤鎴峰搴旂殑鍖呮満缁� binfService.insertUserBattgroupBaojigroupBattgroupSelect(circleInf.getStationId(),0,userId); -- Gitblit v1.9.1