Commit 0da7ca94 authored by kongfm's avatar kongfm

接口测试修正

parent 99e66a6f
......@@ -25,6 +25,7 @@ import org.typroject.tyboot.core.restful.utils.ResponseModel;
import java.util.Calendar;
import java.util.List;
import java.util.UUID;
/**
* 通话记录附件
......@@ -61,6 +62,9 @@ public class VoiceRecordFileController extends BaseController {
endTime.add(Calendar.MINUTE, 6);
model.setTelStartTime(startTime.getTime());
model.setTelEndTime(endTime.getTime());
model.setFilePath(UUID.randomUUID().toString().replace("-",""));
model.setFileType("");
model.setSourceId(-1l);
AlertCalledFormDto alertDto = iAlertCalledService.selectAlertCalledByIdNoCache(model.getAlertId());
if(alertDto == null || alertDto.getAlertCalledDto() == null) {
throw new BadRequest("未找到相关警情");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment