fixed formatter fetch brand_id issue/ updated data 20170220
This commit is contained in:
@@ -12,7 +12,6 @@ import com.mysql.jdbc.Connection;
|
||||
import com.mysql.jdbc.PreparedStatement;
|
||||
import com.mysql.jdbc.ResultSet;
|
||||
|
||||
import java.io.*;
|
||||
import java.sql.DriverManager;
|
||||
|
||||
public class DataFormatter {
|
||||
@@ -196,8 +195,8 @@ public class DataFormatter {
|
||||
int brandID = 0;
|
||||
|
||||
if (3 != categoryID) {
|
||||
innerDestSqlString = "SELECT * FROM remote_index WHERE category_id = '" + categoryID + "' AND " +
|
||||
"brand_name = '" + brandName + "';";
|
||||
innerDestSqlString = "SELECT * FROM brand WHERE category_id = '" + categoryID + "' AND " +
|
||||
"name = '" + brandName + "';";
|
||||
innerDestStatement = (PreparedStatement) mDestConnection.prepareStatement(innerDestSqlString);
|
||||
innerDestResultSet = (ResultSet) innerDestStatement.executeQuery();
|
||||
if (innerDestResultSet.next()) {
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
src/web_console/data/binaries/irext-protocol.tar.gz
Normal file
BIN
src/web_console/data/binaries/irext-protocol.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user