|
|
|
@ -806,7 +806,9 @@ public class ProcessProductPublishTaskService extends TaskBaseService {
|
|
|
|
|
StrObjMap mStrObjmap = new StrObjMap();
|
|
|
|
|
mStrObjmap.put("name",attribute.getPropertyName());
|
|
|
|
|
mStrObjmap.put("diy_type",attribute.getDiyType());
|
|
|
|
|
mStrObjmap.put("value",ObjectUtil.isNotEmpty(attribute.getOptions())?attribute.getOptions().get(0).getValue():0);
|
|
|
|
|
String valueStr = ObjectUtil.isNotEmpty(attribute.getOptions())?attribute.getOptions().get(0).getValue():"0";
|
|
|
|
|
Object valueObj = CommonTool.convertToNumericType(valueStr);
|
|
|
|
|
mStrObjmap.put("value",valueObj);
|
|
|
|
|
matchList.add(mStrObjmap);
|
|
|
|
|
matchAttrs.put(currAid, matchList);
|
|
|
|
|
}
|
|
|
|
|