|
|
@@ -54,12 +54,33 @@
|
|
|
break_reason
|
|
|
from bj_build_check
|
|
|
where del_flag = '0'
|
|
|
- <if test="bo.shipyard != null and bo.shipyard != ''">
|
|
|
- and shipyard like concat('%',#{bo.shipyard},'%')
|
|
|
- </if>
|
|
|
<if test="bo.shipRegisterNumber != null and bo.shipRegisterNumber != ''">
|
|
|
and ship_register_number like concat('%',#{bo.shipRegisterNumber},'%')
|
|
|
</if>
|
|
|
+ <if test="bo.shipName != null and bo.shipName != ''">
|
|
|
+ and ship_name = #{bo.shipName}
|
|
|
+ </if>
|
|
|
+ <if test="bo.shipyard != null and bo.shipyard != ''">
|
|
|
+ and shipyard = #{bo.shipyard}
|
|
|
+ </if>
|
|
|
+ <if test="bo.shipType != null and bo.shipType != ''">
|
|
|
+ and ship_type = #{bo.shipType}
|
|
|
+ </if>
|
|
|
+ <if test="bo.countryType != null and bo.countryType != ''">
|
|
|
+ and country_type = #{bo.countryType}
|
|
|
+ </if>
|
|
|
+ <if test="bo.checkOrganization != null and bo.checkOrganization != ''">
|
|
|
+ and check_organization = #{bo.checkOrganization}
|
|
|
+ </if>
|
|
|
+ <if test="bo.checkResult != null and bo.checkResult != ''">
|
|
|
+ and check_result = #{bo.checkResult}
|
|
|
+ </if>
|
|
|
+ <if test="bo.shipSort != null and bo.shipSort != ''">
|
|
|
+ and ship_sort = #{bo.shipSort}
|
|
|
+ </if>
|
|
|
+ <if test="bo.status != null and bo.status != ''">
|
|
|
+ and status = #{bo.status}
|
|
|
+ </if>
|
|
|
<if test="bo.startCheckDate != null and bo.endCheckDate != null">
|
|
|
and check_date between #{bo.startCheckDate} and #{bo.endCheckDate}
|
|
|
</if>
|