|
@@ -89,6 +89,15 @@ public class ZysqbgServiceImpl extends
|
|
return zysqbpBgDao.save(entity);
|
|
return zysqbpBgDao.save(entity);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public ZysqbpBgEntity findById(Long id) {
|
|
|
|
+ List<ZysqbpBgEntity> list = zysqbpBgDao.findById(id);
|
|
|
|
+ if (list != null && list.size() > 0) {
|
|
|
|
+ return list.get(0);
|
|
|
|
+ }
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
public ZysqbpBgEntity findBgzyByZysqbp(ZysqbpEntity entity) {
|
|
public ZysqbpBgEntity findBgzyByZysqbp(ZysqbpEntity entity) {
|
|
List<ZysqbpBgEntity> list = zysqbpBgDao.findByZysq(entity);
|
|
List<ZysqbpBgEntity> list = zysqbpBgDao.findByZysq(entity);
|
|
if (list != null && list.size() > 0) {
|
|
if (list != null && list.size() > 0) {
|