记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
ceed7df5
Commit
ceed7df5
authored
Jun 24, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dm;
parent
4777b9f6
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
47 additions
and
37 deletions
+47
-37
AdamRealInfoVo.java
...ava/com/liquidnet/service/adam/dto/vo/AdamRealInfoVo.java
+0
-1
db_ln_adam_initialdata.sql
...quidnet-service-adam-impl/docu/db_ln_adam_initialdata.sql
+2
-0
AdamDMAdminController.java
.../service/adam/controller/admin/AdamDMAdminController.java
+18
-8
DMAddressesProcessor.java
.../service/adam/service/processor/DMAddressesProcessor.java
+3
-3
DMCollectionProcessor.java
...service/adam/service/processor/DMCollectionProcessor.java
+3
-3
DMEntersProcessor.java
...net/service/adam/service/processor/DMEntersProcessor.java
+3
-3
DMMemberCodeProcessor.java
...service/adam/service/processor/DMMemberCodeProcessor.java
+3
-3
DMMemberOrderProcessor.java
...ervice/adam/service/processor/DMMemberOrderProcessor.java
+3
-4
DMRealNameProcessor.java
...t/service/adam/service/processor/DMRealNameProcessor.java
+3
-3
DMThirdPartsProcessor.java
...service/adam/service/processor/DMThirdPartsProcessor.java
+3
-3
DMUserInformationProcessor.java
...ce/adam/service/processor/DMUserInformationProcessor.java
+3
-3
DMUserMemberProcessor.java
...service/adam/service/processor/DMUserMemberProcessor.java
+3
-3
No files found.
liquidnet-bus-api/liquidnet-service-adam-api/src/main/java/com/liquidnet/service/adam/dto/vo/AdamRealInfoVo.java
View file @
ceed7df5
package
com
.
liquidnet
.
service
.
adam
.
dto
.
vo
;
package
com
.
liquidnet
.
service
.
adam
.
dto
.
vo
;
import
com.liquidnet.commons.lang.util.SensitizeUtil
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
...
...
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/docu/db_ln_adam_initialdata.sql
View file @
ceed7df5
...
@@ -18,6 +18,7 @@ create table adam_third_party
...
@@ -18,6 +18,7 @@ create table adam_third_party
create
index
idx_third_party_uid_platform
on
adam_third_party
(
uid
,
platform
);
create
index
idx_third_party_uid_platform
on
adam_third_party
(
uid
,
platform
);
create
index
idx_third_party_state
on
adam_third_party
(
state
);
create
index
idx_third_party_state
on
adam_third_party
(
state
);
#
MDB
.
idx
:
uid
,
state
-- >>------------------------------------------------------------------------------------
-- >>------------------------------------------------------------------------------------
#
drop
table
if
exists
adam_login
;
#
drop
table
if
exists
adam_login
;
#
create
table
adam_login
#
create
table
adam_login
...
@@ -109,6 +110,7 @@ create unique index idx_real_name_id on adam_real_name (real_name_id);
...
@@ -109,6 +110,7 @@ create unique index idx_real_name_id on adam_real_name (real_name_id);
create
index
idx_real_name_id_card_type
on
adam_real_name
(
id_card
,
type
);
create
index
idx_real_name_id_card_type
on
adam_real_name
(
id_card
,
type
);
create
index
idx_real_name_uid
on
adam_real_name
(
uid
);
create
index
idx_real_name_uid
on
adam_real_name
(
uid
);
create
index
idx_real_name_state
on
adam_real_name
(
state
);
create
index
idx_real_name_state
on
adam_real_name
(
state
);
#
MDB
.
idx
:
uid
,
state
-- >>------------------------------------------------------------------------------------
-- >>------------------------------------------------------------------------------------
drop
table
if
exists
adam_enters
;
drop
table
if
exists
adam_enters
;
create
table
adam_enters
create
table
adam_enters
...
...
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/controller/admin/AdamDMAdminController.java
View file @
ceed7df5
...
@@ -37,8 +37,10 @@ public class AdamDMAdminController extends AdamBaseController {
...
@@ -37,8 +37,10 @@ public class AdamDMAdminController extends AdamBaseController {
DMTracesInfoProcessor
dmTracesInfoProcessor
;
DMTracesInfoProcessor
dmTracesInfoProcessor
;
@Autowired
@Autowired
DMMemberOrderProcessor
dmMemberOrderProcessor
;
DMMemberOrderProcessor
dmMemberOrderProcessor
;
@Autowired
DMMemberCodeProcessor
dmMemberCodeProcessor
;
@ApiOperationSupport
(
order
=
0
)
@ApiOperationSupport
(
order
=
1
)
@ApiOperation
(
value
=
"user"
)
@ApiOperation
(
value
=
"user"
)
@GetMapping
(
value
=
{
"user"
})
@GetMapping
(
value
=
{
"user"
})
public
ResponseDto
<
Object
>
dataMigrationForUser
()
{
public
ResponseDto
<
Object
>
dataMigrationForUser
()
{
...
@@ -46,7 +48,7 @@ public class AdamDMAdminController extends AdamBaseController {
...
@@ -46,7 +48,7 @@ public class AdamDMAdminController extends AdamBaseController {
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
@ApiOperationSupport
(
order
=
1
)
@ApiOperationSupport
(
order
=
2
)
@ApiOperation
(
value
=
"tpa"
)
@ApiOperation
(
value
=
"tpa"
)
@GetMapping
(
value
=
{
"tpa"
})
@GetMapping
(
value
=
{
"tpa"
})
public
ResponseDto
<
Object
>
dataMigrationForTpa
()
{
public
ResponseDto
<
Object
>
dataMigrationForTpa
()
{
...
@@ -54,7 +56,7 @@ public class AdamDMAdminController extends AdamBaseController {
...
@@ -54,7 +56,7 @@ public class AdamDMAdminController extends AdamBaseController {
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
@ApiOperationSupport
(
order
=
2
)
@ApiOperationSupport
(
order
=
3
)
@ApiOperation
(
value
=
"real"
)
@ApiOperation
(
value
=
"real"
)
@GetMapping
(
value
=
{
"real"
})
@GetMapping
(
value
=
{
"real"
})
public
ResponseDto
<
Object
>
dataMigrationForReal
()
{
public
ResponseDto
<
Object
>
dataMigrationForReal
()
{
...
@@ -62,7 +64,7 @@ public class AdamDMAdminController extends AdamBaseController {
...
@@ -62,7 +64,7 @@ public class AdamDMAdminController extends AdamBaseController {
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
@ApiOperationSupport
(
order
=
3
)
@ApiOperationSupport
(
order
=
4
)
@ApiOperation
(
value
=
"vip"
)
@ApiOperation
(
value
=
"vip"
)
@GetMapping
(
value
=
{
"vip"
})
@GetMapping
(
value
=
{
"vip"
})
public
ResponseDto
<
Object
>
dataMigrationForVip
()
{
public
ResponseDto
<
Object
>
dataMigrationForVip
()
{
...
@@ -70,7 +72,7 @@ public class AdamDMAdminController extends AdamBaseController {
...
@@ -70,7 +72,7 @@ public class AdamDMAdminController extends AdamBaseController {
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
@ApiOperationSupport
(
order
=
4
)
@ApiOperationSupport
(
order
=
5
)
@ApiOperation
(
value
=
"traces"
)
@ApiOperation
(
value
=
"traces"
)
@GetMapping
(
value
=
{
"traces"
})
@GetMapping
(
value
=
{
"traces"
})
public
ResponseDto
<
Object
>
dataMigrationForTraces
()
{
public
ResponseDto
<
Object
>
dataMigrationForTraces
()
{
...
@@ -78,7 +80,7 @@ public class AdamDMAdminController extends AdamBaseController {
...
@@ -78,7 +80,7 @@ public class AdamDMAdminController extends AdamBaseController {
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
@ApiOperationSupport
(
order
=
5
)
@ApiOperationSupport
(
order
=
6
)
@ApiOperation
(
value
=
"enters"
)
@ApiOperation
(
value
=
"enters"
)
@GetMapping
(
value
=
{
"enters"
})
@GetMapping
(
value
=
{
"enters"
})
public
ResponseDto
<
Object
>
dataMigrationForEnters
()
{
public
ResponseDto
<
Object
>
dataMigrationForEnters
()
{
...
@@ -86,7 +88,7 @@ public class AdamDMAdminController extends AdamBaseController {
...
@@ -86,7 +88,7 @@ public class AdamDMAdminController extends AdamBaseController {
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
@ApiOperationSupport
(
order
=
6
)
@ApiOperationSupport
(
order
=
7
)
@ApiOperation
(
value
=
"addr"
)
@ApiOperation
(
value
=
"addr"
)
@GetMapping
(
value
=
{
"addr"
})
@GetMapping
(
value
=
{
"addr"
})
public
ResponseDto
<
Object
>
dataMigrationForAddr
()
{
public
ResponseDto
<
Object
>
dataMigrationForAddr
()
{
...
@@ -94,11 +96,19 @@ public class AdamDMAdminController extends AdamBaseController {
...
@@ -94,11 +96,19 @@ public class AdamDMAdminController extends AdamBaseController {
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
@ApiOperationSupport
(
order
=
7
)
@ApiOperationSupport
(
order
=
8
)
@ApiOperation
(
value
=
"morder"
)
@ApiOperation
(
value
=
"morder"
)
@GetMapping
(
value
=
{
"morder"
})
@GetMapping
(
value
=
{
"morder"
})
public
ResponseDto
<
Object
>
dataMigrationForMOrder
()
{
public
ResponseDto
<
Object
>
dataMigrationForMOrder
()
{
dmMemberOrderProcessor
.
handler
();
dmMemberOrderProcessor
.
handler
();
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
@ApiOperationSupport
(
order
=
9
)
@ApiOperation
(
value
=
"mcode"
)
@GetMapping
(
value
=
{
"mcode"
})
public
ResponseDto
<
Object
>
dataMigrationForMCode
()
{
dmMemberCodeProcessor
.
handler
();
return
ResponseDto
.
success
();
}
}
}
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/service/processor/DMAddressesProcessor.java
View file @
ceed7df5
...
@@ -48,8 +48,8 @@ public class DMAddressesProcessor extends DataMigrationProcessorService {
...
@@ -48,8 +48,8 @@ public class DMAddressesProcessor extends DataMigrationProcessorService {
statement
=
connection
.
prepareStatement
(
sqlCount
);
statement
=
connection
.
prepareStatement
(
sqlCount
);
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
.
first
();
row
.
first
();
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
;
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
,
pl
=
ct
;
log
.
info
(
"DM.execute.counts:{}
----------------------------> start"
,
ct
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> start"
,
pl
,
num
,
pSize
,
tl
);
while
(
ct
>
0
)
{
while
(
ct
>
0
)
{
statement
=
connection
.
prepareStatement
(
sql
);
statement
=
connection
.
prepareStatement
(
sql
);
...
@@ -94,6 +94,6 @@ public class DMAddressesProcessor extends DataMigrationProcessorService {
...
@@ -94,6 +94,6 @@ public class DMAddressesProcessor extends DataMigrationProcessorService {
num
++;
num
++;
ct
-=
pSize
;
ct
-=
pSize
;
}
}
log
.
info
(
"DM.execute.counts:{}
~ {} ----------------------------> end"
,
num
*
pSize
,
tl
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> end"
,
pl
,
num
,
pSize
,
tl
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/service/processor/DMCollectionProcessor.java
View file @
ceed7df5
...
@@ -49,8 +49,8 @@ public class DMCollectionProcessor extends DataMigrationProcessorService {
...
@@ -49,8 +49,8 @@ public class DMCollectionProcessor extends DataMigrationProcessorService {
statement
=
connection
.
prepareStatement
(
sqlCount
);
statement
=
connection
.
prepareStatement
(
sqlCount
);
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
.
first
();
row
.
first
();
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
;
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
,
pl
=
ct
;
log
.
info
(
"DM.execute.counts:{}
----------------------------> start"
,
ct
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> start"
,
pl
,
num
,
pSize
,
tl
);
while
(
ct
>
0
)
{
while
(
ct
>
0
)
{
statement
=
connection
.
prepareStatement
(
sql
);
statement
=
connection
.
prepareStatement
(
sql
);
...
@@ -87,6 +87,6 @@ public class DMCollectionProcessor extends DataMigrationProcessorService {
...
@@ -87,6 +87,6 @@ public class DMCollectionProcessor extends DataMigrationProcessorService {
num
++;
num
++;
ct
-=
pSize
;
ct
-=
pSize
;
}
}
log
.
info
(
"DM.execute.counts:{}
~ {} ----------------------------> end"
,
num
*
pSize
,
tl
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> end"
,
pl
,
num
,
pSize
,
tl
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/service/processor/DMEntersProcessor.java
View file @
ceed7df5
...
@@ -49,8 +49,8 @@ public class DMEntersProcessor extends DataMigrationProcessorService {
...
@@ -49,8 +49,8 @@ public class DMEntersProcessor extends DataMigrationProcessorService {
statement
=
connection
.
prepareStatement
(
sqlCount
);
statement
=
connection
.
prepareStatement
(
sqlCount
);
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
.
first
();
row
.
first
();
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
;
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
,
pl
=
ct
;
log
.
info
(
"DM.execute.counts:{}
----------------------------> start"
,
ct
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> start"
,
pl
,
num
,
pSize
,
tl
);
while
(
ct
>
0
)
{
while
(
ct
>
0
)
{
statement
=
connection
.
prepareStatement
(
sql
);
statement
=
connection
.
prepareStatement
(
sql
);
...
@@ -93,6 +93,6 @@ public class DMEntersProcessor extends DataMigrationProcessorService {
...
@@ -93,6 +93,6 @@ public class DMEntersProcessor extends DataMigrationProcessorService {
num
++;
num
++;
ct
-=
pSize
;
ct
-=
pSize
;
}
}
log
.
info
(
"DM.execute.counts:{}
~ {} ----------------------------> end"
,
num
*
pSize
,
tl
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> end"
,
pl
,
num
,
pSize
,
tl
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/service/processor/DMMemberCodeProcessor.java
View file @
ceed7df5
...
@@ -199,8 +199,8 @@ public class DMMemberCodeProcessor extends DataMigrationProcessorService {
...
@@ -199,8 +199,8 @@ public class DMMemberCodeProcessor extends DataMigrationProcessorService {
statement
=
connection
.
prepareStatement
(
sqlCount
);
statement
=
connection
.
prepareStatement
(
sqlCount
);
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
.
first
();
row
.
first
();
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
;
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
,
pl
=
ct
;
log
.
info
(
"DM.execute.counts:{}
----------------------------> start"
,
ct
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> start"
,
pl
,
num
,
pSize
,
tl
);
while
(
ct
>
0
)
{
while
(
ct
>
0
)
{
statement
=
connection
.
prepareStatement
(
sql
);
statement
=
connection
.
prepareStatement
(
sql
);
...
@@ -246,6 +246,6 @@ public class DMMemberCodeProcessor extends DataMigrationProcessorService {
...
@@ -246,6 +246,6 @@ public class DMMemberCodeProcessor extends DataMigrationProcessorService {
num
++;
num
++;
ct
-=
pSize
;
ct
-=
pSize
;
}
}
log
.
info
(
"DM.execute.counts:{}
~ {} ----------------------------> end"
,
num
*
pSize
,
tl
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> end"
,
pl
,
num
,
pSize
,
tl
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/service/processor/DMMemberOrderProcessor.java
View file @
ceed7df5
...
@@ -73,9 +73,8 @@ public class DMMemberOrderProcessor extends DataMigrationProcessorService {
...
@@ -73,9 +73,8 @@ public class DMMemberOrderProcessor extends DataMigrationProcessorService {
statement
=
connection
.
prepareStatement
(
sqlCount
);
statement
=
connection
.
prepareStatement
(
sqlCount
);
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
.
first
();
row
.
first
();
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
;
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
,
pl
=
ct
;
log
.
info
(
"DM.execute.counts:{} ----------------------------> start"
,
ct
);
log
.
info
(
"DM.execute.counts:{}/{},{} ~ {} ----------------------------> start"
,
pl
,
num
,
pSize
,
tl
);
while
(
ct
>
0
)
{
while
(
ct
>
0
)
{
statement
=
connection
.
prepareStatement
(
sql
);
statement
=
connection
.
prepareStatement
(
sql
);
...
@@ -130,6 +129,6 @@ public class DMMemberOrderProcessor extends DataMigrationProcessorService {
...
@@ -130,6 +129,6 @@ public class DMMemberOrderProcessor extends DataMigrationProcessorService {
num
++;
num
++;
ct
-=
pSize
;
ct
-=
pSize
;
}
}
log
.
info
(
"DM.execute.counts:{}
~ {} ----------------------------> end"
,
num
*
pSize
,
tl
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> end"
,
pl
,
num
,
pSize
,
tl
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/service/processor/DMRealNameProcessor.java
View file @
ceed7df5
...
@@ -49,8 +49,8 @@ public class DMRealNameProcessor extends DataMigrationProcessorService {
...
@@ -49,8 +49,8 @@ public class DMRealNameProcessor extends DataMigrationProcessorService {
statement
=
connection
.
prepareStatement
(
sqlCount
);
statement
=
connection
.
prepareStatement
(
sqlCount
);
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
.
first
();
row
.
first
();
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
;
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
,
pl
=
ct
;
log
.
info
(
"DM.execute.counts:{}
----------------------------> start"
,
ct
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> start"
,
pl
,
num
,
pSize
,
tl
);
while
(
ct
>
0
)
{
while
(
ct
>
0
)
{
statement
=
connection
.
prepareStatement
(
sql
);
statement
=
connection
.
prepareStatement
(
sql
);
...
@@ -96,6 +96,6 @@ public class DMRealNameProcessor extends DataMigrationProcessorService {
...
@@ -96,6 +96,6 @@ public class DMRealNameProcessor extends DataMigrationProcessorService {
num
++;
num
++;
ct
-=
pSize
;
ct
-=
pSize
;
}
}
log
.
info
(
"DM.execute.counts:{}
~ {} ----------------------------> end"
,
num
*
pSize
,
tl
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> end"
,
pl
,
num
,
pSize
,
tl
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/service/processor/DMThirdPartsProcessor.java
View file @
ceed7df5
...
@@ -51,8 +51,8 @@ public class DMThirdPartsProcessor extends DataMigrationProcessorService {
...
@@ -51,8 +51,8 @@ public class DMThirdPartsProcessor extends DataMigrationProcessorService {
statement
=
connection
.
prepareStatement
(
sqlCount
);
statement
=
connection
.
prepareStatement
(
sqlCount
);
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
.
first
();
row
.
first
();
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
;
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
,
pl
=
ct
;
log
.
info
(
"DM.execute.counts:{}
----------------------------> start"
,
ct
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> start"
,
pl
,
num
,
pSize
,
tl
);
while
(
ct
>
0
)
{
while
(
ct
>
0
)
{
statement
=
connection
.
prepareStatement
(
sql
);
statement
=
connection
.
prepareStatement
(
sql
);
...
@@ -101,6 +101,6 @@ public class DMThirdPartsProcessor extends DataMigrationProcessorService {
...
@@ -101,6 +101,6 @@ public class DMThirdPartsProcessor extends DataMigrationProcessorService {
num
++;
num
++;
ct
-=
pSize
;
ct
-=
pSize
;
}
}
log
.
info
(
"DM.execute.counts:{}
~ {} ----------------------------> end"
,
num
*
pSize
,
tl
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> end"
,
pl
,
num
,
pSize
,
tl
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/service/processor/DMUserInformationProcessor.java
View file @
ceed7df5
...
@@ -71,8 +71,8 @@ public class DMUserInformationProcessor extends DataMigrationProcessorService {
...
@@ -71,8 +71,8 @@ public class DMUserInformationProcessor extends DataMigrationProcessorService {
statement
=
connection
.
prepareStatement
(
sqlCount
);
statement
=
connection
.
prepareStatement
(
sqlCount
);
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
.
first
();
row
.
first
();
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
;
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
,
pl
=
ct
;
log
.
info
(
"DM.execute.counts:{}
----------------------------> start"
,
ct
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> start"
,
pl
,
num
,
pSize
,
tl
);
while
(
ct
>
0
)
{
while
(
ct
>
0
)
{
statement
=
connection
.
prepareStatement
(
sql
);
statement
=
connection
.
prepareStatement
(
sql
);
...
@@ -151,6 +151,6 @@ public class DMUserInformationProcessor extends DataMigrationProcessorService {
...
@@ -151,6 +151,6 @@ public class DMUserInformationProcessor extends DataMigrationProcessorService {
num
++;
num
++;
ct
-=
pSize
;
ct
-=
pSize
;
}
}
log
.
info
(
"DM.execute.counts:{}
~ {} ----------------------------> end"
,
num
*
pSize
,
tl
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> end"
,
pl
,
num
,
pSize
,
tl
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/service/processor/DMUserMemberProcessor.java
View file @
ceed7df5
...
@@ -49,8 +49,8 @@ public class DMUserMemberProcessor extends DataMigrationProcessorService {
...
@@ -49,8 +49,8 @@ public class DMUserMemberProcessor extends DataMigrationProcessorService {
statement
=
connection
.
prepareStatement
(
sqlCount
);
statement
=
connection
.
prepareStatement
(
sqlCount
);
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
=
(
ResultSetImpl
)
statement
.
executeQuery
();
row
.
first
();
row
.
first
();
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
;
int
ct
=
row
.
getInt
(
1
),
pSize
=
1000
,
num
=
0
,
tl
=
0
,
pl
=
ct
;
log
.
info
(
"DM.execute.counts:{}
----------------------------> start"
,
ct
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> start"
,
pl
,
num
,
pSize
,
tl
);
while
(
ct
>
0
)
{
while
(
ct
>
0
)
{
statement
=
connection
.
prepareStatement
(
sql
);
statement
=
connection
.
prepareStatement
(
sql
);
...
@@ -97,6 +97,6 @@ public class DMUserMemberProcessor extends DataMigrationProcessorService {
...
@@ -97,6 +97,6 @@ public class DMUserMemberProcessor extends DataMigrationProcessorService {
num
++;
num
++;
ct
-=
pSize
;
ct
-=
pSize
;
}
}
log
.
info
(
"DM.execute.counts:{}
~ {} ----------------------------> end"
,
num
*
pSize
,
tl
);
log
.
info
(
"DM.execute.counts:{}
/{},{} ~ {} ----------------------------> end"
,
pl
,
num
,
pSize
,
tl
);
}
}
}
}
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