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(); } /**