|
@@ -50,20 +50,11 @@ public class StandarVerificationJob {
|
|
|
AuthHelper authHelper;
|
|
|
|
|
|
|
|
|
- public Step verificationCheck() {
|
|
|
- return stepBuilderFactory.get("verificationCheck")
|
|
|
- .tasklet((contribution, chunkContext) -> {
|
|
|
-
|
|
|
- return RepeatStatus.FINISHED;
|
|
|
- })
|
|
|
- .build();
|
|
|
- }
|
|
|
-
|
|
|
public Step standardVerificationStep() {
|
|
|
return stepBuilderFactory.get("standardVerificationStep")
|
|
|
.tasklet((contribution, chunkContext) -> {
|
|
|
|
|
|
-
|
|
|
+ getResultContent().remove();
|
|
|
|
|
|
VerificationModel verificationModel = getParameter().get();
|
|
|
String enterPriseId = authHelper.getEnterPriseId();
|
|
@@ -97,7 +88,6 @@ public class StandarVerificationJob {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
ResultContent<SubOrdersConfirmResponseModel> resultContent = paymentService2.subOrdersConfirm(verificationModel.getId(), verificationModel.getShopId());
|
|
|
if (!resultContent.getState().equals(ResultState.Success)) {
|
|
|
getResultContent().set(resultContent);
|
|
@@ -113,8 +103,7 @@ public class StandarVerificationJob {
|
|
|
public Job standardVerificationJob() {
|
|
|
return getJobBuilderFactory()
|
|
|
.get("standardVerificationJob")
|
|
|
- .start(verificationCheck())
|
|
|
- .next(standardVerificationStep())
|
|
|
+ .start(standardVerificationStep())
|
|
|
.incrementer(new RunIdIncrementer())
|
|
|
.build();
|
|
|
}
|