Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cash-loan-flow-boss
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QG
cash-loan-flow-boss
Commits
65a0cc63
Commit
65a0cc63
authored
Sep 27, 2019
by
suntao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
执行 [xyqb_user] sql
parent
7ec97b2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
JolyneCenter.java
.../quantgroup/cashloanflowboss/spi/jolyne/JolyneCenter.java
+33
-0
No files found.
src/main/java/cn/quantgroup/cashloanflowboss/spi/jolyne/JolyneCenter.java
View file @
65a0cc63
...
@@ -10,9 +10,32 @@ import org.springframework.web.bind.annotation.RequestParam;
...
@@ -10,9 +10,32 @@ import org.springframework.web.bind.annotation.RequestParam;
@FeignClient
(
name
=
"JolyneServiceCenter"
,
url
=
"http://192.168.4.156:9001"
,
fallback
=
JolyneCenter
.
Fallback
.
class
)
@FeignClient
(
name
=
"JolyneServiceCenter"
,
url
=
"http://192.168.4.156:9001"
,
fallback
=
JolyneCenter
.
Fallback
.
class
)
public
interface
JolyneCenter
{
public
interface
JolyneCenter
{
/**
* 执行xyqb sql
* @param jsonData
* @return
*/
@PostMapping
(
value
=
"/executeSQL/"
+
"${NAMESPACE}"
+
"/xyqb"
,
consumes
=
"application/json"
)
@PostMapping
(
value
=
"/executeSQL/"
+
"${NAMESPACE}"
+
"/xyqb"
,
consumes
=
"application/json"
)
String
executeXYQBSQL
(
String
jsonData
);
String
executeXYQBSQL
(
String
jsonData
);
/**
* 查询xyqb sql
* @param jsonData
* @return
*/
@PostMapping
(
value
=
"/querySQL/"
+
"${NAMESPACE}"
+
"/xyqb"
,
consumes
=
"application/json"
)
String
queryXYQBSQL
(
String
jsonData
);
/**
* 执行 [xyqb_user] sql
* @param jsonData
* @return
*/
@PostMapping
(
value
=
"/executeSQL/"
+
"${NAMESPACE}"
+
"/xyqb_user"
,
consumes
=
"application/json"
)
String
executeXYQBUserSQL
(
String
jsonData
);
@GetMapping
(
value
=
"/job/clotho-elastic-job/cn.qg.clotho.job.FetchDataLoanJob"
)
@GetMapping
(
value
=
"/job/clotho-elastic-job/cn.qg.clotho.job.FetchDataLoanJob"
)
void
fetchDataLoanJob
(
@RequestParam
(
"namespace"
)
String
namespace
);
void
fetchDataLoanJob
(
@RequestParam
(
"namespace"
)
String
namespace
);
...
@@ -27,6 +50,16 @@ public interface JolyneCenter {
...
@@ -27,6 +50,16 @@ public interface JolyneCenter {
return
null
;
return
null
;
}
}
@Override
public
String
queryXYQBSQL
(
String
jsonData
)
{
return
null
;
}
@Override
public
String
executeXYQBUserSQL
(
String
jsonData
)
{
return
null
;
}
@Override
@Override
public
void
fetchDataLoanJob
(
String
namespace
)
{
public
void
fetchDataLoanJob
(
String
namespace
)
{
...
...
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