|
@@ -15,7 +15,8 @@
|
|
p.inside_num,p.out_num,a.pgguid,a.pgwcmxid,0 as detail_source,'NO' as is_cj_send,'NO' as is_wg_send,p.id as pgmxid,
|
|
p.inside_num,p.out_num,a.pgguid,a.pgwcmxid,0 as detail_source,'NO' as is_cj_send,'NO' as is_wg_send,p.id as pgmxid,
|
|
a.czren as operator_account,a.czren as operator_name,a.czwd as operator_websit_id,b.worker_id as main_worker_id,
|
|
a.czren as operator_account,a.czren as operator_name,a.czwd as operator_websit_id,b.worker_id as main_worker_id,
|
|
b.worker_name as main_worker_name,a.cjren as create_by,a.cjdt as create_time,a.last_modified_by as update_by,
|
|
b.worker_name as main_worker_name,a.cjren as create_by,a.cjdt as create_time,a.last_modified_by as update_by,
|
|
- case a.installenvironment when 1 then 'YES' else 'NO' end as is_special,a.flbz as assist_remark,IFNULL(a.wcsj,a.czsj) as first_time
|
|
|
|
|
|
+ case a.installenvironment when 1 then 'YES' else 'NO' end as is_special,a.flbz as assist_remark,
|
|
|
|
+ IFNULL(a.wcsj,a.czsj) as first_time,'' as buy_certificate_picture,'' as after_buy_certificate_picture
|
|
from itf_tbl_az_wgmx_jykt_download a
|
|
from itf_tbl_az_wgmx_jykt_download a
|
|
join order_base b on a.pgguid = b.pgguid
|
|
join order_base b on a.pgguid = b.pgguid
|
|
join order_product p on a.pgguid = p.pgguid and b.id = p.order_base_id and a.pgmxid = p.pgmxid
|
|
join order_product p on a.pgguid = p.pgguid and b.id = p.order_base_id and a.pgmxid = p.pgmxid
|