時給の履歴の並び順に関する質問
Closed this issue · 2 comments
ecormaksin commented
/webapp/src/main/resources/templates/wage/list.html
で表示している時給の履歴について、example.infrastructure.datasource.contract.ContractMapper.selectContracts
ではORDER句が指定されておらず、example.infrastructure.datasource.contract.ContractDataSource.getContractWages(EmployeeNumber)
では、sortedによる並べ替えもされていないようですが、画面上は開始日付の降順で表示されているかと思います。並べ替えをどこでどのように行われているのか、ご教示いただいてもよろしいでしょうか。
irof commented
日付の降順は契約時給を一覧する際の関心として ContractWages#list()
でやっています。
ecormaksin commented
ご回答ありがとうございます。理解できました。