|
|
@ -23,9 +23,9 @@ public class CustomSearchTemplate extends AbstractCustomSqlConditionJavaCode {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public String generateSqlCondition(Map<String, Object> param) throws Exception {
|
|
|
|
public String generateSqlCondition(Map<String, Object> param) throws Exception {
|
|
|
|
|
|
|
|
|
|
|
|
RecordSetDataSource rst = new weaver.conn.RecordSetDataSource();
|
|
|
|
RecordSetDataSource rst = new RecordSetDataSource();
|
|
|
|
List<String> unitList = new ArrayList<>();
|
|
|
|
List<String> unitList = new ArrayList<>();
|
|
|
|
rst.executeQueryWithDatasource("select VndName from V_OA_BPVnd","AErp8_XAFSD");
|
|
|
|
rst.executeQueryWithDatasource("select VndName from V_OA_BPVnd","psxt");
|
|
|
|
while (rst.next()) {
|
|
|
|
while (rst.next()) {
|
|
|
|
unitList.add(Util.null2String(rst.getString("VndName").trim()));
|
|
|
|
unitList.add(Util.null2String(rst.getString("VndName").trim()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|