chinab / bocket

Automatically exported from code.google.com/p/bocket
0 stars 0 forks source link

Add 4 fields for Address #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Original issue reported on code.google.com by jayjich...@gmail.com on 19 Jun 2009 at 6:31

GoogleCodeExporter commented 9 years ago
Done.

Address was removed.
Country, State, City, Street, ZipCode was added.

JSON:
[{"CardCode":"s1","CardName":"summer 
corp.","CardType":"cSupplier","PhoneNum":"456 
56 
35677","Email":"admin@summer.com","Country":"DE","State":"","City":"","Street":"
HuaiH
ai Road","ZipCode":"","ContactPerson":""},{"CardCode":"c1","CardName":"Nike 
Sports 
Corp.","CardType":"cCustomer","PhoneNum":"86 21 749 
54446","Email":"sales@nike.com","Country":"DE","State":"","City":"shanghai","Str
eet":
"abc","ZipCode":"1234","ContactPerson":""},{"CardCode":"c2","CardName":"HP 
Computers","CardType":"cCustomer","PhoneNum":"48 54 
234566","Email":"webmaster@hp.com.cn","Country":"DE","State":"","City":"","Stree
t":"6
00 ZuChongzhi Road","ZipCode":"","ContactPerson":""},
{"CardCode":"s2","CardName":"Apple Inc.","CardType":"cSupplier","PhoneNum":"88 
555 
22487","Email":"steve.jobs@apple.com","Country":"DE","State":"","City":"","Stree
t":"1
001 ChenHui Road","ZipCode":"","ContactPerson":"Steve Jobs"},
{"CardCode":"s3","CardName":"Microsoft 
corp.","CardType":"cSupplier","PhoneNum":"234 
25 
24666","Email":"steve@microsoft.com","Country":null,"State":null,"City":null,"St
reet"
:null,"ZipCode":null,"ContactPerson":"Steve Ballmer"},
{"CardCode":"S4","CardName":"Vendor no4","CardType":"cSupplier","PhoneNum":"601 
6841","Email":"verdon1234@sap.com","Country":null,"State":null,"City":null,"Stre
et":n
ull,"ZipCode":null,"ContactPerson":""},{"CardCode":"S5","CardName":"Belkin 
accessories","CardType":"cSupplier","PhoneNum":"21346 234 
24","Email":"belkin@belkincorp.com","Country":null,"State":null,"City":null,"Str
eet":
null,"ZipCode":null,"ContactPerson":"Kobe Bryant"},
{"CardCode":"S6","CardName":"Lenovo 
Shanghai","CardType":"cSupplier","PhoneNum":"86 
21 6108 
0010","Email":"james@lenovo.com","Country":null,"State":null,"City":null,"Street
":nul
l,"ZipCode":null,"ContactPerson":"James 
Wang"},{"CardCode":"V7","CardName":"Vendor 
07","CardType":"cSupplier","PhoneNum":"","Email":"","Country":null,"State":null,
"City
":null,"Street":null,"ZipCode":null,"ContactPerson":""}]

Original comment by jayjich...@gmail.com on 23 Jun 2009 at 7:01

GoogleCodeExporter commented 9 years ago
not use null, use "" instead

Original comment by leon...@gmail.com on 23 Jun 2009 at 2:24

GoogleCodeExporter commented 9 years ago
not use null, use "" instead

Original comment by leon...@gmail.com on 23 Jun 2009 at 2:24

GoogleCodeExporter commented 9 years ago
Done.

Original comment by jayjich...@gmail.com on 29 Jun 2009 at 2:58