u
This commit is contained in:
1 parent
3e172a1d53
commit
401a6719f6
12 files changed
+487
-277
No files matched your search
+2
-2
@@ -56,11 +56,11 @@ public class FileController {
|
||||
@PostMapping("/delete")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Result<Void> deleteFile(@RequestBody Map<String, Object> params) {
|
||||
ValidationUtils.checkRequiredFields(params, "id", "tableName", "bucketName");
|
||||
ValidationUtils.checkRequiredFields(params, "subid", "tableName", "bucketName");
|
||||
|
||||
String tableName = params.get("tableName").toString();
|
||||
String bucketName = params.get("bucketName").toString();
|
||||
String id = params.get("id").toString();
|
||||
String id = params.get("subid").toString();
|
||||
|
||||
// 查询数据
|
||||
List<Map<String, Object>> maps = dbUtils.loadData("SELECT * FROM " + tableName + " WHERE subid = ?", id);
|
||||
|
||||
Reference in new issue
Block a user