fix(自定义对比): 单元格编辑问题修复

This commit is contained in:
yjz
2023-10-30 17:19:58 +08:00
parent e3414dc946
commit 00f9636035
2 changed files with 8 additions and 9 deletions
@@ -27,14 +27,14 @@ public class TestClient {
public static void main(String[] args) throws JsonProcessingException { public static void main(String[] args) throws JsonProcessingException {
TestClient testClient = new TestClient(); TestClient testClient = new TestClient();
testClient.sendSchemaService(); // 字段映射接口测试 // testClient.sendSchemaService(); // 字段映射接口测试
// testClient.sendUserCreate(); // 创建用户接口测试 //// testClient.sendUserCreate(); // 创建用户接口测试
testClient.sendUserUpdate(); // 更新用户接口测试 // testClient.sendUserUpdate(); // 更新用户接口测试
testClient.sendOrgCreate(); // 组织创建接口测试 // testClient.sendOrgCreate(); // 组织创建接口测试
testClient.sendQueryAllUserIdsService(); // 查询所有用户ID接口测试 testClient.sendQueryAllUserIdsService(); // 查询所有用户ID接口测试
testClient.sendQueryAllOrgIdsService(); // 查询所有组织ID接口测试 // testClient.sendQueryAllOrgIdsService(); // 查询所有组织ID接口测试
testClient.sendQueryOrgByIdService(); // 查询指定id的组织数据测试 // testClient.sendQueryOrgByIdService(); // 查询指定id的组织数据测试
testClient.sendQueryUserByIdService(); // 查询指定id的用户数据测试 // testClient.sendQueryUserByIdService(); // 查询指定id的用户数据测试
} }
// 对数据解密 // 对数据解密
@@ -223,7 +223,6 @@ public class TestClient {
AcceptEncryptPo sendPoDataEntity = handlerPoPackage(encryptData); AcceptEncryptPo sendPoDataEntity = handlerPoPackage(encryptData);
String sendPoDataJson = objectMapper.writeValueAsString(sendPoDataEntity); String sendPoDataJson = objectMapper.writeValueAsString(sendPoDataEntity);
String response = HttpUtil.post(url, sendPoDataJson); String response = HttpUtil.post(url, sendPoDataJson);
System.out.println("查询全部用户id接口响应:" + response); System.out.println("查询全部用户id接口响应:" + response);
@@ -166,7 +166,7 @@ public class LawsCustomCompareInfoController {
@AutoLog(value = "自定义对比-单元格内容保存") @AutoLog(value = "自定义对比-单元格内容保存")
@ApiOperation(value="自定义对比-单元格内容保存", notes="自定义对比-单元格内容保存") @ApiOperation(value="自定义对比-单元格内容保存", notes="自定义对比-单元格内容保存")
@PostMapping(value = "/saveCell") @PostMapping(value = "/saveCell")
public Result<IPage<StandardVO>> saveCell(LawsCustomCompareCell lawsCustomCompareCell) { public Result<IPage<StandardVO>> saveCell(@RequestBody LawsCustomCompareCell lawsCustomCompareCell) {
lawsCustomCompareCellService.save(lawsCustomCompareCell); lawsCustomCompareCellService.save(lawsCustomCompareCell);
return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); return Result.OK(MessageUtils.getMessage(ResultCommon.OK));
} }