Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sap-service
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sap-service
Commits
de02b605
Commit
de02b605
authored
Jul 25, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
9087eff4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
13 deletions
+13
-13
ConfirmQuotationServiceImpl.java
...rvices/confirm_quotation/ConfirmQuotationServiceImpl.java
+3
-3
DNDeletionServiceImpl.java
...egolm/sso/services/dn_deletion/DNDeletionServiceImpl.java
+2
-2
MaterialMasterServiceImpl.java
...o/services/material_master/MaterialMasterServiceImpl.java
+2
-2
PrformaInvoiceServiceImpl.java
...o/services/prforma_invoice/PrformaInvoiceServiceImpl.java
+2
-2
PriceListServiceImpl.java
...m/egolm/sso/services/price_list/PriceListServiceImpl.java
+2
-2
ShippingNotificationServiceImpl.java
...hipping_notfirmation/ShippingNotificationServiceImpl.java
+2
-2
No files found.
src/main/java/com/egolm/sso/services/confirm_quotation/ConfirmQuotationServiceImpl.java
View file @
de02b605
...
...
@@ -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
(
"CREATE
D
BY"
,
"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
(
"CREATE
D
BY"
,
"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
(
"CREATE
D
BY"
,
"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"
);
...
...
src/main/java/com/egolm/sso/services/dn_deletion/DNDeletionServiceImpl.java
View file @
de02b605
...
...
@@ -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
(
"CREATE
D
BY"
,
"system"
);
map
.
put
(
"CREATEBY"
,
"system"
);
map
.
put
(
"UPDATED"
,
now
);
map
.
put
(
"UPDATE
D
BY"
,
"system"
);
map
.
put
(
"UPDATEBY"
,
"system"
);
Sql
headerSql
=
SqlUtil
.
insertSql
(
"t_so_dn_deletion"
,
map
);
jdbcTemplate
.
update
(
headerSql
.
getSql
(),
headerSql
.
getArgs
());
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/egolm/sso/services/material_master/MaterialMasterServiceImpl.java
View file @
de02b605
...
...
@@ -138,7 +138,7 @@ public class MaterialMasterServiceImpl implements MaterialMasterService {
private
void
updateGoods
(
Map
<
String
,
Object
>
goods
)
{
goods
.
put
(
"UPDATED"
,
new
Date
());
goods
.
put
(
"UPDATE
D
BY"
,
"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
(
"CREATE
D
BY"
,
"system"
);
goods
.
put
(
"CREATEBY"
,
"system"
);
String
insertSql
=
"insert into t_ven_goods "
;
String
fieldSql
=
"("
;
...
...
src/main/java/com/egolm/sso/services/prforma_invoice/PrformaInvoiceServiceImpl.java
View file @
de02b605
...
...
@@ -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
(
"CREATE
D
BY"
,
"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
(
"CREATE
D
BY"
,
"system"
);
itemDataMap
.
put
(
"CREATEBY"
,
"system"
);
itemDatas
.
add
(
itemDataMap
);
}
}
...
...
src/main/java/com/egolm/sso/services/price_list/PriceListServiceImpl.java
View file @
de02b605
...
...
@@ -109,7 +109,7 @@ public class PriceListServiceImpl implements PriceListService {
}
private
void
updatePriceObj
(
Map
<
String
,
Object
>
priceObj
)
{
priceObj
.
put
(
"UPDATE
D
BY"
,
"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
(
"CREATE
D
BY"
,
"system"
);
priceObj
.
put
(
"CREATEBY"
,
"system"
);
String
insertSql
=
"insert into t_price_list "
;
String
fieldSql
=
"("
;
...
...
src/main/java/com/egolm/sso/services/shipping_notfirmation/ShippingNotificationServiceImpl.java
View file @
de02b605
...
...
@@ -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
(
"CREATE
D
BY"
,
"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
(
"CREATE
D
BY"
,
"system"
);
item
.
put
(
"CREATEBY"
,
"system"
);
insertTo
(
item
,
"t_shipping_notification_item"
);
}
}
catch
(
Exception
e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment