|
|
@@ -4,6 +4,7 @@ import api.entity.database.call.Record;
|
|
4
|
4
|
import api.entity.view.order.WorkOrderVisitLogView;
|
|
5
|
5
|
import api.service.call.IRecordService;
|
|
6
|
6
|
import api.service.system.IConfigService;
|
|
|
7
|
+import api.util.annotation.Anonymous;
|
|
7
|
8
|
import com.alibaba.fastjson2.JSON;
|
|
8
|
9
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
9
|
10
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
@@ -39,6 +40,7 @@ public class WorkOrderVisitLogController extends BaseController {
|
|
39
|
40
|
@ApiOperation("列表")
|
|
40
|
41
|
@Log(title = "查询wo_visitlog列表",businessType = BusinessType.QUERY)
|
|
41
|
42
|
@GetMapping
|
|
|
43
|
+ @Anonymous
|
|
42
|
44
|
public AjaxResult getList(WorkOrderVisitLog input, PageInput pageInput) {
|
|
43
|
45
|
LambdaQueryWrapper<WorkOrderVisitLog> qw = new LambdaQueryWrapper();
|
|
44
|
46
|
qw.eq(input.getVisitId() != null && input.getVisitId() > 0, WorkOrderVisitLog::getVisitId, input.getVisitId());
|
|
|
@@ -110,7 +112,7 @@ public class WorkOrderVisitLogController extends BaseController {
|
|
110
|
112
|
}
|
|
111
|
113
|
public WorkOrderVisitLogView trans(WorkOrderVisitLog log) {
|
|
112
|
114
|
WorkOrderVisitLogView ov = JSON.parseObject(JSON.toJSONString(log), WorkOrderVisitLogView.class);
|
|
113
|
|
- if(!StringHelper.isEmpty( log.getCallid()))
|
|
|
115
|
+ if(!StringHelper.isEmpty( log.getCallid()) && !log.getCallid().equals("0"))
|
|
114
|
116
|
{
|
|
115
|
117
|
//根据callid获取录音文件
|
|
116
|
118
|
String captchaEnabled = configService.selectCaptchaEnabled("FileUrl");
|