Commit de02b605 authored by Quxl's avatar Quxl

x

parent 9087eff4
...@@ -87,7 +87,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService { ...@@ -87,7 +87,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
header.put("SEND_STATUS", "N"); header.put("SEND_STATUS", "N");
header.put("BATCH", dateString + "-" + common.getNextval("T_SO_CONFIRMACTION_HEADER_BATCH_" + dateString)); header.put("BATCH", dateString + "-" + common.getNextval("T_SO_CONFIRMACTION_HEADER_BATCH_" + dateString));
header.put("CREATED", now); header.put("CREATED", now);
header.put("CREATEDBY", "system"); header.put("CREATEBY", "system");
String idIndex = StringUtil.format(common.getNextval("T_SO_CONFIRMATION_HEADER_ID_"+dateString), "00000"); String idIndex = StringUtil.format(common.getNextval("T_SO_CONFIRMATION_HEADER_ID_"+dateString), "00000");
Long hID = Long.valueOf(time+idIndex); Long hID = Long.valueOf(time+idIndex);
header.put("ID", hID); header.put("ID", hID);
...@@ -122,7 +122,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService { ...@@ -122,7 +122,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
itemData.put("POSTL_CODE1_I", id.getPOSTL_COD1_I()); itemData.put("POSTL_CODE1_I", id.getPOSTL_COD1_I());
itemData.put("CITY1_I", id.getCITY1_I()); itemData.put("CITY1_I", id.getCITY1_I());
itemData.put("CREATED", now); itemData.put("CREATED", now);
itemData.put("CREATEDBY", "system"); itemData.put("CREATEBY", "system");
String iidIndex = StringUtil.format(common.getNextval("T_SO_CONFIRMATION_ITEM_DATA_ID_"+dateString), "00000"); String iidIndex = StringUtil.format(common.getNextval("T_SO_CONFIRMATION_ITEM_DATA_ID_"+dateString), "00000");
Long iID = Long.valueOf(time+iidIndex); Long iID = Long.valueOf(time+iidIndex);
itemData.put("ID", iID); itemData.put("ID", iID);
...@@ -144,7 +144,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService { ...@@ -144,7 +144,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
itemPricing.put("KBETR", StringUtil.toDouble(ip.getKBETR())); itemPricing.put("KBETR", StringUtil.toDouble(ip.getKBETR()));
itemPricing.put("KWERT", StringUtil.toDouble(ip.getKWERT())); itemPricing.put("KWERT", StringUtil.toDouble(ip.getKWERT()));
itemPricing.put("CREATED", now); itemPricing.put("CREATED", now);
itemPricing.put("CREATEDBY", "system"); itemPricing.put("CREATEBY", "system");
String itemPricingID = StringUtil.format(common.getNextval("T_SO_CONFIRMATION_ITEM_PRICING_ID_"+dateString), "00000"); String itemPricingID = StringUtil.format(common.getNextval("T_SO_CONFIRMATION_ITEM_PRICING_ID_"+dateString), "00000");
itemPricing.put("ID", Long.valueOf(time+itemPricingID)); itemPricing.put("ID", Long.valueOf(time+itemPricingID));
insertTo(itemPricing, "t_so_confirmation_item_pricing"); insertTo(itemPricing, "t_so_confirmation_item_pricing");
......
...@@ -58,9 +58,9 @@ public class DNDeletionServiceImpl implements DNDeletionService { ...@@ -58,9 +58,9 @@ public class DNDeletionServiceImpl implements DNDeletionService {
map.put("SEND_STATUS", "N"); map.put("SEND_STATUS", "N");
map.put("SEND_TIME", now); map.put("SEND_TIME", now);
map.put("CREATED", now); map.put("CREATED", now);
map.put("CREATEDBY", "system"); map.put("CREATEBY", "system");
map.put("UPDATED", now); map.put("UPDATED", now);
map.put("UPDATEDBY", "system"); map.put("UPDATEBY", "system");
Sql headerSql = SqlUtil.insertSql("t_so_dn_deletion", map); Sql headerSql = SqlUtil.insertSql("t_so_dn_deletion", map);
jdbcTemplate.update(headerSql.getSql(), headerSql.getArgs()); jdbcTemplate.update(headerSql.getSql(), headerSql.getArgs());
} catch (Exception e) { } catch (Exception e) {
......
...@@ -138,7 +138,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService { ...@@ -138,7 +138,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
private void updateGoods(Map<String, Object> goods) { private void updateGoods(Map<String, Object> goods) {
goods.put("UPDATED", new Date()); goods.put("UPDATED", new Date());
goods.put("UPDATEDBY", "system"); goods.put("UPDATEBY", "system");
String sql = "update t_ven_goods set "; String sql = "update t_ven_goods set ";
List<Object> args = new ArrayList<>(); List<Object> args = new ArrayList<>();
...@@ -164,7 +164,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService { ...@@ -164,7 +164,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
Long ID = Long.valueOf(time+idIndex); Long ID = Long.valueOf(time+idIndex);
goods.put("ID", ID); goods.put("ID", ID);
goods.put("CREATED", DateUtil.formatDate(now, DateUtil.FMT_DATE_TIME)/* datetimef.format(new Date()) */); goods.put("CREATED", DateUtil.formatDate(now, DateUtil.FMT_DATE_TIME)/* datetimef.format(new Date()) */);
goods.put("CREATEDBY", "system"); goods.put("CREATEBY", "system");
String insertSql = "insert into t_ven_goods "; String insertSql = "insert into t_ven_goods ";
String fieldSql = "("; String fieldSql = "(";
......
...@@ -126,7 +126,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService { ...@@ -126,7 +126,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
headMap.put("SEND_TIME", now); headMap.put("SEND_TIME", now);
headMap.put("TRACE_NO", "sapproformainvoice" + DateUtil.formatDate(now, DateUtil.FMT_DATETIME)); headMap.put("TRACE_NO", "sapproformainvoice" + DateUtil.formatDate(now, DateUtil.FMT_DATETIME));
headMap.put("CREATED", now); headMap.put("CREATED", now);
headMap.put("CREATEDBY", "system"); headMap.put("CREATEBY", "system");
List<Map<String, Object>> itemDatas = new ArrayList<Map<String, Object>>(); List<Map<String, Object>> itemDatas = new ArrayList<Map<String, Object>>();
if(itemList != null) { if(itemList != null) {
...@@ -192,7 +192,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService { ...@@ -192,7 +192,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
} }
} }
itemDataMap.put("CREATED", now); itemDataMap.put("CREATED", now);
itemDataMap.put("CREATEDBY", "system"); itemDataMap.put("CREATEBY", "system");
itemDatas.add(itemDataMap); itemDatas.add(itemDataMap);
} }
} }
......
...@@ -109,7 +109,7 @@ public class PriceListServiceImpl implements PriceListService { ...@@ -109,7 +109,7 @@ public class PriceListServiceImpl implements PriceListService {
} }
private void updatePriceObj(Map<String, Object> priceObj) { private void updatePriceObj(Map<String, Object> priceObj) {
priceObj.put("UPDATEDBY", "system"); priceObj.put("UPDATEBY", "system");
priceObj.put("UPDATED", new Date()); priceObj.put("UPDATED", new Date());
String sql = "update t_price_list set "; String sql = "update t_price_list set ";
...@@ -136,7 +136,7 @@ public class PriceListServiceImpl implements PriceListService { ...@@ -136,7 +136,7 @@ public class PriceListServiceImpl implements PriceListService {
Long ID = Long.valueOf(time + idIndex); Long ID = Long.valueOf(time + idIndex);
priceObj.put("ID", ID); priceObj.put("ID", ID);
priceObj.put("CREATED", now); priceObj.put("CREATED", now);
priceObj.put("CREATEDBY", "system"); priceObj.put("CREATEBY", "system");
String insertSql = "insert into t_price_list "; String insertSql = "insert into t_price_list ";
String fieldSql = "("; String fieldSql = "(";
......
...@@ -102,7 +102,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ ...@@ -102,7 +102,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
header.put("SEND_STATUS", "N"); header.put("SEND_STATUS", "N");
header.put("TRACE_NO", "sapshippingnotification"+DateUtil.formatDate(now, DateUtil.FMT_DATETIME)); header.put("TRACE_NO", "sapshippingnotification"+DateUtil.formatDate(now, DateUtil.FMT_DATETIME));
header.put("CREATED", now); header.put("CREATED", now);
header.put("CREATEDBY", "system"); header.put("CREATEBY", "system");
Long hID = Long.valueOf(time+StringUtil.format(common.getNextval("T_SHIPPING_NOTIFICATION_HEADER_ID_"+dateString), "00000")); Long hID = Long.valueOf(time+StringUtil.format(common.getNextval("T_SHIPPING_NOTIFICATION_HEADER_ID_"+dateString), "00000"));
header.put("ID", hID); header.put("ID", hID);
insertTo(header, "t_shipping_notification_header"); insertTo(header, "t_shipping_notification_header");
...@@ -137,7 +137,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ ...@@ -137,7 +137,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
} }
} }
item.put("CREATED", now); item.put("CREATED", now);
item.put("CREATEDBY", "system"); item.put("CREATEBY", "system");
insertTo(item, "t_shipping_notification_item"); insertTo(item, "t_shipping_notification_item");
} }
} catch (Exception e) { } catch (Exception e) {
......
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