Commit de02b605 authored by Quxl's avatar Quxl

x

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