|
@@ -400,7 +400,7 @@ public class HanaOrderComponent {
|
|
|
/**HANA已冻结经销商**/
|
|
|
public void hanaFreezeCustomer()throws Exception{
|
|
|
Connection con = this.getHanaConnection();
|
|
|
- PreparedStatement pstmt = con.prepareStatement("SELECT DISTINCT KUNNR FROM ERP.KNVV x WHERE LIFSD IS NOT NULL AND LIFSD != ''");
|
|
|
+ PreparedStatement pstmt = con.prepareStatement("SELECT DISTINCT KUNNR,LIFSD FROM ERP.KNVV x WHERE LIFSD IS NOT NULL AND LIFSD != ''");
|
|
|
Long startTime = System.currentTimeMillis();
|
|
|
ResultSet rs = pstmt.executeQuery();
|
|
|
Long endTime = System.currentTimeMillis();
|
|
@@ -609,7 +609,8 @@ public class HanaOrderComponent {
|
|
|
|
|
|
fw.write(
|
|
|
result.getString("KUNNR")
|
|
|
- + "\r\n");
|
|
|
+ +"$$"+result.getString("LIFSD")
|
|
|
+ +"\r\n");
|
|
|
fw.flush();
|
|
|
i++;
|
|
|
if (i%50000==0){
|