Commit f10e3217 authored by Quxl's avatar Quxl

x

parent 5795aac7
......@@ -79,13 +79,14 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
for(HEADER_PARTNER_DATA HEADER_PARTNER_DATA : partnerList) {
if(HEADER_PARTNER_DATA != null) {
String PARVW = HEADER_PARTNER_DATA.getPARVW();
String PARTN = HEADER_PARTNER_DATA.getPARTN();
if("AG".equals(PARVW)) {
headMap.put("PARTNER_PARVW1", HEADER_PARTNER_DATA.getPARVW());
headMap.put("PARTNER_PARTN1", HEADER_PARTNER_DATA.getPARTN());
headMap.put("PARTNER_PARVW1", PARVW);
headMap.put("PARTNER_PARTN1", PARTN);
BATCH_CODE = PARVW;
} else if("WE".equals(PARVW)) {
headMap.put("PARTNER_PARVW2", HEADER_PARTNER_DATA.getPARVW());
headMap.put("PARTNER_PARTN2", HEADER_PARTNER_DATA.getPARTN());
headMap.put("PARTNER_PARVW2", PARVW);
headMap.put("PARTNER_PARTN2", PARTN);
} else {
throw new XRException("Partner type undefined [" + PARVW + "] in HEADER_PARTNER_DATA");
}
......
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