|
@@ -18,8 +18,8 @@
|
|
|
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
|
|
|
from itf_tbl_az_wgmx_sykt_download a
|
|
|
- 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
|
|
|
+ left join order_base b on a.pgguid = b.pgguid
|
|
|
+ left join order_product p on a.pgguid = p.pgguid and b.id = p.order_base_id and a.pgmxid = p.pgmxid
|
|
|
where a.syn_req_id = #{request.synReqId} and a.syn_status = 0;
|
|
|
</select>
|
|
|
|