Commit b5725e69 authored by neo's avatar neo

[bugfix] json filed fro code

parent ba86838f
package pwc.taxtech.atms.dto.vatdto; package pwc.taxtech.atms.dto.vatdto;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List; import java.util.List;
public class JsonParentCodesLookup { public class JsonParentCodesLookup {
...@@ -11,7 +14,7 @@ public class JsonParentCodesLookup { ...@@ -11,7 +14,7 @@ public class JsonParentCodesLookup {
private String direction; private String direction;
// REQUIRED: @JSONField(name = "accountCode")
private String acctCode; private String acctCode;
private List<JsonParentCodesLookup> children; private List<JsonParentCodesLookup> children;
...@@ -46,7 +49,7 @@ public class JsonParentCodesLookup { ...@@ -46,7 +49,7 @@ public class JsonParentCodesLookup {
return acctCode; return acctCode;
} }
public int getAcctCodeLength(){ public int getAcctCodeLength() {
return acctCode.length(); return acctCode.length();
} }
......
...@@ -269,7 +269,6 @@ public class CustomerServiceImpl implements CustomerService { ...@@ -269,7 +269,6 @@ public class CustomerServiceImpl implements CustomerService {
for (CustomsInvoice r : reuslt) { for (CustomsInvoice r : reuslt) {
CustomsInvoiceDto dto = new CustomsInvoiceDto(); CustomsInvoiceDto dto = new CustomsInvoiceDto();
dto.setSeqNo(seqNo++); dto.setSeqNo(seqNo++);
dto.setAuditResult(r.getAuditResult());
if (r.getInvoiceAmount() != null) { if (r.getInvoiceAmount() != null) {
r.setInvoiceAmount(r.getInvoiceAmount().setScale(2)); r.setInvoiceAmount(r.getInvoiceAmount().setScale(2));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment