fix(mcp): 修正站点楼座数字段映射 (REQ-20260908-0006)
This commit is contained in:
@@ -176,6 +176,13 @@ class DistrictToolsTest {
|
||||
.path("required").toString().contains("\"id\""));
|
||||
}
|
||||
|
||||
@Test
|
||||
void districtEntityKeepsLegacyBuildCountColumnName() {
|
||||
assertEquals("buildCount", TableInfoHelper.getTableInfo(DistrictDistrictStrategy.class).getFieldList().stream()
|
||||
.filter(field -> "buildCount".equals(field.getProperty()))
|
||||
.findFirst().orElseThrow().getColumn());
|
||||
}
|
||||
|
||||
@Test
|
||||
void listRejectsUnknownDistrictStateBeforeQuerying() {
|
||||
assertThrows(IllegalArgumentException.class, () -> tools.districtListQuery(
|
||||
|
||||
Reference in New Issue
Block a user