From cad915058c3c53bf328a8ae9ca9bc7de099caba7 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 06 二月 2021 15:27:49 +0800 Subject: [PATCH] 接口bug修改 --- src/main/java/com/yeshi/buwan/service/imp/HomeNoticeService.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/service/imp/HomeNoticeService.java b/src/main/java/com/yeshi/buwan/service/imp/HomeNoticeService.java index 9a0cc5f..5524105 100644 --- a/src/main/java/com/yeshi/buwan/service/imp/HomeNoticeService.java +++ b/src/main/java/com/yeshi/buwan/service/imp/HomeNoticeService.java @@ -112,7 +112,7 @@ } public List<HomeType> getIOSTestHomeType() { - List<HomeType> list = new ArrayList<HomeType>(); + List<HomeType> list = new ArrayList<>(); HomeType type = new HomeType(); type.setId("130"); type.setName("钀屽疇濂囪叮"); @@ -162,7 +162,7 @@ return (List<HomeNoticeAdmin>) homeNoticeDao.excute(new HibernateCallback<List<HomeNoticeAdmin>>() { public List<HomeNoticeAdmin> doInHibernate(Session session) throws HibernateException { - List<HomeNoticeAdmin> zhiBoClassList = new ArrayList<HomeNoticeAdmin>(); + List<HomeNoticeAdmin> zhiBoClassList = new ArrayList<>(); try { List<DetailSystem> detailSystemList = session.createQuery("from DetailSystem").list(); String sql = ""; @@ -179,7 +179,7 @@ .createQuery("select vb.detailSystem from SuperHomeNotice vb where vb.homeNotice.id=?") .setParameter(0, vb.getId()).list(); - List<DetailSystemSelect> dssList = new ArrayList<DetailSystemSelect>(); + List<DetailSystemSelect> dssList = new ArrayList<>(); for (DetailSystem ds : detailSystemList) { DetailSystemSelect dss = new DetailSystemSelect(); -- Gitblit v1.8.0