Commit 47c77a674e6fe52d0f64e3dbc4f1b501cf06dcf8

Authored by liujiqiang
1 parent a4acf88d

批号结算

commons/scripts/replaceJsonData.py
... ... @@ -24,6 +24,6 @@ def replaceJsonData(json={},data={}):
24 24 json[i] = data[i]
25 25 return json
26 26  
27   -json = {"a":"1","b":[{"c":"1"},{"c":2}],"d":[1],"e":"1","f":{"g":1},"h":1,"i":[1]}
28   -data = {"a":"a","c":"c","e":"e","d": {"d1":"d1"},"g":"g","h":"h"}
29   -print(replaceJsonData(json=json,data=data))
30 27 \ No newline at end of file
  28 +# json = {"a":"1","b":[{"c":"1"},{"c":2}],"d":[1],"e":"1","f":{"g":1},"h":1,"i":[1]}
  29 +# data = {"a":"a","c":"c","e":"e","d": {"d1":"d1"},"g":"g","h":"h"}
  30 +# print(replaceJsonData(json=json,data=data))
31 31 \ No newline at end of file
... ...