Browse Source

RFQ 请先维护属性模版

java8
han\hanst 2 months ago
parent
commit
b58459c495
  1. 6
      src/main/java/com/xujie/sys/modules/part/service/impl/PartInformationServiceImpl.java

6
src/main/java/com/xujie/sys/modules/part/service/impl/PartInformationServiceImpl.java

@ -1016,7 +1016,11 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe
item.setRecordType(recordType); item.setRecordType(recordType);
item.setCodeNo(codeNo); item.setCodeNo(codeNo);
}); });
partInformationMapper.addPartItems(list1);
try {
partInformationMapper.addPartItems(list1);
} catch (RuntimeException e) {
throw new RuntimeException("请先维护属性模版!");
}
} }
} }
partInformationService.commitItemValue(list.get(i)); partInformationService.commitItemValue(list.get(i));

Loading…
Cancel
Save