|
|
|
@ -605,9 +605,9 @@ public class TechnicalSpecificationServiceImpl implements TechnicalSpecification |
|
|
|
public List<PlmBmPropertiesValueData> searchBMPropertiesValue(SearchBMData data){ |
|
|
|
//查询header表 有没有数据 |
|
|
|
List<PlmBmPropertiesValueHeaderData> check = technicalSpecificationMapper.checkPlmBmPropertiesValueHeaderData(data); |
|
|
|
if(check.size()==0){ |
|
|
|
if (check.isEmpty()) { |
|
|
|
List<PlmBmModelHeaderData> checkHeader = technicalSpecificationMapper.checkBMModelHeader(data); |
|
|
|
if(checkHeader.size()>0){ |
|
|
|
if (!checkHeader.isEmpty()) { |
|
|
|
if (checkHeader.get(0).getPropertiesCodeNo() != null && !"".equals(checkHeader.get(0).getPropertiesCodeNo())) { |
|
|
|
technicalSpecificationMapper.savePlmBmPropertiesValueHeaderData(data); |
|
|
|
technicalSpecificationMapper.savePlmBmPropertiesValueData(data); |
|
|
|
|