Commit c5cbaff7 by jianshuqin

增加功能:同步OMS订单增加Skutype字段

parent 224aa7de
......@@ -1357,6 +1357,7 @@ public class OrderSyncJob extends PointJob {
dcBaseOmsSku.setBailunSku(bailunSku.getBailunSku());
if (bailunSku.getProSkuItemExtVO() != null) {
dcBaseOmsSku.setBailunGroupSku(bailunSku.getProSkuItemExtVO().getGroupSku());
dcBaseOmsSku.setBailunSkuType(bailunSku.getProSkuItemExtVO().getToSkumsType());
}
if (dcBaseWarehouse != null) {
dcBaseOmsSku.setWarehouseCode(dcBaseWarehouse.getWarehouseCode());
......
......@@ -378,6 +378,15 @@ public class DcBaseOmsSku {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_oms_sku.bailun_sku_type
*
* @mbg.generated
*/
private Integer bailunSkuType;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_oms_sku.bailun_sku_title_en
*
* @mbg.generated
......
......@@ -524,6 +524,9 @@
<if test="bailunGroupSku != null">
bailun_group_sku,
</if>
<if test="bailunSkuType!= null">
bailun_sku_type,
</if>
<if test="bailunSkuTitleEn != null">
bailun_sku_title_en,
</if>
......@@ -922,6 +925,9 @@
<if test="bailunGroupSku != null">
#{bailunGroupSku,jdbcType=VARCHAR},
</if>
<if test="bailunSkuType != null">
#{bailunSkuType,jdbcType=INTEGER},
</if>
<if test="bailunSkuTitleEn != null">
#{bailunSkuTitleEn,jdbcType=VARCHAR},
</if>
......@@ -1338,6 +1344,9 @@
<if test="record.bailunGroupSku != null">
bailun_group_sku = #{record.bailunGroupSku,jdbcType=VARCHAR},
</if>
<if test="record.bailunSkuType != null">
bailun_sku_type = #{record.bailunSkuType,jdbcType=INTEGER},
</if>
<if test="record.bailunSkuTitleEn != null">
bailun_sku_title_en = #{record.bailunSkuTitleEn,jdbcType=VARCHAR},
</if>
......
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