fangmingyue 2 年 前
コミット
2ea5ec1e25
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  1. 1
    0
      src/main/java/com/example/civilizedcity/controller/TdLocTypeController.java

+ 1
- 0
src/main/java/com/example/civilizedcity/controller/TdLocTypeController.java ファイルの表示

@@ -82,6 +82,7 @@ public class TdLocTypeController extends BaseController {
82 82
     @PutMapping("/tdLocType/{id}")
83 83
     public ResponseBean edit(@ApiParam("对象实体") @RequestBody TdLocType tdLocType,
84 84
                             @ApiParam("对象ID") @PathVariable String id ) throws Exception {
85
+        tdLocType.setTypeId(id);
85 86
         tdLocTypeService.updateById(tdLocType);
86 87
         return ResponseBean.success(tdLocType);
87 88
     }