Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
md-job
Overview
Overview
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
Administrator
md-job
Commits
5f36015c
Commit
5f36015c
authored
Oct 25, 2018
by
fuwenlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
c17e1a50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
HyperSqlMap.java
src/main/java/com/byit/utils/HyperSqlMap.java
+6
-6
byit.properties
src/main/resources/byit.properties
+1
-1
No files found.
src/main/java/com/byit/utils/HyperSqlMap.java
View file @
5f36015c
...
@@ -15,22 +15,22 @@ public class HyperSqlMap {
...
@@ -15,22 +15,22 @@ public class HyperSqlMap {
public
HyperSqlMap
(){
public
HyperSqlMap
(){
//key为hyper文件得名字,value为hyper文件得查询sql
//key为hyper文件得名字,value为hyper文件得查询sql
hyperSqlMap
.
put
(
"BI_HOS_SALES_CURR_V_B (BYIT)"
,
"SELECT a1.* from
BYIT
.bi_hos_sales_curr_v a1 inner join "
hyperSqlMap
.
put
(
"BI_HOS_SALES_CURR_V_B (BYIT)"
,
"SELECT a1.* from
MUNDITEMP
.bi_hos_sales_curr_v a1 inner join "
+
"(select distinct subordinate_position_code "
+
"(select distinct subordinate_position_code "
+
"from
BYIT
.auth_hos_sales_curr "
+
"from
MUNDITEMP
.auth_hos_sales_curr "
+
" where position_code like '%"
+
position_code
+
"%' )a2 "
+
" where position_code like '%"
+
position_code
+
"%' )a2 "
+
"on a1.大区经理岗位代码 = a2.subordinate_position_code inner join "
+
"on a1.大区经理岗位代码 = a2.subordinate_position_code inner join "
+
"(select distinct brand_name from
BYIT
.auth_empl_brand "
+
"(select distinct brand_name from
MUNDITEMP
.auth_empl_brand "
+
"where empl_code like '%"
+
empl_code
+
"%' ) a3 "
+
"where empl_code like '%"
+
empl_code
+
"%' ) a3 "
+
"on a1.品牌名称=a3.brand_name"
);
+
"on a1.品牌名称=a3.brand_name"
);
hyperSqlMap
.
put
(
"BI_HOS_SALES_HIS_V_B (BYIT)"
,
"SELECT a1.* "
hyperSqlMap
.
put
(
"BI_HOS_SALES_HIS_V_B (BYIT)"
,
"SELECT a1.* "
+
"from
BYIT
.bi_hos_sales_curr_v a1 inner join ("
+
"from
MUNDITEMP
.bi_hos_sales_curr_v a1 inner join ("
+
"select distinct subordinate_position_code "
+
"select distinct subordinate_position_code "
+
"from
BYIT
.auth_hos_sales_curr "
+
"from
MUNDITEMP
.auth_hos_sales_curr "
+
"where position_code like '%"
+
position_code
+
"%' )a2 "
+
"where position_code like '%"
+
position_code
+
"%' )a2 "
+
"on a1.大区经理岗位代码=a2.subordinate_position_code "
+
"on a1.大区经理岗位代码=a2.subordinate_position_code "
+
"inner join(select distinct brand_name from
BYIT
.auth_empl_brand "
+
"inner join(select distinct brand_name from
MUNDITEMP
.auth_empl_brand "
+
"where empl_code like '%"
+
empl_code
+
"%' )a3 "
+
"where empl_code like '%"
+
empl_code
+
"%' )a3 "
+
"on a1.品牌名称=a3.brand_name"
);
+
"on a1.品牌名称=a3.brand_name"
);
...
...
src/main/resources/byit.properties
View file @
5f36015c
...
@@ -10,7 +10,7 @@ spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
...
@@ -10,7 +10,7 @@ spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
#template file path###
#template file path###
templatePath
=
C:
\\
test
templatePath
=
C:
\\
test
#hyper file path###
#hyper file path###
hyperPath
=
C:
\\
hyper
hyperPath
=
C:
\\
hyper
\\
#twbx file path###
#twbx file path###
twbxPath
=
C:
\\
mdtest
twbxPath
=
C:
\\
mdtest
...
...
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