Commit d4461006 by zhaoxiaolei

H3C撞配

parent de939588
......@@ -32,4 +32,6 @@ public interface SuperBomSkuInfoMapper extends IBaseMapper<SuperBomSkuInfo> {
List<String> getConfigInfos(String configId);
void updateSkuStatus(SuperBomSkuInfo returnSkuInfo);
void updateSkuStatusH3c(String configId,String skuCode,String skuName,String description,String productType,String productSmallType);
}
......@@ -18,9 +18,9 @@ import java.util.List;
public class GetSKUByH3CConfigInfo {
@JsonProperty(value = "TOKEN")
private String token;
@JsonProperty(value = "QUOTERID")
@JsonProperty(value = "QUOTER_ID")
private String quoter_id;
@JsonProperty(value = "QUOTERNUMBER")
@JsonProperty(value = "QUOTER_NUMBER")
private String quoter_number;
@JsonProperty(value = "H3CPNLIST")
private List<H3CPNList> h3CPNList;
......
......@@ -177,6 +177,7 @@ public class SuperBomSkuInfo extends BasePageDto implements Serializable {
@Column(name = "id")
private String id;
/**
* setUnisSalesName
*/
......
......@@ -373,6 +373,6 @@
</select>
<select id="getConfigId" resultType="cn.com.uitech.authorization.pojo.entity.ConfigurableBom">
select config_id from super_bom_info where h3c_pn = #{h3cPn}
select * from super_bom_info where h3c_pn = #{h3cPn}
</select>
</mapper>
\ No newline at end of file
......@@ -194,4 +194,14 @@
<update id="updateSkuStatus">
update super_bom_sku_info set apply_status = '未回号' , apply_user = #{applyUser} , apply_time = now() where config_id = #{configId}
</update>
<update id="updateSkuStatusH3c">
update super_bom_sku_info set apply_status = '已回号' ,
apply_user = 'H3C' ,
apply_time = now(),
description = #{description},
product_type = #{productType},
product_small_type = #{productSmallType}
where config_id = #{configId}
</update>
</mapper>
\ No newline at end of file
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