|
|
|
@ -292,6 +292,11 @@ public class PropertiesServiceImpl implements PropertiesService { |
|
|
|
//公共参数 |
|
|
|
String functionType = inData.getFunctionType(); |
|
|
|
List<String> list = inData.getList().stream().map(PlmPropertiesItemData::getPropertiesItemNo).collect(Collectors.toList()); |
|
|
|
if("toolApply".equals(inData.getCodeNo())){ |
|
|
|
//toolApply 也是TL类型 防止进下方判断 |
|
|
|
return propertiesMapper.searchPropertiesUnChoose("*", functionType, list); |
|
|
|
} |
|
|
|
|
|
|
|
//区分是否是工具方法过来的参数 |
|
|
|
if("TL".equalsIgnoreCase(functionType) || "TLI".equalsIgnoreCase(functionType)){ |
|
|
|
return propertiesMapper.searchPropertiesChoose("*", functionType, list); |
|
|
|
@ -647,7 +652,7 @@ public class PropertiesServiceImpl implements PropertiesService { |
|
|
|
|
|
|
|
@Override |
|
|
|
@Transactional |
|
|
|
public void saveSubPropertiesValueForAlone(List<PartSubPropertiesValueData> inData){ |
|
|
|
public void saveSubPropertiesValueForAlone(List<PartSubPropertiesValueData> inData){ |
|
|
|
for (int i = 0; i <inData.size() ; i++) { |
|
|
|
Double seqNo=propertiesMapper.getNewSeqNoForAlone(inData.get(i)); |
|
|
|
inData.get(i).setItemNo(seqNo); |
|
|
|
|