첩보수집활동 외사견문 월간계획 작업중.
parent
bece8c04da
commit
d7d8b717c5
|
|
@ -3,6 +3,7 @@ package com.dbnt.faisp.config;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import javax.persistence.Column;
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Transient;
|
import javax.persistence.Transient;
|
||||||
|
|
@ -19,6 +20,7 @@ public class BaseBoard extends BaseModel {
|
||||||
@Column(name = "wrt_nm")
|
@Column(name = "wrt_nm")
|
||||||
private String wrtNm;
|
private String wrtNm;
|
||||||
@Column(name = "wrt_dt")
|
@Column(name = "wrt_dt")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
private LocalDateTime wrtDt;
|
private LocalDateTime wrtDt;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
package com.dbnt.faisp.fpiMgt.monthPlan.model;
|
package com.dbnt.faisp.fpiMgt.monthPlan.model;
|
||||||
|
|
||||||
import com.dbnt.faisp.config.BaseBoard;
|
import com.dbnt.faisp.config.BaseBoard;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import org.hibernate.annotations.DynamicInsert;
|
import org.hibernate.annotations.DynamicInsert;
|
||||||
import org.hibernate.annotations.DynamicUpdate;
|
import org.hibernate.annotations.DynamicUpdate;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
|
|
@ -28,6 +30,7 @@ public class BoardPlan extends BaseBoard {
|
||||||
@Column(name = "content_title")
|
@Column(name = "content_title")
|
||||||
private String contentTitle;
|
private String contentTitle;
|
||||||
@Column(name = "plan_dt")
|
@Column(name = "plan_dt")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
private LocalDate planDt;
|
private LocalDate planDt;
|
||||||
@Column(name = "section_nm")
|
@Column(name = "section_nm")
|
||||||
private String sectionNm;
|
private String sectionNm;
|
||||||
|
|
|
||||||
|
|
@ -33,12 +33,11 @@ public class MenuMgtService {
|
||||||
return duplMenu.getMenuUrl();
|
return duplMenu.getMenuUrl();
|
||||||
}else{
|
}else{
|
||||||
menuMgtRepository.save(menuMgt);
|
menuMgtRepository.save(menuMgt);
|
||||||
return "";
|
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
menuMgtRepository.save(menuMgt);
|
menuMgtRepository.save(menuMgt);
|
||||||
return "";
|
|
||||||
}
|
}
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Transient
|
@Transient
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,32 @@
|
||||||
|
|
||||||
|
#file upload
|
||||||
|
spring.servlet.multipart.location=/docker/faisp/uploadFiles
|
||||||
|
spring.servlet.multipart.max-file-size=200MB
|
||||||
|
spring.servlet.multipart.max-request-size=500MB
|
||||||
|
|
||||||
|
#thymeleaf
|
||||||
|
spring.thymeleaf.prefix=classpath:templates/
|
||||||
|
spring.thymeleaf.check-template-location=true
|
||||||
|
spring.thymeleaf.suffix=.html
|
||||||
|
spring.thymeleaf.mode=HTML
|
||||||
|
|
||||||
|
#Datasource Configuration
|
||||||
|
spring.datasource.hikari.maximum-pool-size=4
|
||||||
|
spring.sql.init.encoding=utf-8
|
||||||
|
#spring.datasource.driverClassName=net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||||
|
spring.datasource.driverClassName=org.postgresql.Driver
|
||||||
|
#spring.datasource.url=jdbc:log4jdbc:postgresql://118.219.150.34:50503/faisp
|
||||||
|
spring.datasource.url=jdbc:postgresql://localhost:5432/faisp
|
||||||
|
spring.datasource.username=dbnt0031
|
||||||
|
spring.datasource.password=dbnt0928!
|
||||||
|
|
||||||
|
#jpa
|
||||||
|
spring.jpa.show-sql=true
|
||||||
|
spring.jpa.generate-ddl=false
|
||||||
|
spring.jpa.hibernate.naming.physical-strategy = org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
|
||||||
|
|
||||||
|
# MyBatis
|
||||||
|
mybatis.mapper-locations: mybatisMapper/*.xml
|
||||||
|
mybatis.configuration.map-underscore-to-camel-case=true
|
||||||
|
mybatis.type-aliases-package=com.dbnt.faisp.**.model
|
||||||
|
logging.level.com.atoz_develop.mybatissample.repository=TRACE
|
||||||
Loading…
Reference in New Issue