4

有偿求助 Mulesoft 的语法

 1 year ago
source link: https://www.v2ex.com/t/887705
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  程序员

有偿求助 Mulesoft 的语法

  muchenlou · 42 分钟前 · 94 次点击
50 块钱翻译一条 Mulesoft 的语法

```json
upper(vars.orderData.source_app) == "DH"
and (vars.orderData.store_id as Number)!= 9291
and upper(vars.orderData.order_lineitem_status_code) == "AUDITED"
and vars.orderData.custom_attributes.order_flow == "S"
and isEmpty(vars.orderData.order_lineitem_components[?($.material_type_id == vars.materialType[?( upper($.order_type) == "ART")].id[0])].*custom_attributes) == false
and (vars.orderData.order_lineitem_components[?($.material_type_id == vars.materialType[?( upper($.order_type) == "ART")].id[0])].*custom_attributes.art_type contains 'image_upload')
```

主要是这条
```json
isEmpty(vars.orderData.order_lineitem_components[?($.material_type_id == vars.materialType[?( upper($.order_type) == "ART")].id[0])].*custom_attributes) == false
```

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK