kongdeqiang
2024-03-18 ffa5f49a2bcb6311486d00777b3629538eb3e6f0
src/main/java/com/boying/controller/WhiteListController.java
@@ -15,7 +15,7 @@
@RestController
@RequestMapping("whiteList")
@RequestMapping("ffzf/whiteList")
@RequiredArgsConstructor
public class WhiteListController{
@@ -27,7 +27,7 @@
        QueryWrapper<WhiteList> wrapper = new QueryWrapper<>();
        wrapper.lambda()
                .orderByDesc(WhiteList::getId)
                .eq(StringUtils.isNotBlank(carNo),WhiteList::getCarNo,carNo);
                .like(StringUtils.isNotBlank(carNo),WhiteList::getCarNo,carNo);
        Page<WhiteList> page1 = whiteListService.page(page, wrapper);
        for (WhiteList record : page1.getRecords()) {
            if(record.getParkId() != null){
@@ -45,7 +45,7 @@
                .eq(StringUtils.isNotBlank(carNo),WhiteList::getCarNo,carNo);
        Page<WhiteList> page1 = whiteListService.page(page, wrapper);
        for (WhiteList record : page1.getRecords()) {
            if(record.getParkIds() != null){
            if(StringUtils.isNotBlank(record.getParkIds())){
                String s = "";
                String parkIds = record.getParkIds();
                String[] split = parkIds.split(",");