com
com名前 |
---|
▶︎ example |
example
com.example名前 |
---|
▶︎ sms |
sms
com.example.sms名前 |
---|
▶︎ サービス層 |
▶︎ ドメイン層 |
ドメイン層
com.example.sms.domain名前 |
---|
▶︎ ドメインサービス |
ドメインサービス
com.example.sms.domain.service名前 |
---|
▶︎ 販売ドメイン |
販売ドメイン
com.example.sms.domain.service.sales名前 |
---|
▶︎ order |
▶︎ shipping |
order
com.example.sms.domain.service.sales.order名前 |
---|
受注ドメインサービス |
shipping
com.example.sms.domain.service.sales.shipping名前 |
---|
出荷ドメインサービス |
サービス層
com.example.sms.service名前 |
---|
PageNationService |
▶︎ master |
▶︎ sales |
▶︎ system |
master
com.example.sms.service.master名前 |
---|
▶︎ employee |
▶︎ region |
▶︎ department |
▶︎ product |
▶︎ partner |
department
com.example.sms.service.master.department名前 |
---|
部門サービス |
employee
com.example.sms.service.master.employee名前 |
---|
社員サービス |
partner
com.example.sms.service.master.partner名前 |
---|
顧客サービス |
取引先分類種別サービス |
取引先グループサービス |
取引先サービス |
仕入先サービス |
product
com.example.sms.service.master.product名前 |
---|
商品サービス |
region
com.example.sms.service.master.region名前 |
---|
地域サービス |
sales
com.example.sms.service.sales名前 |
---|
▶︎ sales |
▶︎ order |
▶︎ invoice |
▶︎ shipping |
invoice
com.example.sms.service.sales.invoice名前 |
---|
請求サービス |
order
com.example.sms.service.sales.order名前 |
---|
受注サービス |
sales
com.example.sms.service.sales.sales名前 |
---|
売上サービス |
shipping
com.example.sms.service.sales.shipping名前 |
---|
出荷サービス |
system
com.example.sms.service.system名前 |
---|
▶︎ audit |
▶︎ download |
▶︎ user |
▶︎ autonumber |
▶︎ auth |
audit
com.example.sms.service.system.audit名前 |
---|
監査サービス |
auth
com.example.sms.service.system.auth名前 |
---|
認証APIサービス |
認証サービス |
autonumber
com.example.sms.service.system.autonumber名前 |
---|
自動採番サービス |
download
com.example.sms.service.system.download名前 |
---|
データダウンロードサービス |
user
com.example.sms.service.system.user名前 |
---|
ユーザー管理サービス |
受注ドメインサービス
com.example.sms.domain.service.sales.order.OrderDomainService
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 受注ルールチェック | 受注一覧 | 受注ルールチェックリスト |
出荷ドメインサービス
com.example.sms.domain.service.sales.shipping.ShippingDomainService
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 出荷ルールチェック | 出荷一覧 | 出荷ルールチェックリスト |
PageNationService
com.example.sms.service.PageNationService
フィールド | フィールド型 |
---|---|
pageNationRepository | PageNationRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ getPageInfo | PageInfoFunction | PageInfo |
部門サービス
com.example.sms.service.master.department.DepartmentService
フィールド | フィールド型 |
---|---|
departmentRepository | DepartmentRepository |
employeeRepository | EmployeeRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 部門削除 | 部門ID | void | |
+ 部門検索 (部門ID) | 部門ID | 部門 | |
+ 部門検索(部門コード) | 部門ID | 部門一覧 | |
+ 部門新規登録 | 部門 | void | |
+ 部門情報編集(社員追加・削除) | 部門 | void | |
+ 部門情報編集(社員追加・削除) | 部門ListList | void | |
+ 部門検索 | 部門検索条件 | PageInfo<部門> | |
+ 部門一覧 | 部門一覧 | ||
+ 部門一覧(ページング) | PageInfo<部門> |
社員サービス
com.example.sms.service.master.employee.EmployeeService
フィールド | フィールド型 |
---|---|
employeeRepository | EmployeeRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 社員削除 | 社員コード | void | |
+ 社員検索 | 社員コード | 社員 | |
+ 社員新規登録 | 社員 | void | |
+ 社員情報編集 | 社員 | void | |
+ 社員検索(ページング) | 社員検索条件 | PageInfo<社員> | |
+ 社員一覧 | 社員一覧 | ||
+ 社員一覧(ページング) | PageInfo<社員> |
顧客サービス
com.example.sms.service.master.partner.CustomerService
フィールド | フィールド型 |
---|---|
partnerRepository | PartnerRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 顧客削除 | 顧客 | void | |
+ 顧客検索 | 顧客コード | 顧客 | |
+ 顧客新規登録 | 顧客 | void | |
+ 顧客情報編集 | 顧客 | void | |
+ 顧客検索 (ページング) | 顧客検索条件 | PageInfo<顧客> | |
+ 顧客一覧 | 顧客一覧 | ||
+ 顧客一覧 (ページング) | PageInfo<顧客> |
取引先分類種別サービス
com.example.sms.service.master.partner.PartnerCategoryService
フィールド | フィールド型 |
---|---|
partnerCategoryRepository | PartnerCategoryRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 取引先分類種別削除 | 取引先分類種別 | void | |
+ 取引先分類種別検索 | String | 取引先分類種別 | |
+ 取引先分類種別新規登録 | 取引先分類種別 | void | |
+ 取引先分類種別情報編集 | 取引先分類種別 | void | |
+ 取引先分類種別検索 (ページング) | 取引先分類種別検索条件 | PageInfo<取引先分類種別> | |
+ 取引先分類種別一覧 | 取引先分類一覧 | ||
+ 取引先分類種別一覧 (ページング) | PageInfo<取引先分類種別> |
取引先グループサービス
com.example.sms.service.master.partner.PartnerGroupService
フィールド | フィールド型 |
---|---|
partnerGroupRepository | PartnerGroupRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 取引先グループ削除 | 取引先グループ | void | |
+ 取引先グループ検索 | String | 取引先グループ | |
+ 取引先グループ新規登録 | 取引先グループ | void | |
+ 取引先グループ情報編集 | 取引先グループ | void | |
+ 商品検索 (ページング) | 取引先グループ検索条件 | PageInfo<取引先グループ> | |
+ 取引先グループ一覧 | 取引先グループ一覧 | ||
+ 取引先グループ一覧 (ページング) | PageInfo<取引先グループ> |
取引先サービス
com.example.sms.service.master.partner.PartnerService
フィールド | フィールド型 |
---|---|
partnerRepository | PartnerRepository |
partnerCategoryRepository | PartnerCategoryRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 取引先削除 | 取引先 | void | |
+ 取引先検索 | String | 取引先 | |
+ 取引先新規登録 | 取引先 | void | |
+ 取引先情報編集 | 取引先 | void | |
+ 取引先検索 (ページング) | 取引先検索条件 | PageInfo<取引先> | |
+ 取引先一覧 | 取引先一覧 | ||
+ 取引先一覧 (ページング) | PageInfo<取引先> |
仕入先サービス
com.example.sms.service.master.partner.VendorService
フィールド | フィールド型 |
---|---|
partnerRepository | PartnerRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 仕入先削除 | 仕入先 | void | |
+ 仕入先検索 | 仕入先コード | 仕入先 | |
+ 仕入先新規登録 | 仕入先 | void | |
+ 仕入先情報編集 | 仕入先 | void | |
+ 仕入先検索 (ページング) | 仕入先検索条件 | PageInfo<仕入先> | |
+ 仕入先一覧 | 仕入先一覧 | ||
+ 仕入先一覧 (ページング) | PageInfo<仕入先> |
商品サービス
com.example.sms.service.master.product.ProductService
フィールド | フィールド型 |
---|---|
productRepository | ProductRepository |
productCategoryRepository | ProductCategoryRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 商品削除 | 商品 | void | |
+ 商品分類削除 | 商品分類 | void | |
+ 商品検索 | String | 商品 | |
+ 商品分類検索 | String | 商品分類 | |
+ 商品新規登録 | 商品 | void | |
+ 商品分類新規登録 | 商品分類 | void | |
+ 商品情報編集 | 商品 | void | |
+ 商品分類情報編集(商品追加、削除) | 商品分類 | void | |
+ 商品分類情報編集(商品追加、削除) | 商品分類ListList | void | |
+ 商品分類検索(ページング) | 商品分類検索条件 | PageInfo<商品分類> | |
+ 商品検索 (ページング) | 商品検索条件 | PageInfo<商品> | |
+ 商品一覧 | 商品一覧 | ||
+ 部品一覧(ページング) | PageInfo<商品> | ||
+ 商品分類一覧 | 商品分類一覧 | ||
+ 商品分類一覧(ページング) | PageInfo<商品分類> | ||
+ 商品一覧(ページング) | PageInfo<商品> |
地域サービス
com.example.sms.service.master.region.RegionService
フィールド | フィールド型 |
---|---|
regionRepository | RegionRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 地域を削除 | 地域 | void | |
+ 地域検索 | String | 地域 | |
+ 地域新規登録 | 地域 | void | |
+ 地域情報を編集 | 地域 | void | |
+ 地域検索 (ページング) | 地域検索条件 | PageInfo<地域> | |
+ 地域一覧を取得 | 地域リスト | ||
+ 地域一覧をページングで取得 | PageInfo<地域> |
請求サービス
com.example.sms.service.sales.invoice.InvoiceService
フィールド | フィールド型 |
---|---|
invoiceRepository | 請求データリポジトリインターフェース |
autoNumberService | 自動採番サービス |
salesService | 売上サービス |
salesRepository | SalesRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 請求データを集計 | void | ||
+ 請求を削除 | 請求 | void | |
+ 請求をIDで検索 | String | 請求 | |
+ 請求を新規登録 | 請求 | void | |
+ 請求一覧を保存 | 請求 | void | |
+ 請求一覧を保存 | 請求一覧 | void | |
+ 条件付きで請求を検索(ページング付き) | 請求データ検索条件 | PageInfo<請求> | |
+ 請求一覧を取得 | 請求一覧 | ||
+ 請求一覧をページング付きで取得 | PageInfo<請求> | ||
- 締請求 | 売上一覧 | void | |
- 請求番号を生成する | LocalDateTime | String | |
- 現在の日時を取得する(時分秒は0に設定) | LocalDateTime | ||
- 都度請求 | 売上一覧 | void |
受注サービス
com.example.sms.service.sales.order.SalesOrderService
フィールド | フィールド型 |
---|---|
salesOrderRepository | SalesOrderRepository |
productRepository | ProductRepository |
departmentRepository | DepartmentRepository |
partnerRepository | PartnerRepository |
employeeRepository | EmployeeRepository |
orderDomainService | 受注ドメインサービス |
featureToggleProperties | FeatureToggleProperties |
autoNumberService | 自動採番サービス |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 受注ルールチェック | 受注ルールチェックリスト | ||
+ 受注削除 | 受注 | void | |
+ executeFeature | void | ||
+ 受注検索 | String | 受注 | |
+ 受注新規登録 | 受注 | void | |
+ 受注編集 | 受注 | void | |
+ 受注検索(ページング) | 受注検索条件 | PageInfo<受注> | |
+ 受注一覧 | 受注一覧 | ||
+ 受注一覧(ページング) | PageInfo<受注> | ||
+ CSVファイルアップロード | MultipartFile | 受注アップロードエラーリスト | |
- マスタデータ存在チェック | StringStringListOptional | void | |
- CSVデータをSalesOrderListに変換 | List | 受注一覧 | |
- 受注番号生成 | 受注 | String | |
- 受注番号生成 | LocalDateTime | String | |
- CSVファイルアップロードバリデーション | List | 受注アップロードエラーリスト |
売上サービス
com.example.sms.service.sales.sales.SalesService
フィールド | フィールド型 |
---|---|
salesRepository | SalesRepository |
shippingRepository | ShippingRepository |
autoNumberService | 自動採番サービス |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 売上集計 | void | ||
+ 売上を削除 | 売上 | void | |
+ 売上をIDで検索 | String | 売上 | |
+ 売上を新規登録 | 売上 | void | |
+ 売上情報を編集 | 売上 | void | |
+ 条件付きで売上を検索(ページング付き) | 売上検索条件 | PageInfo<売上> | |
+ 売上一覧を取得 | 売上一覧 | ||
+ 売上の請求済みを取得 | 売上一覧 | ||
+ 売上一覧をページング付きで取得 | PageInfo<売上> | ||
- 売上番号を生成する | LocalDateTime | String |
出荷サービス
com.example.sms.service.sales.shipping.ShippingService
フィールド | フィールド型 |
---|---|
shippingRepository | ShippingRepository |
shippingDomainService | 出荷ドメインサービス |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 出荷ルールチェック | 出荷ルールチェックリスト | ||
+ 出荷確認 | 出荷一覧 | void | |
+ 注文番号で検索 | StringString | Optional<出荷> | |
+ 出荷指示 | 出荷一覧 | void | |
+ 出荷情報を保存(新規登録または更新) | 出荷 | void | |
+ 出荷情報を検索 | 出荷検索条件 | 出荷一覧 | |
+ 条件検索(ページング付き) | 出荷検索条件 | PageInfo<出荷> | |
+ 出荷一覧を取得 | 出荷一覧 | ||
+ 出荷一覧をページング付きで取得 | PageInfo<出荷> |
監査サービス
com.example.sms.service.system.audit.AuditService
フィールド | フィールド型 |
---|---|
auditRepository | 監査リポジトリ |
userRepository | ユーザーレポジトリ |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ アプリケーション実行履歴削除 | Integer | void | |
+ アプリケーション実行履歴終了 | アプリケーション実行履歴 | アプリケーション実行履歴 | |
+ アプリケーション実行履歴エラー | アプリケーション実行履歴String | アプリケーション実行履歴 | |
+ アプリケーション実行履歴取得 | String | アプリケーション実行履歴 | |
+ アプリケーション実行履歴新規登録 | アプリケーション実行履歴ユーザーID | void | |
+ アプリケーション実行履歴検索 | 監査検索条件 | PageInfo<アプリケーション実行履歴> | |
+ アプリケーション実行履歴一覧 | アプリケーション実行履歴一覧 | ||
+ アプリケーション実行履歴一覧(ページング) | PageInfo<アプリケーション実行履歴> | ||
+ アプリケーション実行履歴開始 | アプリケーション実行履歴区分アプリケーション実行プロセス区分 | アプリケーション実行履歴 |
認証APIサービス
com.example.sms.service.system.auth.AuthApiService
フィールド | フィールド型 |
---|---|
authRepository | 認証リポジトリ |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ ユーザーJWT認証 | StringStringAuthentication | String | |
+ JWTトークンからユーザー名の取得 | String | String | |
+ JWTトークンの取得 | String | boolean | |
+ JWTトークンの検証 | String | boolean |
staticメソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ 権限チェック | String | void | |
+ 現在のユーザーIDの取得 | ユーザーID |
認証サービス
com.example.sms.service.system.auth.AuthService
フィールド | フィールド型 |
---|---|
authRepository | 認証リポジトリ |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ ユーザー認証 | String | UserDetails |
自動採番サービス
com.example.sms.service.system.autonumber.AutoNumberService
フィールド | フィールド型 |
---|---|
autoNumberRepository | AutoNumberRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ delete | 自動採番 | void | |
+ deleteAll | void | ||
+ findByDocumentTypeAndYearMonth | StringLocalDateTime | Optional<自動採番> | |
+ getNextDocumentNumber | StringLocalDateTime | Integer | |
+ incrementDocumentNumber | StringLocalDateTime | 自動採番 | |
+ save | 自動採番 | void | |
+ selectAll | List<自動採番> |
データダウンロードサービス
com.example.sms.service.system.download.DownloadService
フィールド | フィールド型 |
---|---|
departmentCSVRepository | DepartmentCSVRepository |
employeeCSVRepository | EmployeeCSVRepository |
productCategoryCSVRepository | ProductCategoryCSVRepository |
productCSVRepository | ProductCSVRepository |
partnerGroupCSVRepository | PartnerGroupCSVRepository |
partnerCSVRepository | PartnerCSVRepository |
customerCSVRepository | CustomerCSVRepository |
vendorCSVRepository | VendorCSVRepository |
orderCSVRepository | OrderCSVRepository |
shippingCSVRepository | ShippingCSVRepository |
salesCSVRepository | SalesCSVRepository |
invoiceCSVRepository | InvoiceCSVRepository |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ CSV変換 | ダウンロード条件 | List | |
+ ダウンロード件数取得 | ダウンロード条件 | int | |
+ ダウンロード | ダウンロード条件OutputStreamWriter | void | |
- 顧客CSV変換 | ダウンロード条件 | List<CustomerDownloadCSV> | |
- 部門CSV変換 | ダウンロード条件 | List<DepartmentDownloadCSV> | |
- 社員CSV変換 | ダウンロード条件 | List<EmployeeDownloadCSV> | |
- 請求CSV変換 | ダウンロード条件 | List<InvoiceDownloadCSV> | |
- 受注CSV変換 | ダウンロード条件 | List<OrderDownloadCSV> | |
- 取引先CSV変換 | ダウンロード条件 | List<PartnerDownloadCSV> | |
- 取引先グループCSV変換 | ダウンロード条件 | List<PartnerGroupDownloadCSV> | |
- 商品分類CSV変換 | ダウンロード条件 | List<ProductCategoryDownloadCSV> | |
- 商品CSV変換 | ダウンロード条件 | List<ProductDownloadCSV> | |
- 売上CSV変換 | ダウンロード条件 | List<SalesDownloadCSV> | |
- 出荷CSV変換 | ダウンロード条件 | List<ShippingDownloadCSV> | |
- 仕入先CSV変換 | ダウンロード条件 | List<VendorDownloadCSV> | |
- 顧客ダウンロード件数取得 | ダウンロード条件 | int | |
- 部門ダウンロード件数取得 | ダウンロード条件 | int | |
- 社員ダウンロード件数取得 | ダウンロード条件 | int | |
- 請求ダウンロード件数取得 | ダウンロード条件 | int | |
- 受注ダウンロード件数取得 | ダウンロード条件 | int | |
- 取引先ダウンロード件数取得 | ダウンロード条件 | int | |
- 取引先グループダウンロード件数取得 | ダウンロード条件 | int | |
- 商品カテゴリダウンロード件数取得 | ダウンロード条件 | int | |
- 商品ダウンロード件数取得 | ダウンロード条件 | int | |
- 売上ダウンロード件数取得 | ダウンロード条件 | int | |
- 出荷ダウンロード件数取得 | ダウンロード条件 | int | |
- 仕入先ダウンロード件数取得 | ダウンロード条件 | int |
ユーザー管理サービス
com.example.sms.service.system.user.UserManagementService
フィールド | フィールド型 |
---|---|
userRepository | ユーザーレポジトリ |
メソッド | 引数 | 戻り値型 | 説明 |
---|---|---|---|
+ ユーザー削除 | ユーザーID | void | |
+ ユーザー検索 | ユーザーID | ユーザー | |
+ ユーザー新規登録 | ユーザー | void | |
+ ユーザー情報編集 | ユーザー | void | |
+ ユーザー一覧 | ユーザー一覧 | ||
+ ユーザー一覧(ページング) | PageInfo<ユーザー> |