• 大小: 187KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-07
  • 语言: Java
  • 标签: java  

资源简介

基于java+MySQL的宠物管理系统

资源截图

代码片段和文件信息

package com.njwangbo.dao;

import java.util.List;

import com.njwangbo.entity.Pet;

/**
 * Pet的数据访问层
 *    实现对Pet的增删查改操作
 */
public interface PetDao {
/**
 * 查询所有的宠物
 * @return  所有宠物的集合
 */
public List findAll();

/**
 * 保存一条宠物信息
 * @param pet  一条宠物信息
 * @return 是否保存成功
 */
public boolean save(Pet pet);

/**
 * 修改一条宠物信息
 * @param pet 宠物信息
 * @return 修改是否成功
 */
public boolean update(Pet pet);

/**
 * 根据宠物编号删除一条宠物
 * @param id  宠物的编号
 * @return 是否删除成功
 */
public boolean delete(int id);

/**
 * 根据名字和年龄进行模糊查询
 * @param name 名字中包含的字符
 * @param minAge  年龄的低位值
 * @param maxAge  年龄的高位值
 * @return 查询出符合条件的宠物的集合
 */
public List findPetsBySome(String nameString minAgeString maxAge);
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-01-10 21:53  lu15371686149-8809235-瀹犵墿绠$悊\
     文件        2786  2015-05-27 15:48  lu15371686149-8809235-瀹犵墿绠$悊\petmanager.sql
     目录           0  2019-01-10 21:53  __MACOSX\
     目录           0  2019-01-10 21:53  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\
     文件         172  2015-05-27 15:48  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\._petmanager.sql
     目录           0  2019-01-10 21:53  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\
     目录           0  2015-05-29 10:59  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\
     文件         152  2015-05-29 10:59  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\datasource.properties
     目录           0  2019-01-10 21:53  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\
     目录           0  2019-01-10 21:53  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\
     文件         172  2015-05-29 10:59  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\._datasource.properties
     文件         237  2015-05-29 10:59  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\bean.properties
     文件         172  2015-05-29 10:59  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\._bean.properties
     目录           0  2015-05-29 10:59  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\
     目录           0  2015-05-29 10:59  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\
     目录           0  2015-05-29 10:59  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\
     文件        2494  2015-05-29 10:59  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\PetTableModel.class
     目录           0  2019-01-10 21:53  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\
     目录           0  2019-01-10 21:53  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\
     目录           0  2019-01-10 21:53  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\
     文件         172  2015-05-29 10:59  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\._PetTableModel.class
     文件         793  2015-05-29 10:59  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\Loginframe$2.class
     文件         172  2015-05-29 10:59  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\._Loginframe$2.class
     文件         807  2015-05-29 10:59  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\Registeframe$1.class
     文件         172  2015-05-29 10:59  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\._Registeframe$1.class
     文件         800  2015-05-29 10:59  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\AddPetframe$1.class
     文件         172  2015-05-29 10:59  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\._AddPetframe$1.class
     文件        8015  2015-05-29 10:59  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\AddPetframe.class
     文件         172  2015-05-29 10:59  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\._AddPetframe.class
     文件        2061  2015-05-29 10:59  lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\PetTableCellEditor$1.class
     文件         172  2015-05-29 10:59  __MACOSX\lu15371686149-8809235-瀹犵墿绠$悊\petmanager\bin\com\njwangbo\ui\._PetTableCellEditor$1.class
............此处省略236个文件信息

评论

共有 条评论