// ĠCopyright Ġ( c ) ĠMicrosoft ĠCorporation . Ċ // ĠLicensed Ġunder Ġthe ĠMIT Ġlicense . Ċ Ċ package Ġcom . microsoft . research . k ary a . database . da os Extra Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Query Ċ import Ġcom . microsoft . research . k ary a . database . models . Micro task Group Assignment Record Ċ import Ġcom . microsoft . research . k ary a . database . models . Micro task Group Assignment Status Ċ Ċ @ Dao Ċ interface ĠMicro task Group Assignment Dao Extra Ġ{ ĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠGet Ġthe Ġlist Ġof Ġcompleted Ġgroup Ġassignments ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġmicro task _ group _ assignment ĠWHERE Ġstatus =: status ") ĊĠĠĠ Ġsuspend Ġfun Ġget Completed Group Assignments ( ĊĠĠĠĠĠĠĠ Ġstatus : ĠMicro task Group Assignment Status Ġ= ĠMicro task Group Assignment Status . completed ĊĠĠĠ Ġ): ĠList < Micro task Group Assignment Record > ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠMark Ġa Ġgroup Ġassignment Ġas Ġsubmitted ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Query (" UPDATE Ġmicro task _ group _ assignment ĠSET Ġstatus =: status ĠWHERE Ġid =: id ") ĊĠĠĠ Ġsuspend Ġfun Ġmark Submitted ( ĊĠĠĠĠĠĠĠ Ġid : ĠString , ĊĠĠĠĠĠĠĠ Ġstatus : ĠMicro task Group Assignment Status Ġ= ĠMicro task Group Assignment Status . submitted ĊĠĠĠ Ġ) Ċ } Ċ