Commit 5f36015c by fuwenlei

修改配置文件

parent c17e1a50
......@@ -15,22 +15,22 @@ public class HyperSqlMap {
public HyperSqlMap(){
//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 "
+ "from BYIT.auth_hos_sales_curr "
+ "from MUNDITEMP.auth_hos_sales_curr "
+" where position_code like '%"+position_code+"%' )a2 "
+"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 "
+"on a1.品牌名称=a3.brand_name");
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 "
+"from BYIT.auth_hos_sales_curr "
+"from MUNDITEMP.auth_hos_sales_curr "
+"where position_code like '%"+position_code+"%' )a2 "
+"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 "
+"on a1.品牌名称=a3.brand_name");
......
......@@ -10,7 +10,7 @@ spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
#template file path###
templatePath=C:\\test
#hyper file path###
hyperPath=C:\\hyper
hyperPath=C:\\hyper\\
#twbx file path###
twbxPath=C:\\mdtest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment