|
|
|
@ -103,7 +103,7 @@ public interface ArchiveDetailRepository extends JpaRepository<ArchiveDetail, St
|
|
|
|
|
" and m.ID = ?2) order by e.report_type,e.name,e.author_report_time ",nativeQuery = true)
|
|
|
|
|
List<Map<Object, Object>> getAllInspectionApply(List<String> type, String masterId);
|
|
|
|
|
|
|
|
|
|
@Query("select o.title from ArchiveDetail o where o.masterID = ?1 and o.assortID = ?2 and o.flag = ?3 ")
|
|
|
|
|
@Query("select max(o.title) from ArchiveDetail o where o.masterID = ?1 and o.assortID = ?2 and o.flag = ?3 ")
|
|
|
|
|
public String getResultByMasterIDAndAssortIDAndFlag(String masterId,String assortId,String flag);
|
|
|
|
|
|
|
|
|
|
@Query("select count(o) from ArchiveDetail o where o.masterID = ?1 and o.assortID = ?2 and o.flag = ?3 ")
|
|
|
|
|