| | |
| | | import com.dy.common.webUtil.QueryResultVo; |
| | | import com.dy.pipIrrGlobal.daoBa.BaBlockMapper; |
| | | import com.dy.pipIrrGlobal.pojoBa.BaBlock; |
| | | import com.dy.pipIrrGlobal.pojoBa.BaClientType; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.dubbo.common.utils.PojoUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | return this.dao.selectByPrimaryKey(id) ; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 得到所有片区 |
| | | * @return 所有片区集合 |
| | | */ |
| | | public QueryResultVo<List<BaBlock>> selectAll(){ |
| | | QueryResultVo<List<BaBlock>> rsVo = new QueryResultVo<>() ; |
| | | rsVo.obj = this.dao.selectAll() ; |
| | | return rsVo ; |
| | | } |
| | | /** |
| | | * 得到一个片区 |
| | | * @param vo 查询条件值对象 |