| | |
| | | * smsSuccessInfo - visitCount = 1 && currentPreachForm = "4" && sendstate = 6 |
| | | * wechatSuccessInfo - visitCount = 1 && currentPreachForm = "5" && sendstate = 6 |
| | | * wechatInfo - visitCount = 1 && currentPreachForm = "5" |
| | | * voiceCumulativeInfo - visitCount = 1 && currentPreachForm 位于 preachform 顺序中的语音及之后 |
| | | * weChatCumulativeInfo - visitCount = 1 && currentPreachForm 位于 preachform 顺序中的微信及之后 |
| | | * smsCumulativeInfo - visitCount = 1 && currentPreachForm 位于 preachform 顺序中的短信及之后 |
| | | * manualCumulativeInfo - visitCount = 1 && currentPreachForm 位于 preachform 顺序中的人工及之后 |
| | | * abnormalInfo - visitCount = 1 && excep = "1" |
| | | * needFollowUpAgainInfo - visitCount > 1 && sendstate != 4 |
| | | * pendingFollowUpAgainInfo - visitCount > 1 && sendstate = 2 |
| | |
| | | */ |
| | | @PostMapping(value = "/scanGenerateSubtask") |
| | | public AjaxResult scanGenerateSubtask(@RequestBody ServiceTask serviceTask) { |
| | | return AjaxResult.success(serviceSubtaskService.scanGenerateSubtask(serviceTask)); |
| | | String url = serviceSubtaskService.scanGenerateSubtask(serviceTask); |
| | | // data 为空必须回 code=500:前端只看 code,200 + 空串会被误当成「生成成功但没链接」 |
| | | if (StringUtils.isEmpty(url)) { |
| | | return AjaxResult.error("扫码生成任务失败:未取到二维码链接"); |
| | | } |
| | | return AjaxResult.success(url); |
| | | } |
| | | |
| | | @PostMapping("/syncMedInhospForShiyi") |