|
@@ -205,6 +205,8 @@ public class GoodsProductServiceImpl implements GoodsProductService {
|
|
|
}
|
|
|
goodsProductEntity.setGrossWeight(goodsProductEntity.getNetWeight().add(new BigDecimal("0.05")));
|
|
|
|
|
|
+ goodsProductEntity.setCusGoodsCode(new BigDecimal(goodsProductEntity.getCusGoodsCode()).toPlainString());
|
|
|
+
|
|
|
goodsProductEntity.setDeclPrice(new BigDecimal(goodsProductDto.getDeclPrice()));
|
|
|
goodsProductEntity.setCreateTime(new Date());
|
|
|
goodsProductEntity.setCreaterSn(ShiroUtils.getUserId().toString());
|
|
@@ -378,7 +380,7 @@ public class GoodsProductServiceImpl implements GoodsProductService {
|
|
|
public String pullFromOms() {
|
|
|
try {
|
|
|
|
|
|
- }catch (Exception e){
|
|
|
+ } catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
return "同步产品备案信息失败,请联系管理员";
|
|
|
}
|