CombositeJushoDataService
住所データを取得するサービス
警告
※ 既にインスタンス化されているものが提供されるのでcombositeDataService.jushoData
を使用してアクセスしてください。
詳しくは例を参照してください。
Extends
CombositeJushoDataProviderServiceBase
<CombositeDataOperator
>
Methods
readByEmployeeId()
readByEmployeeId(employeeIdList): Promise<JushoDataEntity[]>
従業員IDから住所データを取得する
Parameters
Parameter | Type | Description |
---|---|---|
employeeIdList | string [] | 従業員ID |
Returns
Promise
<JushoDataEntity
[]>
JushoDataEntity[] 住所データの配列
Example
利用例
const employeeIdList = ['FM001275', 'FM001276']
const response = await combositeDataService.jushoData.readByEmployeeId(employeeIdList)
Inherited from
CombositeJushoDataProviderServiceBase.readByEmployeeId
readByEmployeeIdAndBaseDate()
readByEmployeeIdAndBaseDate(employeeIdList, baseDate): Promise<JushoDataEntity[]>
従業員IDと日付から住所データを取得する
Parameters
Parameter | Type | Description |
---|---|---|
employeeIdList | string [] | 従業員ID |
baseDate | string | 日付 (yyyy/MM/dd) |
Returns
Promise
<JushoDataEntity
[]>
JushoDataEntity[] 住所データの配列
Example
利用例
const shainId = 'FM001275'
const baseDate = '2025/01/01'
const response = await combositeDataService.jushoData.readByEmployeeIdAndBaseDate(shainId, baseDate)
Inherited from
CombositeJushoDataProviderServiceBase.readByEmployeeIdAndBaseDate
readByEmployeeIdAndJushoBunruiKubun()
readByEmployeeIdAndJushoBunruiKubun(employeeIdList, jushoBunruiKubun): Promise<JushoDataEntity[]>
従業員IDと住所区分から住所データを取得する
Parameters
Parameter | Type | Description |
---|---|---|
employeeIdList | string [] | 従業員ID |
jushoBunruiKubun | JushoBunruiKubun | 住所区分 |
Returns
Promise
<JushoDataEntity
[]>
JushoDataEntity[] 住所データの配列
Example
利用例
const shainId = 'FM001275'
const response = await combositeDataService.jushoData.readByEmployeeIdAndJushoBunruiKubun(shainId, JushoBunruiKubun.KOYO)
Inherited from
CombositeJushoDataProviderServiceBase.readByEmployeeIdAndJushoBunruiKubun
readByEmployeeIdBaseDateAndJushoBunruiKubun()
readByEmployeeIdBaseDateAndJushoBunruiKubun(
employeeIdList,
baseDate,
jushoBunruiKubun): Promise<JushoDataEntity[]>
従業員IDと日付と住所区分から住所データを取得する
Parameters
Parameter | Type | Description |
---|---|---|
employeeIdList | string [] | 従業員ID |
baseDate | string | 日付 (yyyy/MM/dd) |
jushoBunruiKubun | JushoBunruiKubun | 住所区分 |
Returns
Promise
<JushoDataEntity
[]>
JushoDataEntity[] 住所データの配列
Example
利用例
const shainId = 'FM001275'
const baseDate = '2025/01/01'
const response = await combositeDataService.jushoData.readByEmployeeIdBaseDateAndJushoBunruiKubun(shainId, baseDate, JushoBunruiKubun.KOYO)
Inherited from
CombositeJushoDataProviderServiceBase.readByEmployeeIdBaseDateAndJushoBunruiKubun