• 大小: 63.61MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2022-09-14
  • 语言: Java
  • 标签: JAVA  eclipse  

资源简介

大学时候收集的一个项目,用于做做课程作业/毕设,已经运行过代码没问题,基本的CRUD都有 ,下载用于学习什么的完全没有问题

资源截图

代码片段和文件信息

package com.company.action;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.apache.struts2.interceptor.RequestAware;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.company.dao.pojo.Check;
import com.company.service.iservice.CheckService;
import com.opensymphony.xwork2.ModelDriven;

@Controller(“checkAction“)
@Scope(“prototype“)
public class CheckAction implements ModelDriven RequestAware {
@Autowired
private CheckService checkService;

private Check checkModel = new Check();

@Override
public Check getModel() {
return checkModel;
}

Mapject> requestMap;

@Override
public void setRequest(Mapject> arg0) {
requestMap = arg0;

}

public String findAll() {
String msg = “error“;
List checkList = checkService.findAll();
if (checkList != null && checkList.size() > 0) {
requestMap.put(“checkListFromServer“ checkList);
msg = “success“;
}
return msg;
}

public String findById() {
String msg = “error“;
Check check = checkService.findById(checkModel.getCheckId());
if (check != null) {
List checkList = new ArrayList<>();
checkList.add(check);
requestMap.put(“checkListFromServer“ checkList);
msg = “success“;
}
return msg;
}

public String findByEmpno() {
String msg = “error“;

List checkList = checkService.findByEmpno(checkModel.getEmpno());
if (checkList != null && checkList.size() > 0) {
requestMap.put(“checkListFromServer“ checkList);
msg = “success“;
}

return msg;
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       7571  2017-11-22 14:40  人事\hr\hr\1.sql

     文件        778  2017-11-05 16:04  人事\hr\hr\PersonManagement\.classpath

     文件         79  2017-10-31 15:28  人事\hr\hr\PersonManagement\.git\config

     文件         23  2017-10-31 15:28  人事\hr\hr\PersonManagement\.git\HEAD

     文件       1049  2017-10-31 16:47  人事\hr\hr\PersonManagement\.project

     文件        584  2017-11-05 16:04  人事\hr\hr\PersonManagement\.settings\.jsdtscope

     文件        127  2017-11-01 18:28  人事\hr\hr\PersonManagement\.settings\org.eclipse.core.resources.prefs

     文件        670  2017-10-17 13:35  人事\hr\hr\PersonManagement\.settings\org.eclipse.jdt.core.prefs

     文件        117  2017-10-24 14:44  人事\hr\hr\PersonManagement\.settings\org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs

     文件        604  2017-11-05 16:04  人事\hr\hr\PersonManagement\.settings\org.eclipse.wst.common.component

     文件        345  2017-11-05 16:04  人事\hr\hr\PersonManagement\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2017-10-17 08:24  人事\hr\hr\PersonManagement\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2017-10-17 08:24  人事\hr\hr\PersonManagement\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件        467  2017-10-29 15:46  人事\hr\hr\PersonManagement\.springBeans

     文件          2  2017-10-31 15:40  人事\hr\hr\PersonManagement\.svn\entries

     文件          2  2017-10-31 15:40  人事\hr\hr\PersonManagement\.svn\format

     文件      93068  2017-11-01 16:12  人事\hr\hr\PersonManagement\.svn\pristine\00\002da8cbe90fcf32fbdebb72386125079e3805ee.svn-base

     文件      81830  2017-10-31 15:41  人事\hr\hr\PersonManagement\.svn\pristine\00\0094edcc5572efb02e123cc9ef7ad7d0fa5f76cf.svn-base

     文件       6225  2017-10-31 15:42  人事\hr\hr\PersonManagement\.svn\pristine\00\00b58939287ced0195d16d9dbe93002fe7ca3d9c.svn-base

     文件       3384  2017-11-01 21:36  人事\hr\hr\PersonManagement\.svn\pristine\01\0100ec328da0820a4d4358acf301f6d8c247a8d0.svn-base

     文件        790  2017-10-31 16:47  人事\hr\hr\PersonManagement\.svn\pristine\01\010978c86e92bbe256e96e5f075e30daceba17a3.svn-base

     文件       4397  2017-11-02 07:26  人事\hr\hr\PersonManagement\.svn\pristine\01\01458af6ce3ce3cbf178f9d662b989eb48e4ab6d.svn-base

     文件       4467  2017-10-31 15:41  人事\hr\hr\PersonManagement\.svn\pristine\02\0235ba8b489512805ac13a8f9ea77a1ca5ebe3e8.svn-base

     文件        145  2017-10-31 18:19  人事\hr\hr\PersonManagement\.svn\pristine\03\03e20580f1617a24fac0d01dddc9d9871d4ebc77.svn-base

     文件       1616  2017-10-31 21:26  人事\hr\hr\PersonManagement\.svn\pristine\05\055e2a80a7220a548b67ad92acc6cd35e1eb9abf.svn-base

     文件       4340  2017-11-02 19:14  人事\hr\hr\PersonManagement\.svn\pristine\06\060b89be902a51ff966e59e078b6a0a0a9750789.svn-base

     文件     662668  2017-10-31 15:42  人事\hr\hr\PersonManagement\.svn\pristine\0a\0a496ef05c105ae939de27de3f98284f4e7eee82.svn-base

     文件      34477  2017-10-31 15:41  人事\hr\hr\PersonManagement\.svn\pristine\0b\0b01cc83e745fc4425a3968fafbf8e5b8254a6dd.svn-base

     文件       1467  2017-11-01 16:19  人事\hr\hr\PersonManagement\.svn\pristine\0e\0e208df943e268192213284cb346af37864b605e.svn-base

     文件       4178  2017-11-01 21:36  人事\hr\hr\PersonManagement\.svn\pristine\0f\0f2ecabf4fcb7875cd1c45484e268db061ef5f74.svn-base

............此处省略850个文件信息

评论

共有 条评论