comparison include/db.h @ 2:c066fde99517

Added Batch Print Mode.
author pyon@macmini
date Fri, 23 Aug 2013 18:32:09 +0900
parents 7b6dab24f4b8
children fdba695b99f1
comparison
equal deleted inserted replaced
1:7b6dab24f4b8 2:c066fde99517
1 // Filename : db.h 1 // Filename : db.h
2 // Last Change: 02-Aug-2013. 2 // Last Change: 23-Aug-2013.
3 // 3 //
4 #ifndef __DB_H__ 4 #ifndef __DB_H__
5 #define __DB_H__ 5 #define __DB_H__
6 6
7 #include "common.h" 7 #include "common.h"
8 8
9 // $BHoJ]HV$GHoJ]81<T>pJs$r<hF@(B 9 // 被保番で被保険者情報を取得
10 wxString GetHhsInfoByHhsNo( wxString hhsno ); 10 wxString GetHhsInfoByHhsNo( wxString hhsno );
11 // $B;aL>%+%J$GHoJ]81<T$r8!:w(B 11 // 氏名カナで被保険者を検索
12 wxArrayString GetHhsInfoByKana( wxString kana, bool fuzzy ); 12 wxArrayString GetHhsInfoByKana( wxString kana, bool fuzzy );
13 // $BHoJ]81<THV9f$+$i%U%!%$%k%Q%9$r<hF@(B 13 // 被保険者番号からファイルパスを取得
14 wxArrayString GetPathByHhsNo( wxString hhsno ); 14 wxArrayString GetPathByHhsNo( wxString hhsno );
15 // $B9g5DBN3+:EF|$r<hF@(B 15 /* 被保険者が審査会にかかったかどうか */
16 bool IsHhsJudged( wxString hhsno );
17 // 合議体開催日を取得
16 wxArrayString GetCcnDate( void ); 18 wxArrayString GetCcnDate( void );
19 // 日付から審査会を取得
17 wxArrayString GetCcnByDate( wxString date ); 20 wxArrayString GetCcnByDate( wxString date );
21 // 合議体から被保険者番号を取得
18 wxArrayString GetHhsNoByCcn( wxString ccn, wxString date ); 22 wxArrayString GetHhsNoByCcn( wxString ccn, wxString date );
19 wxArrayString GetPathByHhsNo( wxString hhs ); 23 // インデックスを更新
20 // $B%$%s%G%C%/%9$r99?7(B 24 void UpdateIndex( wxString datedir, wxString date );
21 void UpdateIndex( wxArrayString paths ); 25 // DBの整合性をチェック
26 wxArrayString CheckDBs( void );
22 27
23 #endif //__DB_H__ 28 #endif //__DB_H__
24 29