Authored by mali

转码

... ... @@ -10,5 +10,5 @@ import org.apache.ibatis.annotations.Param;
public interface QiniuLiveRecordMapper {
int updateStatusByPersistId(@Param("persistId")String persistId, @Param("status")Integer status);
QiniuLiveRecord selectByOrderCodes(@Param("orderCode")Integer orderCode);
QiniuLiveRecord selectByOrderCodes(@Param("orderCode")Long orderCode);
}
... ...
... ... @@ -26,7 +26,10 @@ public class QiniuLiveRecordService {
}
}
public QiniuLiveRecord selectByOrderCodes(Integer orderCode) {
public QiniuLiveRecord selectByOrderCodes(Long orderCode) {
if (null == orderCode) {
return null;
}
QiniuLiveRecord qiniuLiveRecords = qiniuLiveRecordMapper.selectByOrderCodes(orderCode);
if (null == qiniuLiveRecords || StringUtils.isEmpty(qiniuLiveRecords.getVedioFileUrl())) {
... ...