| | |
| | | ctr."call_end_time" as callEndTime, |
| | | ctr."call_record_file" as callRecordFile, |
| | | ctr."intention_customer_flag" as intentionCustomerFlag, |
| | | ctr."is_deleted" as isDeleted |
| | | ctr."is_deleted" as isDeleted, |
| | | ctc."call_task_callee_content" as callTaskCalleeContent |
| | | from "SJZT_ODS"."call_task_result" ctr |
| | | left join "SJZT_ODS"."call_task_callee" ctc on ctr."task_id" = ctc."task_id" |
| | | where 1=1 |
| | | <if test="callTaskResult.taskId!=null and callTaskResult.taskId!=''"> |
| | | and ctr."task_id" = #{callTaskResult.taskId} |
| | | </if> |
| | | order by ctr."gmt_create" desc |
| | | </select> |
| | | |
| | | <!--通过水库编码获取行政区名称--> |
| | | <select id="getAreaNameByAdCode" resultType="java.lang.String"> |
| | | select aab."ad_name" from SJZT_MD."att_ad_base" aab |
| | | left join SJZT_MD."att_res_base" arb on aab."guid" = concat(arb."ad_guid",'000000') |
| | | where arb."code" = #{adCode} |
| | | </select> |
| | | </mapper> |