|
|
@@ -67,12 +67,39 @@
|
|
|
<if test="bo.caseNo != null and bo.caseNo != ''">
|
|
|
and case_no like concat('%',#{bo.caseNo},'%')
|
|
|
</if>
|
|
|
- <if test="bo.punishReason != null and bo.punishReason != ''">
|
|
|
- and punish_reason like concat('%',#{bo.punishReason},'%')
|
|
|
- </if>
|
|
|
<if test="bo.punishObjName != null and bo.punishObjName != ''">
|
|
|
and punish_obj_name like concat('%',#{bo.punishObjName},'%')
|
|
|
</if>
|
|
|
+ <if test="bo.punishReason != null and bo.punishReason != ''">
|
|
|
+ and punish_reason = #{bo.punishReason}
|
|
|
+ </if>
|
|
|
+ <if test="bo.shipNameCn != null and bo.shipNameCn != ''">
|
|
|
+ and ship_name_cn = #{bo.shipNameCn}
|
|
|
+ </if>
|
|
|
+ <if test="bo.processType != null">
|
|
|
+ and process_type = #{bo.processType}
|
|
|
+ </if>
|
|
|
+ <if test="bo.processSort != null">
|
|
|
+ and process_sort = #{bo.processSort}
|
|
|
+ </if>
|
|
|
+ <if test="bo.disposeOrg != null and bo.disposeOrg != ''">
|
|
|
+ and dispose_org = #{bo.disposeOrg}
|
|
|
+ </if>
|
|
|
+ <if test="bo.partiesType != null and bo.partiesType != ''">
|
|
|
+ and parties_type = #{bo.partiesType}
|
|
|
+ </if>
|
|
|
+ <if test="bo.portOfregistry != null and bo.portOfregistry != ''">
|
|
|
+ and port_ofregistry = #{bo.portOfregistry}
|
|
|
+ </if>
|
|
|
+ <if test="bo.shipSort != null and bo.shipSort != ''">
|
|
|
+ and ship_sort = #{bo.shipSort}
|
|
|
+ </if>
|
|
|
+ <if test="bo.inlandShips != null and bo.inlandShips != ''">
|
|
|
+ and inland_ships = #{bo.inlandShips}
|
|
|
+ </if>
|
|
|
+ <if test="bo.waterAreaType != null and bo.waterAreaType != ''">
|
|
|
+ and water_area_type = #{bo.waterAreaType}
|
|
|
+ </if>
|
|
|
<if test="bo.startDecisionDate != null and bo.endDecisionDate != null">
|
|
|
and declare_date between #{bo.startDecisionDate} and #{bo.endDecisionDate}
|
|
|
</if>
|