Przeglądaj źródła

查询公共类跟新

zthwr 1 rok temu
rodzic
commit
d90c3c5516

+ 1 - 8
mmpac/mmpac/src/public/u8c/bs/servlet/service/GetBaseDAOUtil.java

@@ -384,14 +384,7 @@ public class GetBaseDAOUtil {
   	
   	
  
-   	public static String getCubasdocpk(String custname)throws Exception {
-   		String sql = "select pk_cubasdoc from bd_cubasdoc where custname = '"+custname+"' and dr = 0";
-   		String pk_cubasdoc  = (String) iuap.executeQuery(sql, new ColumnProcessor());
-   		if(pk_cubasdoc == null) {
-    		throw new Exception("客商"+custname+"未查到,请检查");
-    	}
-    	return pk_cubasdoc;
-   	}
+