|
|
|
@ -587,7 +587,7 @@ public class IdcServiceImpl implements IdcService {
|
|
|
|
|
for(int z=0;z<childNum+1;z++) {
|
|
|
|
|
String[] chidTnames = childs[z].split("/");
|
|
|
|
|
if(!StringUtils.isEmpty(chidTnames[4])&&!StringUtils.isEmpty(chidTnames[5])) {
|
|
|
|
|
String keyValue = list.get(i).get(chidTnames[4]).toString();
|
|
|
|
|
String keyValue = list.get(m).get(chidTnames[4]).toString();
|
|
|
|
|
Map<String,Object> childMap = new HashMap<>();
|
|
|
|
|
childMap.put(chidTnames[5], keyValue);
|
|
|
|
|
List<Map<String,Object>> childList = getList(chidTnames[2],childMap);
|
|
|
|
@ -1032,6 +1032,8 @@ public class IdcServiceImpl implements IdcService {
|
|
|
|
|
Map<String,Object> map = new HashMap<String,Object>();
|
|
|
|
|
map.putAll(params);
|
|
|
|
|
map.put("sql", sql);
|
|
|
|
|
if(tableName.equals("basic_products"))
|
|
|
|
|
logger.info("sql-->"+tableName+"-->"+sql);
|
|
|
|
|
List<Map<String,Object>> list = dbDao.list(map);
|
|
|
|
|
return list;
|
|
|
|
|
}
|
|
|
|
|