完成坐席工号查询接口。
This commit is contained in:
		@@ -20,7 +20,7 @@ SELECT s.saler_code,
 | 
				
			|||||||
       idst0.bm_t      bm
 | 
					       idst0.bm_t      bm
 | 
				
			||||||
 WHERE s.team_code = t.team_code
 | 
					 WHERE s.team_code = t.team_code
 | 
				
			||||||
   AND t.department_code = bm.department_code
 | 
					   AND t.department_code = bm.department_code
 | 
				
			||||||
   AND s.saler_name = '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
 | 
					   AND s.saler_code = '61136';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SELECT *
 | 
					SELECT *
 | 
				
			||||||
  FROM tele_saler_team t
 | 
					  FROM tele_saler_team t
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										32
									
								
								code/web/task_schedule/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										32
									
								
								code/web/task_schedule/package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -15,7 +15,7 @@
 | 
				
			|||||||
                "axios": "^1.3.6",
 | 
					                "axios": "^1.3.6",
 | 
				
			||||||
                "babel": "^6.23.0",
 | 
					                "babel": "^6.23.0",
 | 
				
			||||||
                "echarts": "^5.4.2",
 | 
					                "echarts": "^5.4.2",
 | 
				
			||||||
                "element-plus": "^2.3.3",
 | 
					                "element-plus": "^2.3.4",
 | 
				
			||||||
                "moment": "^2.29.4",
 | 
					                "moment": "^2.29.4",
 | 
				
			||||||
                "vue": "^3.2.47",
 | 
					                "vue": "^3.2.47",
 | 
				
			||||||
                "vue-router": "^4.1.6",
 | 
					                "vue-router": "^4.1.6",
 | 
				
			||||||
@@ -25,7 +25,7 @@
 | 
				
			|||||||
                "@babel/eslint-parser": "^7.21.3",
 | 
					                "@babel/eslint-parser": "^7.21.3",
 | 
				
			||||||
                "@vitejs/plugin-vue": "^4.1.0",
 | 
					                "@vitejs/plugin-vue": "^4.1.0",
 | 
				
			||||||
                "@vue/cli-plugin-eslint": "^5.0.8",
 | 
					                "@vue/cli-plugin-eslint": "^5.0.8",
 | 
				
			||||||
                "eslint": "^8.38.0",
 | 
					                "eslint": "^8.39.0",
 | 
				
			||||||
                "eslint-config-recommended": "^4.1.0",
 | 
					                "eslint-config-recommended": "^4.1.0",
 | 
				
			||||||
                "eslint-config-standard-with-typescript": "^34.0.1",
 | 
					                "eslint-config-standard-with-typescript": "^34.0.1",
 | 
				
			||||||
                "eslint-plugin-vue": "^9.11.0",
 | 
					                "eslint-plugin-vue": "^9.11.0",
 | 
				
			||||||
