yaozhixue 1 年之前
父节点
当前提交
4e910e5b1e

+ 2 - 2
src/main/resources/mapper/AzWgmxJyktDownloadMapper.xml

@@ -19,8 +19,8 @@
                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
-                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>
 

+ 2 - 2
src/main/resources/mapper/AzWgmxQitaDownloadMapper.xml

@@ -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>
 

+ 2 - 2
src/main/resources/mapper/AzWgmxSyktDownloadMapper.xml

@@ -19,8 +19,8 @@
                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_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>