|
|
|
@ -387,8 +387,13 @@ public class SDNYMainProcessController extends AbstractController { |
|
|
|
|
checkInvoice.put("administrativeDivisionNo", ""); |
|
|
|
|
checkInvoice.put("administrativeDivisionName", ""); |
|
|
|
|
|
|
|
|
|
checkInvoice.put("invoiceCode", invoiceCode); |
|
|
|
|
checkInvoice.put("invoiceNumber", checkInvoice.get("invoiceNo").toString()); |
|
|
|
|
if("31".equals(invoiceType) || "32".equals(invoiceType) || "185".equals(invoiceType) || "186".equals(invoiceType)){ |
|
|
|
|
checkInvoice.put("invoiceCode", ""); |
|
|
|
|
checkInvoice.put("invoiceNumber", checkInvoice.get("invoiceNo").toString()); |
|
|
|
|
}else { |
|
|
|
|
checkInvoice.put("invoiceCode", invoiceCode); |
|
|
|
|
checkInvoice.put("invoiceNumber", invoiceCode == null ? checkInvoice.get("invoiceNo").toString() :invoiceCode + checkInvoice.get("invoiceNo").toString()); |
|
|
|
|
} |
|
|
|
|
String uuid = ""; |
|
|
|
|
if (invoiceCode != null && StringUtils.isNoneBlank(invoiceCode)) { |
|
|
|
|
uuid = invoiceCode + checkInvoice.get("invoiceNo").toString(); |
|
|
|
|