天地一体化展示图片列表新增id
This commit is contained in:
parent
2908a7b40e
commit
dcaddd12e3
@ -129,6 +129,7 @@ public class ZhSafeWarningServiceImpl extends ServiceImpl<ZhSafeWarningMapper, Z
|
||||
JSONArray ja = new JSONArray();
|
||||
JSONObject jo = new JSONObject();
|
||||
jo.put("name", parentList.get(i).getName());
|
||||
jo.put("id", parentList.get(i).getId());
|
||||
String parentId = parentList.get(i).getId();
|
||||
List<ZhTdythTable> childList = zhTdythTableMapper.selectList(new QueryWrapper<ZhTdythTable>().lambda()
|
||||
.eq(ZhTdythTable::getParentId, parentId).eq(ZhTdythTable::getFlag,"1").orderByAsc(ZhTdythTable::getDisplayOrder));
|
||||
@ -136,7 +137,9 @@ public class ZhSafeWarningServiceImpl extends ServiceImpl<ZhSafeWarningMapper, Z
|
||||
JSONObject jos = new JSONObject();
|
||||
jos.put("name", childList.get(j).getName());
|
||||
jos.put("note", childList.get(j).getNote());
|
||||
jos.put("id", childList.get(j).getId());
|
||||
String fileId = childList.get(j).getFileId();
|
||||
|
||||
// if (fileId != null && !"".equals(fileId)){
|
||||
// jos.put("fileId", pushImg(childList.get(j).getFileId()));
|
||||
// }else {
|
||||
|
Loading…
Reference in New Issue
Block a user