fix():重新构建数据处理结构
parent
3b2e16a39e
commit
6dde202353
|
@ -56,18 +56,4 @@ public class FenceGroup {
|
|||
.groupStates(states)
|
||||
.build();
|
||||
}
|
||||
|
||||
public static FenceGroup carFenceUpdateById(Integer states, FenceGroupUpdateReq fenceGroupBuilder ){
|
||||
return FenceGroup.builder()
|
||||
.groupId(fenceGroupBuilder.getGroupId())
|
||||
.groupStates(states)
|
||||
.build();
|
||||
}
|
||||
|
||||
public static FenceGroup closeCarFenceUpdateById(Integer states, Long groupId ){
|
||||
return FenceGroup.builder()
|
||||
.groupId(groupId)
|
||||
.groupStates(states)
|
||||
.build();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ package com.muyu.controller;
|
|||
|
||||
import com.muyu.common.core.domain.Result;
|
||||
import com.muyu.domain.FenceGroup;
|
||||
import com.muyu.service.CarAndFenceGroupMiddleService;
|
||||
import com.muyu.enterpise.service.CarAndFenceGroupMiddleService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.muyu.mapper;
|
||||
package com.muyu.enterpise.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.muyu.common.core.web.controller.BaseController;
|
||||
|
|
Loading…
Reference in New Issue