xuhy
2026-03-27 0923c2a6f1a7b4d28e39f566f9ff27557e2bf250
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TLargeKeyGridUserController.java
@@ -109,7 +109,11 @@
    @ApiOperation(value = "修改重点人员-网格人员")
    @PostMapping(value = "/update")
    public R<Boolean> update(@Validated @RequestBody TLargeKeyGridUser dto) {
        return R.ok(largeKeyGridUserService.updateById(dto));
        largeKeyGridUserService.updateById(dto);
        if(!StringUtils.hasLength(dto.getTypeId())){
            largeKeyGridUserService.update(Wrappers.lambdaUpdate(TLargeKeyGridUser.class).set(TLargeKeyGridUser::getTypeId, null).eq(TLargeKeyGridUser::getId, dto.getId()));
        }
        return R.ok();
    }
    /**