You've already forked reflex-wms-connector
ajout fonction jsonString
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<#-- *********************************************** Parameter global ******************** -->
|
||||
<#assign cloudEventMsg = JsonUtil.jsonToMap(input)>
|
||||
<#assign cloudEventMsg = JsonUtil.jsonToMap(input)>
|
||||
<#assign projectRP = project>
|
||||
<#assign organisationRP = organisation>
|
||||
<#include "HfExpGrpList.ftl">
|
||||
@@ -15,14 +15,14 @@
|
||||
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
|
||||
<#assign file = JsonUtil.jsonToMap(dataRfx)>
|
||||
|
||||
<#assign temp = ExpiryGroupList64>
|
||||
<#assign temp = ExpiryGroupList64>
|
||||
<#list file.expiry_group_list as expiry_group>
|
||||
<#assign temp = JsonUtil.update(temp,cloudEventMsg.action,expiry_group.exipiry_group_code,Date_Tye_Code_KV[expiry_group.priority_date_type_code])>
|
||||
</#list>
|
||||
<#assign output = JsonUtil.print(temp)>
|
||||
${output}
|
||||
${output}
|
||||
<#break>
|
||||
|
||||
|
||||
<#default>
|
||||
<#stop>
|
||||
<#stop >
|
||||
</#switch>
|
||||
|
||||
Reference in New Issue
Block a user