|
|
|
@ -133,6 +133,15 @@ public class MesReportWorkServiceImpl implements IMesReportWorkService {
|
|
|
|
|
@DS("#header.poolName")
|
|
|
|
|
public List<MesReportWork> getReportWorkHzList(MesReportWork mesReportWork) {
|
|
|
|
|
List<MesReportWork> dtos = mesReportWorkMapper.getReportWorkHzList(mesReportWork);
|
|
|
|
|
for(MesReportWork dto:dtos){
|
|
|
|
|
if("1".equals(dto.getUploadStatus())){
|
|
|
|
|
dto.setUploadStatus("sap报工成功");
|
|
|
|
|
}else if("2".equals(dto.getUploadStatus())){
|
|
|
|
|
dto.setUploadStatus("sap报工失败");
|
|
|
|
|
}else if("0".equals(dto.getUploadStatus())){
|
|
|
|
|
dto.setUploadStatus("待报工sap");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return dtos;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|