Commit a7770b31 authored by Quxl's avatar Quxl

x

parent 72998005
......@@ -124,7 +124,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
if(ITEMs != null) {
for(ITEM ITEM : ITEMs) {
Map<String, Object> item = new HashMap<>();
Long iID = Long.valueOf(time+StringUtil.format(common.getNextval("T_SHIPPING_NOTIFICATION_ITEM_ID_"+dateString), "00000"));
Long iID = Long.valueOf(time + StringUtil.format(common.getNextval("T_SHIPPING_NOTIFICATION_ITEM_ID_"+dateString), "00000"));
item.put("ID", iID);
item.put("HEADER_ID", hID);
item.put("POSNR", ITEM.getPOSNR());
......
package com.egolm.sso.util;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
......@@ -28,7 +27,7 @@ public class DateUtil {
try {
DateFormat df = new SimpleDateFormat(fmt);
return df.parse(dateString);
} catch (ParseException e) {
} catch (Exception e) {
throw new XRException("Error date value " + dateString, e);
}
}
......
......@@ -104,4 +104,8 @@ public class StringUtil {
br.close();
}
}
public static void main(String[] args) {
System.out.println(Long.valueOf(""));
}
}
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