|
@@ -208,7 +208,7 @@
|
|
contract_product t1
|
|
contract_product t1
|
|
LEFT JOIN contract t2 ON t1.contract_id = t2.id
|
|
LEFT JOIN contract t2 ON t1.contract_id = t2.id
|
|
<!-- 列表中只显示存在交接单的数据 获取到交接单时间最单的一条-->
|
|
<!-- 列表中只显示存在交接单的数据 获取到交接单时间最单的一条-->
|
|
- join(SELECT business_id,create_time sampleTime from bytesailing_base.file_info GROUP BY business_id HAVING MAX(create_time)) t3 on
|
|
|
|
|
|
+ left join(SELECT business_id,create_time sampleTime from bytesailing_base.file_info GROUP BY business_id HAVING MAX(create_time)) t3 on
|
|
t2.id = t3.business_id
|
|
t2.id = t3.business_id
|
|
${ew.customSqlSegment}
|
|
${ew.customSqlSegment}
|
|
</select>
|
|
</select>
|