@@ -835,9 +835,9 @@
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "node_modules/@eslint/js": {
 | 
					        "node_modules/@eslint/js": {
 | 
				
			||||||
            "version": "8.38.0",
 | 
					            "version": "8.39.0",
 | 
				
			||||||
            "resolved": "https://registry.npmmirror.com/@eslint/js/-/js-8.38.0.tgz",
 | 
					            "resolved": "https://registry.npmmirror.com/@eslint/js/-/js-8.39.0.tgz",
 | 
				
			||||||
            "integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==",
 | 
					            "integrity": "sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng==",
 | 
				
			||||||
            "engines": {
 | 
					            "engines": {
 | 
				
			||||||
                "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
 | 
					                "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
@@ -4188,9 +4188,9 @@
 | 
				
			|||||||
            "dev": true
 | 
					            "dev": true
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "node_modules/element-plus": {
 | 
					        "node_modules/element-plus": {
 | 
				
			||||||
            "version": "2.3.3",
 | 
					            "version": "2.3.4",
 | 
				
			||||||
            "resolved": "https://registry.npmmirror.com/element-plus/-/element-plus-2.3.3.tgz",
 | 
					            "resolved": "https://registry.npmmirror.com/element-plus/-/element-plus-2.3.4.tgz",
 | 
				
			||||||
            "integrity": "sha512-Zy61OXrG6b4FF3h29A9ZOUkaEQXjCuFwNa7DlpB3Vo+42Tw5zBbHe5a4BY7i56TVJG5xTbS9UQyA726J91pDqg==",
 | 
					            "integrity": "sha512-SQr0J9z7N4z48WYk/l9NE2tizl8Q7j2OhqlpTc42k4pGncry3+rVX6dsmcsglFynn6vt3NzYxWJqmLFyDKQq+g==",
 | 
				
			||||||
            "dependencies": {
 | 
					            "dependencies": {
 | 
				
			||||||
                "@ctrl/tinycolor": "^3.4.1",
 | 
					                "@ctrl/tinycolor": "^3.4.1",
 | 
				
			||||||
                "@element-plus/icons-vue": "^2.0.6",
 | 
					                "@element-plus/icons-vue": "^2.0.6",
 | 
				
			||||||
@@ -4435,14 +4435,14 @@
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "node_modules/eslint": {
 | 
					        "node_modules/eslint": {
 | 
				
			||||||
            "version": "8.38.0",
 | 
					            "version": "8.39.0",
 | 
				
			||||||
            "resolved": "https://registry.npmmirror.com/eslint/-/eslint-8.38.0.tgz",
 | 
					            "resolved": "https://registry.npmmirror.com/eslint/-/eslint-8.39.0.tgz",
 | 
				
			||||||
            "integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==",
 | 
					            "integrity": "sha512-mwiok6cy7KTW7rBpo05k6+p4YVZByLNjAZ/ACB9DRCu4YDRwjXI01tWHp6KAUWelsBetTxKK/2sHB0vdS8Z2Og==",
 | 
				
			||||||
            "dependencies": {
 | 
					            "dependencies": {
 | 
				
			||||||
                "@eslint-community/eslint-utils": "^4.2.0",
 | 
					                "@eslint-community/eslint-utils": "^4.2.0",
 | 
				
			||||||
                "@eslint-community/regexpp": "^4.4.0",
 | 
					                "@eslint-community/regexpp": "^4.4.0",
 | 
				
			||||||
                "@eslint/eslintrc": "^2.0.2",
 | 
					                "@eslint/eslintrc": "^2.0.2",
 | 
				
			||||||
                "@eslint/js": "8.38.0",
 | 
					                "@eslint/js": "8.39.0",
 | 
				
			||||||
                "@humanwhocodes/config-array": "^0.11.8",
 | 
					                "@humanwhocodes/config-array": "^0.11.8",
 | 
				
			||||||
                "@humanwhocodes/module-importer": "^1.0.1",
 | 
					                "@humanwhocodes/module-importer": "^1.0.1",
 | 
				
			||||||
                "@nodelib/fs.walk": "^1.2.8",
 | 
					                "@nodelib/fs.walk": "^1.2.8",
 | 
				
			||||||
@@ -4452,7 +4452,7 @@
 | 
				
			|||||||
                "debug": "^4.3.2",
 | 
					                "debug": "^4.3.2",
 | 
				
			||||||
                "doctrine": "^3.0.0",
 | 
					                "doctrine": "^3.0.0",
 | 
				
			||||||
                "escape-string-regexp": "^4.0.0",
 | 
					                "escape-string-regexp": "^4.0.0",
 | 
				
			||||||
                "eslint-scope": "^7.1.1",
 | 
					                "eslint-scope": "^7.2.0",
 | 
				
			||||||
                "eslint-visitor-keys": "^3.4.0",
 | 
					                "eslint-visitor-keys": "^3.4.0",
 | 
				
			||||||
                "espree": "^9.5.1",
 | 
					                "espree": "^9.5.1",
 | 
				
			||||||
                "esquery": "^1.4.2",
 | 
					                "esquery": "^1.4.2",
 | 
				
			||||||
@@ -6544,9 +6544,9 @@
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "node_modules/eslint/node_modules/eslint-scope": {
 | 
					        "node_modules/eslint/node_modules/eslint-scope": {
 | 
				
			||||||
            "version": "7.1.1",
 | 
					            "version": "7.2.0",
 | 
				
			||||||
            "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.1.1.tgz",
 | 
					            "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.2.0.tgz",
 | 
				
			||||||
            "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==",
 | 
					            "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==",
 | 
				
			||||||
            "dependencies": {
 | 
					            "dependencies": {
 | 
				
			||||||
                "esrecurse": "^4.3.0",
 | 
					                "esrecurse": "^4.3.0",
 | 
				
			||||||
                "estraverse": "^5.2.0"
 | 
					                "estraverse": "^5.2.0"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,7 +16,7 @@
 | 
				
			|||||||
        "axios": "^1.3.6",
 | 
					        "axios": "^1.3.6",
 | 
				
			||||||
        "babel": "^6.23.0",
 | 
					        "babel": "^6.23.0",
 | 
				
			||||||
        "echarts": "^5.4.2",
 | 
					        "echarts": "^5.4.2",
 | 
				
			||||||
        "element-plus": "^2.3.3",
 | 
					        "element-plus": "^2.3.4",
 | 
				
			||||||
        "moment": "^2.29.4",
 | 
					        "moment": "^2.29.4",
 | 
				
			||||||
        "vue": "^3.2.47",
 | 
					        "vue": "^3.2.47",
 | 
				
			||||||
        "vue-router": "^4.1.6",
 | 
					        "vue-router": "^4.1.6",
 | 
				
			||||||
@@ -26,7 +26,7 @@
 | 
				
			|||||||
        "@babel/eslint-parser": "^7.21.3",
 | 
					        "@babel/eslint-parser": "^7.21.3",
 | 
				
			||||||
        "@vitejs/plugin-vue": "^4.1.0",
 | 
					        "@vitejs/plugin-vue": "^4.1.0",
 | 
				
			||||||
        "@vue/cli-plugin-eslint": "^5.0.8",
 | 
					        "@vue/cli-plugin-eslint": "^5.0.8",
 | 
				
			||||||
        "eslint": "^8.38.0",
 | 
					        "eslint": "^8.39.0",
 | 
				
			||||||
        "eslint-config-recommended": "^4.1.0",
 | 
					        "eslint-config-recommended": "^4.1.0",
 | 
				
			||||||
        "eslint-config-standard-with-typescript": "^34.0.1",
 | 
					        "eslint-config-standard-with-typescript": "^34.0.1",
 | 
				
			||||||
        "eslint-plugin-vue": "^9.11.0",
 | 
					        "eslint-plugin-vue": "^9.11.0",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -42,6 +42,7 @@ export default {
 | 
				
			|||||||
};
 | 
					};
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
<style lang="scss" scoped>
 | 
					<style lang="scss" scoped>
 | 
				
			||||||
 | 
					@media screen {
 | 
				
			||||||
    .layout-container {
 | 
					    .layout-container {
 | 
				
			||||||
        height: 100vh;
 | 
					        height: 100vh;
 | 
				
			||||||
        width: 100vw;
 | 
					        width: 100vw;
 | 
				
			||||||
@@ -81,4 +82,5 @@ export default {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
</style>
 | 
					</style>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,8 +11,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  <properties>
 | 
					  <properties>
 | 
				
			||||||
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
					    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
				
			||||||
    <maven.compiler.source>1.9</maven.compiler.source>
 | 
					    <maven.compiler.source>20</maven.compiler.source>
 | 
				
			||||||
    <maven.compiler.target>1.9</maven.compiler.target>
 | 
					    <maven.compiler.target>20</maven.compiler.target>
 | 
				
			||||||
    <spring.version>5.3.24</spring.version>
 | 
					    <spring.version>5.3.24</spring.version>
 | 
				
			||||||
  </properties>
 | 
					  </properties>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,9 +12,9 @@ package com.cpic.xim.utils.account;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import java.sql.Connection;
 | 
					import java.sql.Connection;
 | 
				
			||||||
import java.sql.DriverManager;
 | 
					import java.sql.DriverManager;
 | 
				
			||||||
import java.sql.PreparedStatement;
 | 
					 | 
				
			||||||
import java.sql.ResultSet;
 | 
					import java.sql.ResultSet;
 | 
				
			||||||
import java.sql.SQLException;
 | 
					import java.sql.SQLException;
 | 
				
			||||||
 | 
					import java.sql.Statement;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@SuppressWarnings( "unused" )
 | 
					@SuppressWarnings( "unused" )
 | 
				
			||||||
public final class TeleSalerInfo
 | 
					public final class TeleSalerInfo
 | 
				
			||||||
@@ -40,6 +40,7 @@ public final class TeleSalerInfo
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public static TeleSalerInfo queryTeleSalerInfo( String code )
 | 
					    public static TeleSalerInfo queryTeleSalerInfo( String code )
 | 
				
			||||||
 | 
					            throws ClassNotFoundException, SQLException
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        TeleSalerInfo info = null;
 | 
					        TeleSalerInfo info = null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -48,6 +49,30 @@ public final class TeleSalerInfo
 | 
				
			|||||||
        String password = "Cpic123456";
 | 
					        String password = "Cpic123456";
 | 
				
			||||||
        String jdbcURL = "jdbc:oracle:thin:@10.39.0.86:1521:xmcx1";
 | 
					        String jdbcURL = "jdbc:oracle:thin:@10.39.0.86:1521:xmcx1";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        Connection conection = null;
 | 
				
			||||||
 | 
					        Statement statement = null;
 | 
				
			||||||
 | 
					        ResultSet result = null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        String sql = """
 | 
				
			||||||
 | 
					                SELECT DISTINCT s.saler_code,
 | 
				
			||||||
 | 
					                                s.saler_name,
 | 
				
			||||||
 | 
					                                t.team_code,
 | 
				
			||||||
 | 
					                                t.team,
 | 
				
			||||||
 | 
					                                bm.department_code,
 | 
				
			||||||
 | 
					                                bm.department_name
 | 
				
			||||||
 | 
					                    FROM tele_saler      s,
 | 
				
			||||||
 | 
					                         tele_saler_team t,
 | 
				
			||||||
 | 
					                         idst0.bm_t      bm
 | 
				
			||||||
 | 
					                    WHERE s.team_code = t.team_code
 | 
				
			||||||
 | 
					                    AND t.department_code = bm.department_code
 | 
				
			||||||
 | 
					                    AND s.saler_code = ?
 | 
				
			||||||
 | 
					                """;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        Class.forName( "oracle.jdbc.driver.OracleDriver" );
 | 
				
			||||||
 | 
					        conection = DriverManager.getConnection( jdbcURL, userName, password );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return info;
 | 
					        return info;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								文档/团队.xlsx
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								文档/团队.xlsx
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								文档/坐席清单.xlsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								文档/坐席清单.xlsx
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user