Commit be973bfd authored by 赵啸非's avatar 赵啸非

添加窗口编码

parent f12aaed8
......@@ -246,7 +246,10 @@ public class WindowOwnerServiceImpl extends AbstractCRUDServiceImpl<WindowOwnerD
protected void removeBefore(Long[] ids, Context context) throws AppException {
super.removeBefore(ids, context);
//删除窗口人员
List<WindowOwnerEntity> windowOwnerEntities = this.get(ids, context);
WindowOwnerQuery windowOwnerQuery = new WindowOwnerQuery();
windowOwnerQuery.setIdList(Arrays.asList(ids));
List<WindowOwnerEntity> windowOwnerEntities = this.find(windowOwnerQuery);
List<Long> collect = windowOwnerEntities.stream().map(item -> item.getWindowId()).collect(Collectors.toList());
if (!ObjectUtils.isEmpty(collect)) {
WindowOwnerDetailQuery detailQuery = new WindowOwnerDetailQuery();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment