diff --git a/aucma-api/src/main/java/com/aucma/api/controller/PdaApiController.java b/aucma-api/src/main/java/com/aucma/api/controller/PdaApiController.java index fad7e96..31e9f7d 100644 --- a/aucma-api/src/main/java/com/aucma/api/controller/PdaApiController.java +++ b/aucma-api/src/main/java/com/aucma/api/controller/PdaApiController.java @@ -92,7 +92,7 @@ public class PdaApiController { inspection.setInspectorCode(checkInfo.getUserName()); inspection.setInspectorTime(new Date()); inspection.setStationCode(checkInfo.getStationCode()); - inspection.setGroupCode(checkInfo.getTeamName()); + inspection.setGroupCode(checkInfo.getTeamCode()); assert list != null; if (!list.isEmpty()) { CheckInfoDto.DefectBeen defectBeen = list.get(i); diff --git a/aucma-api/src/main/java/com/aucma/api/domain/dto/CheckInfoDto.java b/aucma-api/src/main/java/com/aucma/api/domain/dto/CheckInfoDto.java index 5dab844..207d9a2 100644 --- a/aucma-api/src/main/java/com/aucma/api/domain/dto/CheckInfoDto.java +++ b/aucma-api/src/main/java/com/aucma/api/domain/dto/CheckInfoDto.java @@ -13,17 +13,17 @@ public class CheckInfoDto { private List list;//缺陷列表 private String stationCode; private String userName; - private String teamName; + private String teamCode; public String getMeasure() { return measure; } - public String getTeamName() { - return teamName; + public String getTeamCode() { + return teamCode; } - public void setTeamName(String teamName) { - this.teamName = teamName; + public void setTeamCode(String teamCode) { + this.teamCode = teamCode; } public void setMeasure(String measure) {