whyclxw
2024-11-13 2d5a09f9fe765b73722377b9ee9d8289d0e7cfc6
circle投入使用时间默认为添加的时间
1个文件已修改
3 ■■■■■ 已修改文件
src/main/java/com/whyc/controller/CircleInfController.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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);