Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions ActiveWare/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/java-1.8.0-openjdk">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v9.0">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
1 change: 1 addition & 0 deletions ActiveWare/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build/
31 changes: 31 additions & 0 deletions ActiveWare/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ActiveWare</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
12 changes: 12 additions & 0 deletions ActiveWare/.settings/.jsdtscope
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="WebContent"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>
7 changes: 7 additions & 0 deletions ActiveWare/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
8 changes: 8 additions & 0 deletions ActiveWare/.settings/org.eclipse.wst.common.component
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="ActiveWare">
<wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<property name="context-root" value="ActiveWare"/>
<property name="java-output-path" value="/ActiveWare/build/classes"/>
</wb-module>
</project-modules>
10 changes: 10 additions & 0 deletions ActiveWare/.settings/org.eclipse.wst.common.project.facet.core.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="Apache Tomcat v9.0"/>
<fixed facet="wst.jsdt.web"/>
<fixed facet="jst.web"/>
<fixed facet="java"/>
<installed facet="java" version="1.8"/>
<installed facet="jst.web" version="4.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Window
3 changes: 3 additions & 0 deletions ActiveWare/WebContent/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

12 changes: 12 additions & 0 deletions ActiveWare/WebContent/WEB-INF/web.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" id="WebApp_ID" version="4.0">
<display-name>ActiveWare</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package web.controller.user_basic;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebServlet("/userid/insert")
public class User_basicInsertController extends HttpServlet {
private static final long serialVersionUID = 1L;

@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

}
}
52 changes: 52 additions & 0 deletions ActiveWare/src/web/dao/face/Doc_attachDao.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
package web.dao.face;

import java.sql.Connection;

import web.dto.Doc_attach;

public interface Doc_attachDao {

/**
* 첨부파일 추가
*
* @param conn - DB 연결객체
* @param doc_attach - doc_attach 객체 정보
* @return int - insert 수행결과
* 1 - insert 성공
* 0 - insert 실패
*/
public int insertDoc_attach(Connection conn, Doc_attach doc_attach);


/**
* 첨부파일 수정
*
* @param conn - DB 연결객체
* @param doc_attach - doc_attach 객체 정보
* @return int - insert 수행결과
* 1 - insert 성공
* 0 - insert 실패
*/
public int updateDoc_attach(Connection conn, Doc_attach doc_attach);


/**
* 첨부파일 삭제
*
* @param conn - DB 연결객체
* @param doc_attach - doc_attach 객체 정보
* @return int - insert 수행결과
* 1 - insert 성공
* 0 - insert 실패
*/
public int deleteDoc_attach(Connection conn, Doc_attach doc_attach);


/**
* 문서정보창에 필요한 조회
*
* @param doc_attach - 조회할 첨부파일 정보
* @return Doc_attach - 조회된 첨부파일 정보
*/
public Doc_attach selectDocAttach(Doc_attach doc_attach);
}
37 changes: 37 additions & 0 deletions ActiveWare/src/web/dao/face/Doc_commentDao.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
package web.dao.face;

import java.sql.Connection;

import web.dto.Doc_comment;

public interface Doc_commentDao {

/**
* 문서번호로 의견/지시 조회
*
* @param doc_num - 조회할 문서번호
* @return Doc_comment - 조회한 의견/지시 정보
*/
public Doc_comment selectDoc_commentByDocnum(int doc_num);


/**
* 의견/지시 추가
*
* @param conn - DB 연결객체
* @param doc_comment - 추가할 doc_comment 객체정보
* @return int - insert 수행결과
* 1 - insert 성공
* 0 - insert 실패
*/
public int insertDoc_comment(Connection conn, Doc_comment doc_comment);


/**
* 문서정보창에 필요한 조회
*
* @param doc_comment - 조회할 의견/지시 정보
* @return Doc_comment - 조회된 의견/지시 정보
*/
public Doc_comment selectDoc_comment(Doc_comment doc_comment);
}
33 changes: 33 additions & 0 deletions ActiveWare/src/web/dao/face/DocumentDao.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package web.dao.face;

import java.sql.Connection;
import java.util.List;

import web.dto.Document;

public interface DocumentDao {

public List<Document> selectDocTmp();

public List<Document> selectDocWaitAppro();

public List<Document> selectDocProg();

public List<Document> selectDocDraft();

public List<Document> selectDocAppro();

public List<Document> selectDocAll();

public Document selectDocByDocnum();

public int insertDoc(Connection conn, Document doc);

public int updateDoc(Connection conn, Document doc);

public int deleteDoc(Connection conn, Document doc);

public Document selectDocument(Document doc);


}
49 changes: 49 additions & 0 deletions ActiveWare/src/web/dao/face/Report_linkDao.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
package web.dao.face;

import java.sql.Connection;

import web.dto.Report_link;

public interface Report_linkDao {

/**
* 문서번호로 보고경로 조회
*
* @param doc_num - 조회할 문서번호
* @return Report_link - 조회된 보고경로 정보
*/
public Report_link selectReport_linkByDocnum(int doc_num);


/**
* 보고경로 추가
*
* @param conn - DB 연결객체
* @param report_link - report_link 객체 정보
* @return int - insert 수행결과
* 1 - insert 성공
* 0 - insert 실패
*/
public int insertReport_link(Connection conn, Report_link report_link);


/**
* 보고경로 수정
*
* @param conn - DB 연결객체
* @param report_link - report_link 객체 정보
* @return int - insert 수행결과
* 1 - insert 성공
* 0 - insert 실패
*/
public int updateReport_link(Connection conn, Report_link report_link);


/**
* 문서정보창에 필요한 조회
*
* @param report_link - 조회할 보고경로 정보
* @return Report_link - 조회된 보고경로 정보
*/
public Report_link selectReport_link(Report_link report_link);
}
5 changes: 5 additions & 0 deletions ActiveWare/src/web/dao/face/User_basicDao.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package web.dao.face;

public interface User_basicDao {

}
33 changes: 33 additions & 0 deletions ActiveWare/src/web/dao/impl/Doc_attachDaoImpl.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package web.dao.impl;

import java.sql.Connection;

import web.dao.face.Doc_attachDao;
import web.dto.Doc_attach;

public class Doc_attachDaoImpl implements Doc_attachDao {

@Override
public int insertDoc_attach(Connection conn, Doc_attach doc_attach) {

return 0;
}

@Override
public int updateDoc_attach(Connection conn, Doc_attach doc_attach) {

return 0;
}

@Override
public int deleteDoc_attach(Connection conn, Doc_attach doc_attach) {

return 0;
}

@Override
public Doc_attach selectDocAttach(Doc_attach doc_attach) {

return null;
}
}
27 changes: 27 additions & 0 deletions ActiveWare/src/web/dao/impl/Doc_commentDaoImpl.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package web.dao.impl;

import java.sql.Connection;

import web.dao.face.Doc_commentDao;
import web.dto.Doc_comment;

public class Doc_commentDaoImpl implements Doc_commentDao {

@Override
public Doc_comment selectDoc_commentByDocnum(int doc_num) {

return null;
}

@Override
public int insertDoc_comment(Connection conn, Doc_comment doc_comment) {

return 0;
}

@Override
public Doc_comment selectDoc_comment(Doc_comment doc_comment) {

return null;
}
}
Loading