This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
@EnableWebMvc | |
@Import({ DbConfig.class }) | |
// データベース設定をインポート | |
@ComponentScan("com.itrane.healthcare") | |
@PropertySource("classpath:resources/app.properties") | |
public class WebAppConfig extends WebMvcConfigurerAdapter { | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:th="http://www.thymeleaf.org"> | |
<head th:include="fragment/frag01 :: htmlhead" th:with="title=#{app.title}"></head> | |
<style> | |
.contents {margin: 50px;} | |
td {padding: 2px;} | |
th {padding: 5px;} | |
</style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 起動時のホーム画面表示のリクエストに対するコントローラ. TODO: コマンド版に変更(エラー処理も) | |
*/ | |
@Controller | |
public class HomeController { | |
final static private Logger log = LoggerFactory | |
.getLogger(HomeController.class); | |
@Autowired |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* home.html のバイタル入力クラス | |
*/ | |
public class VitalCmd { | |
//Vital | |
@Size(max=20) | |
private String name; | |
@Size(max=10) | |
private String sokuteiJikan; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ホームビュー(home.html)用コマンド. | |
*/ | |
public class HomeCmd implements Serializable { | |
private static final long serialVersionUID = 1L; | |
//final private Logger log = LoggerFactory.getLogger(HomeCmd.class); | |
private Vod vod; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:th="http://www.thymeleaf.org"> | |
<head th:include="fragment/frag01 :: htmlhead" th:with="title=#{app.title}"></head> | |
<style> | |
.contents {margin: 50px;} | |
td {padding: 1px;} | |
th {padding: 4px;} | |
</style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* vod 一覧ビュー(vodlist.html)用コマンド. | |
*/ | |
public class VodListCmd implements Serializable { | |
private static final long serialVersionUID = 1L; | |
private String prev; | |
private String next; | |
private List<VitalMst> vms; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* バイタルに関する処理をコントロールする. | |
*/ | |
@Controller | |
public class VodController { | |
final static private Logger log = LoggerFactory.getLogger(VodController.class); | |
final static private int DISP_PERIOD = 7; | |
final static private String DATE_FORMAT = "yyyy/MM/dd"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> | |
<head th:include="fragment/frag01 :: htmlhead" th:with="title=#{app.title}"></head> | |
<style> | |
.contents { | |
margin: 50px; | |
} | |
</style> | |
<script type="text/javascript" src="https://www.google.com/jsapi"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pdfView.(class)=com.itrane.healthcare.view.PdfBuilder |