|
|
|
@ -7,6 +7,7 @@ import org.springframework.data.jpa.repository.Modifying;
|
|
|
|
|
import org.springframework.data.jpa.repository.Query;
|
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -39,7 +40,7 @@ public interface AllCallInfoRepository extends JpaRepository<AllCallInfo, Long>,
|
|
|
|
|
*/
|
|
|
|
|
@Modifying
|
|
|
|
|
@Query(value = "update AllCallInfo d set d.recordFlag =?1 , d.recordFileDownloadUrl = ?2 ,d.createTime=?4 where d.id =?3")
|
|
|
|
|
void updateByRecord(Integer recordFlag, String recordFileDownloadUrl, Long id, String createTime);
|
|
|
|
|
void updateByRecord(Integer recordFlag, String recordFileDownloadUrl, Long id, Date createTime);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改状态和录音时间
|
|
|
|
|