Commit 11187680 by zhaoxiaolei

H3C

parent 34d44fbb
...@@ -950,11 +950,13 @@ public class IntegrateServiceImpl implements IntegrateService { ...@@ -950,11 +950,13 @@ public class IntegrateServiceImpl implements IntegrateService {
Object data = map1.get("data"); Object data = map1.get("data");
Object data2 = JSONObject.toJSON(data); Object data2 = JSONObject.toJSON(data);
Map<String, Object> map2 = (Map<String, Object>) data2; Map<String, Object> map2 = (Map<String, Object>) data2;
if(!ObjectUtils.isEmpty(map2)){
cpnList.setSkuCode((String) map2.get("skuCode"));
cpnList.setSkuName((String) map2.get("skuName"));
cpnList.setPatern("CTO");
}
result.setCode(code); result.setCode(code);
result.setMsg((String) map1.get("msg")); result.setMsg((String) map1.get("msg"));
cpnList.setSkuCode((String) map2.get("skuCode"));
cpnList.setSkuName((String) map2.get("skuName"));
cpnList.setPatern("CTO");
result.setData(configSkuInfo); result.setData(configSkuInfo);
} }
} }
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
</insert> </insert>
<select id="findByCharacteristicName" resultType="cn.com.uitech.authorization.pojo.entity.Characteristic"> <select id="findByCharacteristicName" resultType="cn.com.uitech.authorization.pojo.entity.Characteristic">
select * from super_characteristic_info where unis_sales_c_name = #{characteristicName} and super_bom_code = #{superBomCode} select * from super_characteristic_info where characteristic_name = #{characteristicName} and super_bom_code = #{superBomCode}
</select> </select>
<select id="getNameByCode" resultType="java.lang.String"> <select id="getNameByCode" resultType="java.lang.String">
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
FROM ( FROM (
SELECT SELECT
a.*, a.*,
b.*,
c.is_State as bomStatus c.is_State as bomStatus
FROM super_characteristic_value_info a FROM super_characteristic_value_info a
LEFT JOIN super_characteristic_info b ON a.Characteristic_Code=b.Characteristic_Code LEFT JOIN super_characteristic_info b ON a.Characteristic_Code=b.Characteristic_Code
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment