|
|
|
@ -272,6 +272,17 @@ public class ZyjhController {
|
|
|
|
|
|
|
|
|
|
//生成零件信息
|
|
|
|
|
for (DmYdjh item : list) {
|
|
|
|
|
//兼容老系统回报的数据
|
|
|
|
|
int count = mpDhsjServcie.count(Wrappers.<MpDhsj>lambdaQuery()
|
|
|
|
|
.eq(MpDhsj::getDcCh,item.getDcCh())
|
|
|
|
|
.eq(MpDhsj::getDcPl,item.getDcPl())
|
|
|
|
|
.eq(MpDhsj::getDcTh,item.getTzbh())
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
if (count>0){
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
List<DmYdjhLj> ljList = zyjhService.createLj(item.getDcCh(), item.getDcPl(), item.getTzbh());
|
|
|
|
|
//质量跟踪数据
|
|
|
|
|
List<MpDhsj> collect = new ArrayList<>();
|
|
|
|
|