报工备注

master
zhaoxiaolin 2 months ago
parent bdb7dc69c0
commit 7361313e08

@ -268,12 +268,12 @@ public class MesReportWorkServiceImpl implements IMesReportWorkService {
mesReportWork.setUpdateBy(updateBy); mesReportWork.setUpdateBy(updateBy);
} }
//统一备注 //统一备注
List<String> remarks = mesReportWorkMapper.getUnionRemark(mesReportWorks.get(0).getWorkorderCode()); // List<String> remarks = mesReportWorkMapper.getUnionRemark(mesReportWorks.get(0).getWorkorderCode());
if(!CollectionUtils.isEmpty(remarks)){ // if(!CollectionUtils.isEmpty(remarks)){
for(MesReportWork mesReportWork:mesReportWorks){ for(MesReportWork mesReportWork:mesReportWorks){
mesReportWork.setRemark(remarks.get(0)); mesReportWork.setRemark(mesReportWorks.get(0).getRemark());
}
} }
// }
return mesReportWorkMapper.submitReportPS(mesReportWorks); return mesReportWorkMapper.submitReportPS(mesReportWorks);
} }

Loading…
Cancel
Save