update - 质检记录插入班组字段

master
wangh 11 months ago
parent 4116e08753
commit f535efc23b

@ -92,7 +92,7 @@ public class PdaApiController {
inspection.setInspectorCode(checkInfo.getUserName()); inspection.setInspectorCode(checkInfo.getUserName());
inspection.setInspectorTime(new Date()); inspection.setInspectorTime(new Date());
inspection.setStationCode(checkInfo.getStationCode()); inspection.setStationCode(checkInfo.getStationCode());
inspection.setGroupCode(checkInfo.getTeamName()); inspection.setGroupCode(checkInfo.getTeamCode());
assert list != null; assert list != null;
if (!list.isEmpty()) { if (!list.isEmpty()) {
CheckInfoDto.DefectBeen defectBeen = list.get(i); CheckInfoDto.DefectBeen defectBeen = list.get(i);

@ -13,17 +13,17 @@ public class CheckInfoDto {
private List<DefectBeen> list;//缺陷列表 private List<DefectBeen> list;//缺陷列表
private String stationCode; private String stationCode;
private String userName; private String userName;
private String teamName; private String teamCode;
public String getMeasure() { public String getMeasure() {
return measure; return measure;
} }
public String getTeamName() { public String getTeamCode() {
return teamName; return teamCode;
} }
public void setTeamName(String teamName) { public void setTeamCode(String teamCode) {
this.teamName = teamName; this.teamCode = teamCode;
} }
public void setMeasure(String measure) { public void setMeasure(String measure) {

Loading…
Cancel
Save