Authored by 胡古飞

Merge branch '0220'

@@ -66,10 +66,13 @@ public class ProductExtMqListener extends AbstractMqListener implements ChannelA @@ -66,10 +66,13 @@ public class ProductExtMqListener extends AbstractMqListener implements ChannelA
66 public void updateData(final Map data, final String indexName) throws Exception { 66 public void updateData(final Map data, final String indexName) throws Exception {
67 long begin = System.currentTimeMillis(); 67 long begin = System.currentTimeMillis();
68 ProductExtWithBLOBs productExtWithBLOBs = new ProductExtWithBLOBs(); 68 ProductExtWithBLOBs productExtWithBLOBs = new ProductExtWithBLOBs();
69 - productExtWithBLOBs = (ProductExtWithBLOBs) ConvertUtils.toJavaBean(productExtWithBLOBs, data); 69 + productExtWithBLOBs = (ProductExtWithBLOBs) ConvertUtils.transMap2Bean(ProductExtWithBLOBs.class, data);
70 if (productExtWithBLOBs == null ) { 70 if (productExtWithBLOBs == null ) {
71 return; 71 return;
72 } 72 }
  73 + if(productExtWithBLOBs.getDelayArrivalNotice()==null){
  74 + productExtWithBLOBs.setDelayArrivalNotice("");
  75 + }
73 Integer productId; 76 Integer productId;
74 if (productExtWithBLOBs.getProductSkn() != null) { 77 if (productExtWithBLOBs.getProductSkn() != null) {
75 Product product = productService.getBySkn(productExtWithBLOBs.getProductSkn()); 78 Product product = productService.getBySkn(productExtWithBLOBs.getProductSkn());