FishEye: Tag caa1829db3ea4a3afd36e978ee1d3ca310527d9c refers to a dead (removed) revision in file `web-module/src/main/java/egovframework/api/arms/module_reqadd/model/ReqAddLogDTO.java'. FishEye: No comparison available. Pass `N' to diff? Index: web-module/src/main/java/egovframework/api/arms/module_reqaddlog/controller/AdminReqAddLogController.java =================================================================== diff -u --- web-module/src/main/java/egovframework/api/arms/module_reqaddlog/controller/AdminReqAddLogController.java (revision 0) +++ web-module/src/main/java/egovframework/api/arms/module_reqaddlog/controller/AdminReqAddLogController.java (revision caa1829db3ea4a3afd36e978ee1d3ca310527d9c) @@ -0,0 +1,51 @@ +/* + * @author Dongmin.lee + * @since 2022-11-19 + * @version 22.11.19 + * @see
+ *  Copyright (C) 2007 by 313 DEV GRP, Inc - All Rights Reserved
+ *  Unauthorized copying of this file, via any medium is strictly prohibited
+ *  Proprietary and confidential
+ *  Written by 313 developer group <313@313.co.kr>, December 2010
+ * 
+ */ +package egovframework.api.arms.module_reqaddlog.controller; + +import lombok.extern.slf4j.Slf4j; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.validation.BindingResult; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.ResponseBody; +import org.springframework.web.servlet.ModelAndView; +import javax.annotation.PostConstruct; +import javax.servlet.http.HttpServletRequest; +import java.util.Comparator; +import java.util.List; +import java.util.NoSuchElementException; + +import egovframework.com.ext.jstree.springHibernate.core.controller.SHVAbstractController; + +import egovframework.api.arms.module_reqaddlog.model.ReqAddLogDTO; +import egovframework.api.arms.module_reqaddlog.service.ReqAddLog; + +@Slf4j +@Controller +@RequestMapping(value = {"/auth-admin/api/arms/reqAddLog"}) +public class AdminReqAddLogController extends SHVAbstractController { + + @Autowired + @Qualifier("reqAddLog") + private ReqAddLog reqAddLog; + + @PostConstruct + public void initialize() { + setJsTreeHibernateService(reqAddLog); + } + +} Index: web-module/src/main/java/egovframework/api/arms/module_reqaddlog/controller/AnonReqAddLogController.java =================================================================== diff -u --- web-module/src/main/java/egovframework/api/arms/module_reqaddlog/controller/AnonReqAddLogController.java (revision 0) +++ web-module/src/main/java/egovframework/api/arms/module_reqaddlog/controller/AnonReqAddLogController.java (revision caa1829db3ea4a3afd36e978ee1d3ca310527d9c) @@ -0,0 +1,51 @@ +/* + * @author Dongmin.lee + * @since 2022-11-19 + * @version 22.11.19 + * @see
+ *  Copyright (C) 2007 by 313 DEV GRP, Inc - All Rights Reserved
+ *  Unauthorized copying of this file, via any medium is strictly prohibited
+ *  Proprietary and confidential
+ *  Written by 313 developer group <313@313.co.kr>, December 2010
+ * 
+ */ +package egovframework.api.arms.module_reqaddlog.controller; + +import lombok.extern.slf4j.Slf4j; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.validation.BindingResult; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.ResponseBody; +import org.springframework.web.servlet.ModelAndView; +import javax.annotation.PostConstruct; +import javax.servlet.http.HttpServletRequest; +import java.util.Comparator; +import java.util.List; +import java.util.NoSuchElementException; + +import egovframework.com.ext.jstree.springHibernate.core.controller.SHVAbstractController; + +import egovframework.api.arms.module_reqaddlog.model.ReqAddLogDTO; +import egovframework.api.arms.module_reqaddlog.service.ReqAddLog; + +@Slf4j +@Controller +@RequestMapping(value = {"/auth-anon/api/arms/reqAddLog"}) +public class AnonReqAddLogController extends SHVAbstractController { + + @Autowired + @Qualifier("reqAddLog") + private ReqAddLog reqAddLog; + + @PostConstruct + public void initialize() { + setJsTreeHibernateService(reqAddLog); + } + +} Index: web-module/src/main/java/egovframework/api/arms/module_reqaddlog/controller/UserReqAddLogController.java =================================================================== diff -u --- web-module/src/main/java/egovframework/api/arms/module_reqaddlog/controller/UserReqAddLogController.java (revision 0) +++ web-module/src/main/java/egovframework/api/arms/module_reqaddlog/controller/UserReqAddLogController.java (revision caa1829db3ea4a3afd36e978ee1d3ca310527d9c) @@ -0,0 +1,78 @@ +/* + * @author Dongmin.lee + * @since 2022-11-19 + * @version 22.11.19 + * @see
+ *  Copyright (C) 2007 by 313 DEV GRP, Inc - All Rights Reserved
+ *  Unauthorized copying of this file, via any medium is strictly prohibited
+ *  Proprietary and confidential
+ *  Written by 313 developer group <313@313.co.kr>, December 2010
+ * 
+ */ +package egovframework.api.arms.module_reqaddlog.controller; + +import egovframework.api.arms.module_reqadd.model.ReqAddDTO; +import egovframework.com.ext.jstree.springHibernate.core.interceptor.SessionUtil; +import lombok.extern.slf4j.Slf4j; +import org.hibernate.criterion.Order; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.ui.ModelMap; +import org.springframework.validation.BindingResult; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.ResponseBody; +import org.springframework.web.servlet.ModelAndView; +import javax.annotation.PostConstruct; +import javax.servlet.http.HttpServletRequest; +import java.util.Comparator; +import java.util.List; +import java.util.NoSuchElementException; + +import egovframework.com.ext.jstree.springHibernate.core.controller.SHVAbstractController; + +import egovframework.api.arms.module_reqaddlog.model.ReqAddLogDTO; +import egovframework.api.arms.module_reqaddlog.service.ReqAddLog; + +@Slf4j +@Controller +@RequestMapping(value = {"/auth-user/api/arms/reqAddLog"}) +public class UserReqAddLogController extends SHVAbstractController { + + @Autowired + @Qualifier("reqAddLog") + private ReqAddLog reqAddLog; + + @PostConstruct + public void initialize() { + setJsTreeHibernateService(reqAddLog); + } + + private final Logger logger = LoggerFactory.getLogger(this.getClass()); + + @ResponseBody + @RequestMapping( + value = {"/{changeReqTableName}/getMonitor.do"}, + method = {RequestMethod.GET} + ) + public ModelAndView getMonitor( + @PathVariable(value ="changeReqTableName") String changeReqTableName, + ReqAddDTO reqAddDTO, ModelMap model, HttpServletRequest request) throws Exception { + + SessionUtil.setAttribute("replaceTableName",changeReqTableName); + + reqAddDTO.setOrder(Order.asc("c_left")); + List list = this.reqAddLog.getChildNode(reqAddDTO); + + SessionUtil.removeAttribute("replaceTableName"); + + ModelAndView modelAndView = new ModelAndView("jsonView"); + modelAndView.addObject("result", list); + return modelAndView; + } +} Index: web-module/src/main/java/egovframework/api/arms/module_reqaddlog/model/ReqAddLogDTO.java =================================================================== diff -u --- web-module/src/main/java/egovframework/api/arms/module_reqaddlog/model/ReqAddLogDTO.java (revision 0) +++ web-module/src/main/java/egovframework/api/arms/module_reqaddlog/model/ReqAddLogDTO.java (revision caa1829db3ea4a3afd36e978ee1d3ca310527d9c) @@ -0,0 +1,255 @@ +/* + * @author Dongmin.lee + * @since 2022-11-19 + * @version 22.11.19 + * @see
+ *  Copyright (C) 2007 by 313 DEV GRP, Inc - All Rights Reserved
+ *  Unauthorized copying of this file, via any medium is strictly prohibited
+ *  Proprietary and confidential
+ *  Written by 313 developer group <313@313.co.kr>, December 2010
+ * 
+ */ +package egovframework.api.arms.module_reqaddlog.model; + +import org.hibernate.annotations.*; +import org.hibernate.annotations.Cache; +import javax.persistence.*; +import javax.persistence.Entity; +import javax.persistence.Table; +import java.io.Serializable; +import java.util.Date; + +import egovframework.com.ext.jstree.springHibernate.core.vo.JsTreeHibernateDTO; +import egovframework.com.ext.jstree.springHibernate.core.vo.JsTreeHibernateSearchDTO; + +@Entity +@Table(name = "T_ARMS_REQADD_LOG") +@SelectBeforeUpdate(value=true) +@DynamicInsert(value=true) +@DynamicUpdate(value=true) +@Cache(usage = CacheConcurrencyStrategy.READ_WRITE) +@SequenceGenerator(name = "JsTreeSequence", sequenceName = "S_T_ARMS_REQADD_LOG", allocationSize = 1) +public class ReqAddLogDTO extends JsTreeHibernateSearchDTO implements Serializable { + + public ReqAddLogDTO() { + super(); + } + + public ReqAddLogDTO(Boolean copyBooleanValue) { + super(); + this.copyBooleanValue = copyBooleanValue; + } + + //@Getter @Setter + + private String c_method; + + @Column(name="C_METHOD") + public String getC_method() { + return c_method; + } + + public void setC_method(String c_method) { + this.c_method = c_method; + } + + private String c_state; + + @Column(name="C_STATE") + public String getC_state() { + return c_state; + } + + public void setC_state(String c_state) { + this.c_state = c_state; + } + + private Date c_date; + + @Column(name="C_DATE") + public Date getC_date() { + return c_date; + } + + public void setC_date(Date c_date) { + this.c_date = c_date; + } + + private Long c_pdService_Link; + + @Column(name="C_PDSERVICE_LINK") + public Long getC_pdService_Link() { + return c_pdService_Link; + } + + public void setC_pdService_Link(Long c_pdService_Link) { + this.c_pdService_Link = c_pdService_Link; + } + + private String c_version_Link; + + @Column(name="C_VERSION_LINK") + public String getC_version_Link() { + return c_version_Link; + } + + public void setC_version_Link(String c_version_Link) { + this.c_version_Link = c_version_Link; + } + + private String c_reviewer01; + + @Column(name="C_REVIEWER01") + public String getC_reviewer01() { + return c_reviewer01; + } + + public void setC_reviewer01(String c_reviewer01) { + this.c_reviewer01 = c_reviewer01; + } + + private String c_reviewer02; + + @Column(name="C_REVIEWER02") + public String getC_reviewer02() { + return c_reviewer02; + } + + public void setC_reviewer02(String c_reviewer02) { + this.c_reviewer02 = c_reviewer02; + } + + private String c_reviewer03; + + @Column(name="C_REVIEWER03") + public String getC_reviewer03() { + return c_reviewer03; + } + + public void setC_reviewer03(String c_reviewer03) { + this.c_reviewer03 = c_reviewer03; + } + + private String c_reviewer04; + + @Column(name="C_REVIEWER04") + public String getC_reviewer04() { + return c_reviewer04; + } + + public void setC_reviewer04(String c_reviewer04) { + this.c_reviewer04 = c_reviewer04; + } + + private String c_reviewer05; + + @Column(name="C_REVIEWER05") + public String getC_reviewer05() { + return c_reviewer05; + } + + public void setC_reviewer05(String c_reviewer05) { + this.c_reviewer05 = c_reviewer05; + } + + private String c_writer_name; + + @Column(name="C_WRITER_NAME") + public String getC_writer_name() { + return c_writer_name; + } + + public void setC_writer_name(String c_writer_name) { + this.c_writer_name = c_writer_name; + } + + private String c_writer_cn; + + @Column(name="C_WRITER_CN") + public String getC_writer_cn() { + return c_writer_cn; + } + + public void setC_writer_cn(String c_writer_cn) { + this.c_writer_cn = c_writer_cn; + } + + private String c_writer_date; + + @Column(name="C_WRITER_DATE") + public String getC_writer_date() { + return c_writer_date; + } + + public void setC_writer_date(String c_writer_date) { + this.c_writer_date = c_writer_date; + } + + private Long c_priority; + + @Column(name="C_PRIORITY") + public Long getC_priority() { + return c_priority; + } + + public void setC_priority(Long c_priority) { + this.c_priority = c_priority; + } + + private String c_req_status; + + @Column(name="C_REQ_STATUS") + public String getC_req_status() { + return c_req_status; + } + + public void setC_req_status(String c_req_status) { + this.c_req_status = c_req_status; + } + + // 요구사항 제목은 c_title 로. + + private String c_contents; + + @Lob + @Column(name="C_CONTENTS") + public String getC_contents() { + return c_contents; + } + + public void setC_contents(String c_contents) { + this.c_contents = c_contents; + } + + /* + * Extend Bean Field + */ + private Boolean copyBooleanValue; + + @Transient + public Boolean getCopyBooleanValue() { + copyBooleanValue = false; + if (this.getCopy() == 0) { + copyBooleanValue = false; + } else { + copyBooleanValue = true; + } + return copyBooleanValue; + } + + public void setCopyBooleanValue(Boolean copyBooleanValue) { + this.copyBooleanValue = copyBooleanValue; + } + + @Override + public void setFieldFromNewInstance(T paramInstance) { + if( paramInstance instanceof JsTreeHibernateDTO){ + if(paramInstance.isCopied()) { + this.setC_title("copy_" + this.getC_title()); + } + } + } +} + + + Index: web-module/src/main/java/egovframework/api/arms/module_reqaddlog/service/ReqAddLog.java =================================================================== diff -u --- web-module/src/main/java/egovframework/api/arms/module_reqaddlog/service/ReqAddLog.java (revision 0) +++ web-module/src/main/java/egovframework/api/arms/module_reqaddlog/service/ReqAddLog.java (revision caa1829db3ea4a3afd36e978ee1d3ca310527d9c) @@ -0,0 +1,20 @@ +/* + * @author Dongmin.lee + * @since 2022-11-19 + * @version 22.11.19 + * @see
+ *  Copyright (C) 2007 by 313 DEV GRP, Inc - All Rights Reserved
+ *  Unauthorized copying of this file, via any medium is strictly prohibited
+ *  Proprietary and confidential
+ *  Written by 313 developer group <313@313.co.kr>, December 2010
+ * 
+ */ +package egovframework.api.arms.module_reqaddlog.service; + +import egovframework.com.ext.jstree.springHibernate.core.service.JsTreeHibernateService; + +public interface ReqAddLog extends JsTreeHibernateService { + + + +} \ No newline at end of file Index: web-module/src/main/java/egovframework/api/arms/module_reqaddlog/service/ReqAddLogImpl.java =================================================================== diff -u --- web-module/src/main/java/egovframework/api/arms/module_reqaddlog/service/ReqAddLogImpl.java (revision 0) +++ web-module/src/main/java/egovframework/api/arms/module_reqaddlog/service/ReqAddLogImpl.java (revision caa1829db3ea4a3afd36e978ee1d3ca310527d9c) @@ -0,0 +1,22 @@ +/* + * @author Dongmin.lee + * @since 2022-11-19 + * @version 22.11.19 + * @see
+ *  Copyright (C) 2007 by 313 DEV GRP, Inc - All Rights Reserved
+ *  Unauthorized copying of this file, via any medium is strictly prohibited
+ *  Proprietary and confidential
+ *  Written by 313 developer group <313@313.co.kr>, December 2010
+ * 
+ */ +package egovframework.api.arms.module_reqaddlog.service; + +import egovframework.com.ext.jstree.springHibernate.core.service.JsTreeHibernateServiceImpl; +import org.springframework.stereotype.Service; + +@Service("reqAddLog") +public class ReqAddLogImpl extends JsTreeHibernateServiceImpl implements ReqAddLog{ + + + +} \ No newline at end of file