记得上下班打卡 | 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
81b616f8
Commit
81b616f8
authored
Aug 01, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opt;
parent
48050359
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
298 additions
and
298 deletions
+298
-298
PlatformDMController.java
...ervice/platform/controller/adam/PlatformDMController.java
+298
-298
No files found.
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/controller/adam/PlatformDMController.java
View file @
81b616f8
//
package com.liquidnet.service.platform.controller.adam;
package
com
.
liquidnet
.
service
.
platform
.
controller
.
adam
;
//
//
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import
com.github.xiaoymin.knife4j.annotations.ApiOperationSupport
;
//
import com.github.xiaoymin.knife4j.annotations.ApiSupport;
import
com.github.xiaoymin.knife4j.annotations.ApiSupport
;
//
import com.liquidnet.common.exception.LiquidnetServiceException;
import
com.liquidnet.common.exception.LiquidnetServiceException
;
//
import com.liquidnet.service.base.ResponseDto;
import
com.liquidnet.service.base.ResponseDto
;
//
import com.liquidnet.service.platform.service.impl.adam.dm.processor.*;
import
com.liquidnet.service.platform.service.impl.adam.dm.processor.*
;
//
import io.swagger.annotations.Api;
import
io.swagger.annotations.Api
;
//
import io.swagger.annotations.ApiImplicitParam;
import
io.swagger.annotations.ApiImplicitParam
;
//
import io.swagger.annotations.ApiImplicitParams;
import
io.swagger.annotations.ApiImplicitParams
;
//
import io.swagger.annotations.ApiOperation;
import
io.swagger.annotations.ApiOperation
;
//
import lombok.extern.slf4j.Slf4j;
import
lombok.extern.slf4j.Slf4j
;
//
import org.apache.commons.lang3.StringUtils;
import
org.apache.commons.lang3.StringUtils
;
//
import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.beans.factory.annotation.Autowired
;
//
import org.springframework.validation.annotation.Validated;
import
org.springframework.validation.annotation.Validated
;
//
import org.springframework.web.bind.annotation.*;
import
org.springframework.web.bind.annotation.*
;
//
//
import javax.servlet.http.HttpServletRequest;
import
javax.servlet.http.HttpServletRequest
;
//
import java.time.LocalDateTime;
import
java.time.LocalDateTime
;
//
import java.time.temporal.ChronoField;
import
java.time.temporal.ChronoField
;
//
import java.util.concurrent.ExecutorService;
import
java.util.concurrent.ExecutorService
;
//
import java.util.concurrent.Executors;
import
java.util.concurrent.Executors
;
//
import java.util.regex.Pattern;
import
java.util.regex.Pattern
;
//
//
@ApiSupport(order = 90062)
@ApiSupport
(
order
=
90062
)
//
@Api(tags = "DM")
@Api
(
tags
=
"DM"
)
//
@Slf4j
@Slf4j
//
@Validated
@Validated
//
@RestController
@RestController
//
@RequestMapping("dm")
@RequestMapping
(
"dm"
)
//
public class PlatformDMController {
public
class
PlatformDMController
{
//
@Autowired
@Autowired
//
DMUserInformationProcessor dmUserInformationProcessor;
DMUserInformationProcessor
dmUserInformationProcessor
;
//
@Autowired
@Autowired
//
DMThirdPartsProcessor dmThirdPartsProcessor;
DMThirdPartsProcessor
dmThirdPartsProcessor
;
//
@Autowired
@Autowired
//
DMRealNameProcessor dmRealNameProcessor;
DMRealNameProcessor
dmRealNameProcessor
;
//
@Autowired
@Autowired
//
DMUserMemberProcessor dmUserMemberProcessor;
DMUserMemberProcessor
dmUserMemberProcessor
;
//
@Autowired
@Autowired
//
DMEntersProcessor dmEntersProcessor;
DMEntersProcessor
dmEntersProcessor
;
//
@Autowired
@Autowired
//
DMAddressesProcessor dmAddressesProcessor;
DMAddressesProcessor
dmAddressesProcessor
;
//
@Autowired
@Autowired
//
DMTracesInfoProcessor dmTracesInfoProcessor;
DMTracesInfoProcessor
dmTracesInfoProcessor
;
//
@Autowired
@Autowired
//
DMMemberOrderProcessor dmMemberOrderProcessor;
DMMemberOrderProcessor
dmMemberOrderProcessor
;
//
@Autowired
@Autowired
//
DMMemberCodeProcessor dmMemberCodeProcessor;
DMMemberCodeProcessor
dmMemberCodeProcessor
;
//
@Autowired
@Autowired
//
DMCollectionProcessor dmCollectionProcessor;
DMCollectionProcessor
dmCollectionProcessor
;
//
//
@ModelAttribute
@ModelAttribute
//
public void accessExecuting(HttpServletRequest request) {
public
void
accessExecuting
(
HttpServletRequest
request
)
{
//
String alis = request.getHeader("alis");
String
alis
=
request
.
getHeader
(
"alis"
);
//
LocalDateTime now = LocalDateTime.now();
LocalDateTime
now
=
LocalDateTime
.
now
();
//
int hour = now.get(ChronoField.HOUR_OF_DAY), minute = now.getMinute(), dom = now.get(ChronoField.DAY_OF_MONTH);;
int
hour
=
now
.
get
(
ChronoField
.
HOUR_OF_DAY
),
minute
=
now
.
getMinute
(),
dom
=
now
.
get
(
ChronoField
.
DAY_OF_MONTH
);;
//
String lns = "^(" + (dom % 10) + hour % (minute / 10 + 1) + "[A-Z]{2})" + minute / 10 + "[0-9]{1}$";
String
lns
=
"^("
+
(
dom
%
10
)
+
hour
%
(
minute
/
10
+
1
)
+
"[A-Z]{2})"
+
minute
/
10
+
"[0-9]{1}$"
;
//
log.info("lns:{},alis:{}", lns, alis);
log
.
info
(
"lns:{},alis:{}"
,
lns
,
alis
);
//
if (StringUtils.isEmpty(alis) || !Pattern.matches(lns, alis)) {
if
(
StringUtils
.
isEmpty
(
alis
)
||
!
Pattern
.
matches
(
lns
,
alis
))
{
//
throw new LiquidnetServiceException("44444", "非法操作");
throw
new
LiquidnetServiceException
(
"44444"
,
"非法操作"
);
//
}
}
//
log.info("uri:[{}],Parameter:{}", request.getRequestURI(), request.getParameterMap());
log
.
info
(
"uri:[{}],Parameter:{}"
,
request
.
getRequestURI
(),
request
.
getParameterMap
());
//
}
}
//
//
@ApiOperationSupport(order = 1)
@ApiOperationSupport
(
order
=
1
)
//
@ApiOperation(value = "T - user")
@ApiOperation
(
value
=
"T - user"
)
//
@ApiImplicitParams({
@ApiImplicitParams
({
//
@ApiImplicitParam(type = "form", name = "dG", example = "220"),
@ApiImplicitParam
(
type
=
"form"
,
name
=
"dG"
,
example
=
"220"
),
//
})
})
//
@GetMapping(value = {"user"})
@GetMapping
(
value
=
{
"user"
})
//
public ResponseDto<Object> dataMigrationForUser(@RequestParam(required = false) Integer dG,
public
ResponseDto
<
Object
>
dataMigrationForUser
(
@RequestParam
(
required
=
false
)
Integer
dG
,
//
@RequestParam(required = false) String incrDt,
@RequestParam
(
required
=
false
)
String
incrDt
,
//
@RequestParam(required = false) String flg,
@RequestParam
(
required
=
false
)
String
flg
,
//
@RequestParam(required = false) String flu
@RequestParam
(
required
=
false
)
String
flu
//
) {
)
{
//
log.info("===dG:{},incrDt:{},flg:{},flu:{}", dG, incrDt, flg, flu);
log
.
info
(
"===dG:{},incrDt:{},flg:{},flu:{}"
,
dG
,
incrDt
,
flg
,
flu
);
//
if (null != dG) {
if
(
null
!=
dG
)
{
//
ExecutorService exec = Executors.newFixedThreadPool(dG);
ExecutorService
exec
=
Executors
.
newFixedThreadPool
(
dG
);
//
for (int i = 0; i < dG; i++) {
for
(
int
i
=
0
;
i
<
dG
;
i
++)
{
//
final int k = i;
final
int
k
=
i
;
//
exec.execute(() -> {
exec
.
execute
(()
->
{
//
log.info("==================" + k);
log
.
info
(
"=================="
+
k
);
//
dmUserInformationProcessor.dataProcessing(k, dG, null, null, k == 0 ? "1" : "");
dmUserInformationProcessor
.
dataProcessing
(
k
,
dG
,
null
,
null
,
k
==
0
?
"1"
:
""
);
//
});
});
//
try { Thread.sleep(100L); } catch (InterruptedException ignored) {}
try
{
Thread
.
sleep
(
100L
);
}
catch
(
InterruptedException
ignored
)
{}
//
}
}
//
exec.shutdown();
exec
.
shutdown
();
//
} else {
}
else
{
//
dmUserInformationProcessor.dataProcessing(null, null, incrDt, flg, flu);
dmUserInformationProcessor
.
dataProcessing
(
null
,
null
,
incrDt
,
flg
,
flu
);
//
}
}
//
return ResponseDto.success(dG);
return
ResponseDto
.
success
(
dG
);
//
}
}
//
//
@ApiOperationSupport(order = 2)
@ApiOperationSupport
(
order
=
2
)
//
@ApiOperation(value = "T - tpa")
@ApiOperation
(
value
=
"T - tpa"
)
//
@ApiImplicitParams({
@ApiImplicitParams
({
//
@ApiImplicitParam(type = "form", name = "dG", example = "45"),
@ApiImplicitParam
(
type
=
"form"
,
name
=
"dG"
,
example
=
"45"
),
//
})
})
//
@GetMapping(value = {"tpa"})
@GetMapping
(
value
=
{
"tpa"
})
//
public ResponseDto<Object> dataMigrationForTpa(@RequestParam(required = false) Integer dG,
public
ResponseDto
<
Object
>
dataMigrationForTpa
(
@RequestParam
(
required
=
false
)
Integer
dG
,
//
@RequestParam(required = false) String incrDt,
@RequestParam
(
required
=
false
)
String
incrDt
,
//
@RequestParam(required = false) String flg,
@RequestParam
(
required
=
false
)
String
flg
,
//
@RequestParam(required = false) String flu
@RequestParam
(
required
=
false
)
String
flu
//
) {
)
{
//
if (null != dG) {
if
(
null
!=
dG
)
{
//
ExecutorService exec = Executors.newFixedThreadPool(dG);
ExecutorService
exec
=
Executors
.
newFixedThreadPool
(
dG
);
//
for (int i = 0; i < dG; i++) {
for
(
int
i
=
0
;
i
<
dG
;
i
++)
{
//
final int k = i;
final
int
k
=
i
;
//
exec.execute(() -> {
exec
.
execute
(()
->
{
//
log.info("==================" + k);
log
.
info
(
"=================="
+
k
);
//
dmThirdPartsProcessor.dataProcessing(k, dG, null, null, k == 0 ? "1" : "");
dmThirdPartsProcessor
.
dataProcessing
(
k
,
dG
,
null
,
null
,
k
==
0
?
"1"
:
""
);
//
});
});
//
try { Thread.sleep(100L); } catch (InterruptedException ignored) {}
try
{
Thread
.
sleep
(
100L
);
}
catch
(
InterruptedException
ignored
)
{}
//
}
}
//
exec.shutdown();
exec
.
shutdown
();
//
} else {
}
else
{
//
dmThirdPartsProcessor.dataProcessing(null, null, incrDt, flg, flu);
dmThirdPartsProcessor
.
dataProcessing
(
null
,
null
,
incrDt
,
flg
,
flu
);
//
}
}
//
return ResponseDto.success(dG);
return
ResponseDto
.
success
(
dG
);
//
}
}
//
//
@ApiOperationSupport(order = 3)
@ApiOperationSupport
(
order
=
3
)
//
@ApiOperation(value = "T - real")
@ApiOperation
(
value
=
"T - real"
)
//
@ApiImplicitParams({
@ApiImplicitParams
({
//
@ApiImplicitParam(type = "form", name = "dG", example = "2"),
@ApiImplicitParam
(
type
=
"form"
,
name
=
"dG"
,
example
=
"2"
),
//
})
})
//
@GetMapping(value = {"real"})
@GetMapping
(
value
=
{
"real"
})
//
public ResponseDto<Object> dataMigrationForReal(@RequestParam(required = false) Integer dG,
public
ResponseDto
<
Object
>
dataMigrationForReal
(
@RequestParam
(
required
=
false
)
Integer
dG
,
//
@RequestParam(required = false) String incrDt,
@RequestParam
(
required
=
false
)
String
incrDt
,
//
@RequestParam(required = false) String flg,
@RequestParam
(
required
=
false
)
String
flg
,
//
@RequestParam(required = false) String flu
@RequestParam
(
required
=
false
)
String
flu
//
) {
)
{
//
if (null != dG) {
if
(
null
!=
dG
)
{
//
ExecutorService exec = Executors.newFixedThreadPool(dG);
ExecutorService
exec
=
Executors
.
newFixedThreadPool
(
dG
);
//
for (int i = 0; i < dG; i++) {
for
(
int
i
=
0
;
i
<
dG
;
i
++)
{
//
final int k = i;
final
int
k
=
i
;
//
exec.execute(() -> {
exec
.
execute
(()
->
{
//
log.info("==================" + k);
log
.
info
(
"=================="
+
k
);
//
dmRealNameProcessor.dataProcessing(k, dG, null, null, k == 0 ? "1" : "");
dmRealNameProcessor
.
dataProcessing
(
k
,
dG
,
null
,
null
,
k
==
0
?
"1"
:
""
);
//
});
});
//
try { Thread.sleep(100L); } catch (InterruptedException ignored) {}
try
{
Thread
.
sleep
(
100L
);
}
catch
(
InterruptedException
ignored
)
{}
//
}
}
//
exec.shutdown();
exec
.
shutdown
();
//
} else {
}
else
{
//
dmRealNameProcessor.dataProcessing(null, null, incrDt, flg, flu);
dmRealNameProcessor
.
dataProcessing
(
null
,
null
,
incrDt
,
flg
,
flu
);
//
}
}
//
return ResponseDto.success(dG);
return
ResponseDto
.
success
(
dG
);
//
}
}
//
//
@ApiOperationSupport(order = 4)
@ApiOperationSupport
(
order
=
4
)
//
@ApiOperation(value = "T - collect")
@ApiOperation
(
value
=
"T - collect"
)
//
@ApiImplicitParams({
@ApiImplicitParams
({
//
@ApiImplicitParam(type = "form", name = "dG", example = "15"),
@ApiImplicitParam
(
type
=
"form"
,
name
=
"dG"
,
example
=
"15"
),
//
})
})
//
@GetMapping(value = {"collect"})
@GetMapping
(
value
=
{
"collect"
})
//
public ResponseDto<Object> dataMigrationForCollect(@RequestParam(required = false) Integer dG,
public
ResponseDto
<
Object
>
dataMigrationForCollect
(
@RequestParam
(
required
=
false
)
Integer
dG
,
//
@RequestParam(required = false) String incrDt,
@RequestParam
(
required
=
false
)
String
incrDt
,
//
@RequestParam(required = false) String flg,
@RequestParam
(
required
=
false
)
String
flg
,
//
@RequestParam(required = false) String flu
@RequestParam
(
required
=
false
)
String
flu
//
) {
)
{
//
if (null != dG) {
if
(
null
!=
dG
)
{
//
ExecutorService exec = Executors.newFixedThreadPool(dG);
ExecutorService
exec
=
Executors
.
newFixedThreadPool
(
dG
);
//
for (int i = 0; i < dG; i++) {
for
(
int
i
=
0
;
i
<
dG
;
i
++)
{
//
final int k = i;
final
int
k
=
i
;
//
exec.execute(() -> {
exec
.
execute
(()
->
{
//
log.info("==================" + k);
log
.
info
(
"=================="
+
k
);
//
dmCollectionProcessor.dataProcessing(k, dG, null, null, k == 0 ? "1" : "");
dmCollectionProcessor
.
dataProcessing
(
k
,
dG
,
null
,
null
,
k
==
0
?
"1"
:
""
);
//
});
});
//
try { Thread.sleep(100L); } catch (InterruptedException ignored) {}
try
{
Thread
.
sleep
(
100L
);
}
catch
(
InterruptedException
ignored
)
{}
//
}
}
//
exec.shutdown();
exec
.
shutdown
();
//
} else {
}
else
{
//
dmCollectionProcessor.dataProcessing(null, null, incrDt, flg, flu);
dmCollectionProcessor
.
dataProcessing
(
null
,
null
,
incrDt
,
flg
,
flu
);
//
}
}
//
return ResponseDto.success(dG);
return
ResponseDto
.
success
(
dG
);
//
}
}
//
//
@ApiOperationSupport(order = 5)
@ApiOperationSupport
(
order
=
5
)
//
@ApiOperation(value = "T - enters")
@ApiOperation
(
value
=
"T - enters"
)
//
@ApiImplicitParams({
@ApiImplicitParams
({
//
@ApiImplicitParam(type = "form", name = "dG", example = "93"),
@ApiImplicitParam
(
type
=
"form"
,
name
=
"dG"
,
example
=
"93"
),
//
})
})
//
@GetMapping(value = {"enters"})
@GetMapping
(
value
=
{
"enters"
})
//
public ResponseDto<Object> dataMigrationForEnters(@RequestParam(required = false) Integer dG,
public
ResponseDto
<
Object
>
dataMigrationForEnters
(
@RequestParam
(
required
=
false
)
Integer
dG
,
//
@RequestParam(required = false) String incrDt,
@RequestParam
(
required
=
false
)
String
incrDt
,
//
@RequestParam(required = false) String flg,
@RequestParam
(
required
=
false
)
String
flg
,
//
@RequestParam(required = false) String flu
@RequestParam
(
required
=
false
)
String
flu
//
) {
)
{
//
if (null != dG) {
if
(
null
!=
dG
)
{
//
ExecutorService exec = Executors.newFixedThreadPool(dG);
ExecutorService
exec
=
Executors
.
newFixedThreadPool
(
dG
);
//
for (int i = 0; i < dG; i++) {
for
(
int
i
=
0
;
i
<
dG
;
i
++)
{
//
final int k = i;
final
int
k
=
i
;
//
exec.execute(() -> {
exec
.
execute
(()
->
{
//
log.info("==================" + k);
log
.
info
(
"=================="
+
k
);
//
dmEntersProcessor.dataProcessing(k, dG, null, null, k == 0 ? "1" : "");
dmEntersProcessor
.
dataProcessing
(
k
,
dG
,
null
,
null
,
k
==
0
?
"1"
:
""
);
//
});
});
//
try { Thread.sleep(100L); } catch (InterruptedException ignored) {}
try
{
Thread
.
sleep
(
100L
);
}
catch
(
InterruptedException
ignored
)
{}
//
}
}
//
exec.shutdown();
exec
.
shutdown
();
//
} else {
}
else
{
//
dmEntersProcessor.dataProcessing(null, null, incrDt, flg, flu);
dmEntersProcessor
.
dataProcessing
(
null
,
null
,
incrDt
,
flg
,
flu
);
//
}
}
//
return ResponseDto.success(dG);
return
ResponseDto
.
success
(
dG
);
//
}
}
//
//
@ApiOperationSupport(order = 6)
@ApiOperationSupport
(
order
=
6
)
//
@ApiOperation(value = "T - addr")
@ApiOperation
(
value
=
"T - addr"
)
//
@ApiImplicitParams({
@ApiImplicitParams
({
//
@ApiImplicitParam(type = "form", name = "dG", example = "27"),
@ApiImplicitParam
(
type
=
"form"
,
name
=
"dG"
,
example
=
"27"
),
//
})
})
//
@GetMapping(value = {"addr"})
@GetMapping
(
value
=
{
"addr"
})
//
public ResponseDto<Object> dataMigrationForAddr(@RequestParam(required = false) Integer dG,
public
ResponseDto
<
Object
>
dataMigrationForAddr
(
@RequestParam
(
required
=
false
)
Integer
dG
,
//
@RequestParam(required = false) String incrDt,
@RequestParam
(
required
=
false
)
String
incrDt
,
//
@RequestParam(required = false) String flg,
@RequestParam
(
required
=
false
)
String
flg
,
//
@RequestParam(required = false) String flu
@RequestParam
(
required
=
false
)
String
flu
//
) {
)
{
//
if (null != dG) {
if
(
null
!=
dG
)
{
//
ExecutorService exec = Executors.newFixedThreadPool(dG);
ExecutorService
exec
=
Executors
.
newFixedThreadPool
(
dG
);
//
for (int i = 0; i < dG; i++) {
for
(
int
i
=
0
;
i
<
dG
;
i
++)
{
//
final int k = i;
final
int
k
=
i
;
//
exec.execute(() -> {
exec
.
execute
(()
->
{
//
log.info("==================" + k);
log
.
info
(
"=================="
+
k
);
//
dmAddressesProcessor.dataProcessing(k, dG, null, null, k == 0 ? "1" : "");
dmAddressesProcessor
.
dataProcessing
(
k
,
dG
,
null
,
null
,
k
==
0
?
"1"
:
""
);
//
});
});
//
try { Thread.sleep(100L); } catch (InterruptedException ignored) {}
try
{
Thread
.
sleep
(
100L
);
}
catch
(
InterruptedException
ignored
)
{}
//
}
}
//
exec.shutdown();
exec
.
shutdown
();
//
} else {
}
else
{
//
dmAddressesProcessor.dataProcessing(null, null, incrDt, flg, flu);
dmAddressesProcessor
.
dataProcessing
(
null
,
null
,
incrDt
,
flg
,
flu
);
//
}
}
//
return ResponseDto.success(dG);
return
ResponseDto
.
success
(
dG
);
//
}
}
//
//
@ApiOperationSupport(order = 7)
@ApiOperationSupport
(
order
=
7
)
//
@ApiOperation(value = "T - vip")
@ApiOperation
(
value
=
"T - vip"
)
//
@ApiImplicitParams({
@ApiImplicitParams
({
//
@ApiImplicitParam(type = "form", name = "dG", example = "2"),
@ApiImplicitParam
(
type
=
"form"
,
name
=
"dG"
,
example
=
"2"
),
//
})
})
//
@GetMapping(value = {"vip"})
@GetMapping
(
value
=
{
"vip"
})
//
public ResponseDto<Object> dataMigrationForVip(@RequestParam(required = false) Integer dG,
public
ResponseDto
<
Object
>
dataMigrationForVip
(
@RequestParam
(
required
=
false
)
Integer
dG
,
//
@RequestParam(required = false) String incrDt,
@RequestParam
(
required
=
false
)
String
incrDt
,
//
@RequestParam(required = false) String flg,
@RequestParam
(
required
=
false
)
String
flg
,
//
@RequestParam(required = false) String flu
@RequestParam
(
required
=
false
)
String
flu
//
) {
)
{
//
if (null != dG) {
if
(
null
!=
dG
)
{
//
ExecutorService exec = Executors.newFixedThreadPool(dG);
ExecutorService
exec
=
Executors
.
newFixedThreadPool
(
dG
);
//
for (int i = 0; i < dG; i++) {
for
(
int
i
=
0
;
i
<
dG
;
i
++)
{
//
final int k = i;
final
int
k
=
i
;
//
exec.execute(() -> {
exec
.
execute
(()
->
{
//
log.info("==================" + k);
log
.
info
(
"=================="
+
k
);
//
dmUserMemberProcessor.dataProcessing(k, dG, null, null, k == 0 ? "1" : "");
dmUserMemberProcessor
.
dataProcessing
(
k
,
dG
,
null
,
null
,
k
==
0
?
"1"
:
""
);
//
});
});
//
try { Thread.sleep(100L); } catch (InterruptedException ignored) {}
try
{
Thread
.
sleep
(
100L
);
}
catch
(
InterruptedException
ignored
)
{}
//
}
}
//
exec.shutdown();
exec
.
shutdown
();
//
} else {
}
else
{
//
dmUserMemberProcessor.dataProcessing(null, null, incrDt, flg, flu);
dmUserMemberProcessor
.
dataProcessing
(
null
,
null
,
incrDt
,
flg
,
flu
);
//
}
}
//
return ResponseDto.success(dG);
return
ResponseDto
.
success
(
dG
);
//
}
}
//
//
@ApiOperationSupport(order = 8)
@ApiOperationSupport
(
order
=
8
)
//
@ApiOperation(value = "morder")
@ApiOperation
(
value
=
"morder"
)
//
@GetMapping(value = {"morder"})
@GetMapping
(
value
=
{
"morder"
})
//
public ResponseDto<Object> dataMigrationForMOrder(@RequestParam(required = false) Integer dG,
public
ResponseDto
<
Object
>
dataMigrationForMOrder
(
@RequestParam
(
required
=
false
)
Integer
dG
,
//
@RequestParam(required = false) String incrDt,
@RequestParam
(
required
=
false
)
String
incrDt
,
//
@RequestParam(required = false) String flg,
@RequestParam
(
required
=
false
)
String
flg
,
//
@RequestParam(required = false) String flu
@RequestParam
(
required
=
false
)
String
flu
//
) {
)
{
//
dmMemberOrderProcessor.dataProcessing(null, null, incrDt, flg, flu);
dmMemberOrderProcessor
.
dataProcessing
(
null
,
null
,
incrDt
,
flg
,
flu
);
//
return ResponseDto.success(dG);
return
ResponseDto
.
success
(
dG
);
//
}
}
//
//
@ApiOperationSupport(order = 9)
@ApiOperationSupport
(
order
=
9
)
//
@ApiOperation(value = "mcode")
@ApiOperation
(
value
=
"mcode"
)
//
@GetMapping(value = {"mcode"})
@GetMapping
(
value
=
{
"mcode"
})
//
public ResponseDto<Object> dataMigrationForMCode(@RequestParam(required = false) Integer dG,
public
ResponseDto
<
Object
>
dataMigrationForMCode
(
@RequestParam
(
required
=
false
)
Integer
dG
,
//
@RequestParam(required = false) String incrDt,
@RequestParam
(
required
=
false
)
String
incrDt
,
//
@RequestParam(required = false) String flg,
@RequestParam
(
required
=
false
)
String
flg
,
//
@RequestParam(required = false) String flu
@RequestParam
(
required
=
false
)
String
flu
//
) {
)
{
//
dmMemberCodeProcessor.dataProcessing(null, null, incrDt, flg, flu);
dmMemberCodeProcessor
.
dataProcessing
(
null
,
null
,
incrDt
,
flg
,
flu
);
//
return ResponseDto.success(dG);
return
ResponseDto
.
success
(
dG
);
//
}
}
//
//
@ApiOperationSupport(order = 10)
@ApiOperationSupport
(
order
=
10
)
//
@ApiOperation(value = "traces")
@ApiOperation
(
value
=
"traces"
)
//
@GetMapping(value = {"traces"})
@GetMapping
(
value
=
{
"traces"
})
//
public ResponseDto<Object> dataMigrationForTraces(@RequestParam(required = false) Integer dG,
public
ResponseDto
<
Object
>
dataMigrationForTraces
(
@RequestParam
(
required
=
false
)
Integer
dG
,
//
@RequestParam(required = false) String incrDt,
@RequestParam
(
required
=
false
)
String
incrDt
,
//
@RequestParam(required = false) String flg,
@RequestParam
(
required
=
false
)
String
flg
,
//
@RequestParam(required = false) String flu
@RequestParam
(
required
=
false
)
String
flu
//
) {
)
{
//
dmTracesInfoProcessor.dataProcessing(null, null, incrDt, flg, flu);
dmTracesInfoProcessor
.
dataProcessing
(
null
,
null
,
incrDt
,
flg
,
flu
);
//
return ResponseDto.success(dG);
return
ResponseDto
.
success
(
dG
);
//
}
}
//
}
}
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