|
|
@@ -58,10 +58,10 @@
|
|
|
from bj_track_ships
|
|
|
where del_flag = '0'
|
|
|
<if test="bo.shipNameCn != null and bo.shipNameCn != ''">
|
|
|
- and ship_came_cn like concat('%',#{bo.shipNameCn},'%')
|
|
|
+ and ship_name_cn like concat('%',#{bo.shipNameCn},'%')
|
|
|
</if>
|
|
|
<if test="bo.shipNameEn != null and bo.shipNameEn != ''">
|
|
|
- and ship_came_en like concat('%',#{bo.shipNameEn},'%')
|
|
|
+ and ship_name_en like concat('%',#{bo.shipNameEn},'%')
|
|
|
</if>
|
|
|
<if test="bo.shipId != null and bo.shipId != ''">
|
|
|
and ship_id like concat('%',#{bo.shipId},'%')
|
|
|
@@ -75,6 +75,24 @@
|
|
|
<if test="bo.icCardNo != null and bo.icCardNo != ''">
|
|
|
and ic_card_no like concat('%',#{bo.icCardNo},'%')
|
|
|
</if>
|
|
|
+ <if test="bo.traceUnit != null and bo.traceUnit != ''">
|
|
|
+ and trace_unit = #{bo.traceUnit}
|
|
|
+ </if>
|
|
|
+ <if test="bo.releaseUnit != null and bo.releaseUnit != ''">
|
|
|
+ and release_unit = #{bo.releaseUnit}
|
|
|
+ </if>
|
|
|
+ <if test="bo.traceStatus != null and bo.traceStatus != ''">
|
|
|
+ and trace_status = #{bo.traceStatus}
|
|
|
+ </if>
|
|
|
+ <if test="bo.auditStatus != null and bo.auditStatus != ''">
|
|
|
+ and audit_status = #{bo.auditStatus}
|
|
|
+ </if>
|
|
|
+ <if test="bo.regportName != null and bo.regportName != ''">
|
|
|
+ and regport_name = #{bo.regportName}
|
|
|
+ </if>
|
|
|
+ <if test="bo.shipType != null and bo.shipType != ''">
|
|
|
+ and ship_type = #{bo.shipType}
|
|
|
+ </if>
|
|
|
<if test="bo.startCheckDate != null and bo.endCheckDate != null">
|
|
|
and check_date between #{bo.startCheckDate} and #{bo.endCheckDate}
|
|
|
</if>
|