|
@@ -400,8 +400,8 @@ public class HanaOrderComponent {
|
|
|
/**HANA已冻结经销商**/
|
|
|
public void hanaFreezeCustomer()throws Exception{
|
|
|
Connection con = this.getHanaConnection();
|
|
|
- PreparedStatement pstmt = con.prepareStatement("SELECT DISTINCT KUNNR,VTWEG FROM ERP.KNVV WHERE KVGR3 = 'D03' and (LIFSD IS NULL or LIFSD = '') AND VTWEG = 'D9' union all \n" +
|
|
|
- "\t SELECT DISTINCT KUNNR,\n" +
|
|
|
+ PreparedStatement pstmt = con.prepareStatement("SELECT KUNNR,VTWEG FROM ERP.KNVV WHERE KVGR3 = 'D03' and (LIFSD IS NULL or LIFSD = '') AND VTWEG = 'D9' union all \n" +
|
|
|
+ "\t SELECT KUNNR,\n" +
|
|
|
"\t VTWEG \n" +
|
|
|
"FROM ERP.KNVV \n" +
|
|
|
"WHERE\n" +
|
|
@@ -411,7 +411,7 @@ public class HanaOrderComponent {
|
|
|
Long startTime = System.currentTimeMillis();
|
|
|
ResultSet rs = pstmt.executeQuery();
|
|
|
Long endTime = System.currentTimeMillis();
|
|
|
- log.info("FreezeCustomer查询用时:" + (endTime - startTime)+"毫秒");
|
|
|
+ log.info("NotFreezeCustomer查询用时:" + (endTime - startTime)+"毫秒");
|
|
|
this.createFreezeCustomerTxt(rs);
|
|
|
this.runLoadFreezeCustomer();
|
|
|
this.closeConnection(con, pstmt);
|