lizhanwei
2020-03-22 33ebb2eff576bde3de532d4be470737e8d1cc671
app/src/main/java/safeluck/drive/evaluation/DB/failitems/LuKaoFailProjDao.java
@@ -6,6 +6,8 @@
import androidx.room.OnConflictStrategy;
import androidx.room.Query;
import org.jetbrains.annotations.NotNull;
import java.util.List;
/**
@@ -38,4 +40,14 @@
    @Query("delete from lukao_fail_projects")
    void deleteAll();
  /**
   * 查询 科目三 路考考场的失败项目 (多表查询)
   * 如果要添加 科目二II   III类考场失败项目,需要建立相应的评判标准表数据表
   * @return
   */
  @Query("SELECT emp_id,stu_id,utc,sn,deducting_reason,score_deducting,item_content from criteria_three INNER JOIN lukao_fail_projects ON  criteria_three.item_id= lukao_fail_projects.emp_id where lukao_fail_projects.stu_id=:stu_id and lukao_fail_projects.subject=3")
    List<FailedProj_select> getAllFailProjIII(long stu_id);
}