Authored by wangnan

颜色使用有货的名称

... ... @@ -384,7 +384,7 @@ public class TblLogicService {
String skcDefaultImages = getCover(jsonArray, false);
JSONObject jsonObj = new JSONObject();
jsonObj.put("goods_id", skc.getProductSkc() == null ? "" : skc.getProductSkc());
jsonObj.put("color_name", skc.getColor() == null ? "" : skc.getColor());
jsonObj.put("color_name", colorFieldMap.get(skc.getColorSysId()) == null ? "" : colorFieldMap.get(skc.getColorSysId()));
jsonObj.put("color_id", skc.getColorSysId() == null ? "" : skc.getColorSysId());
jsonObj.put("cover_1", "");
jsonObj.put("cover_2", "");
... ...