|
@@ -267,24 +267,24 @@
|
|
|
</select>
|
|
</select>
|
|
|
<select id="selectByMap" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
<select id="selectByMap" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
<include refid="select" />
|
|
<include refid="select" />
|
|
|
- where 1!=1
|
|
|
|
|
|
|
+ where 1=1
|
|
|
<if test="rfidCode != null and rfidCode != ''">
|
|
<if test="rfidCode != null and rfidCode != ''">
|
|
|
- or RFID_CODE = #{rfidCode}
|
|
|
|
|
|
|
+ and RFID_CODE = #{rfidCode}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="carNo != null and carNo != ''">
|
|
<if test="carNo != null and carNo != ''">
|
|
|
- or CAR_NO = #{carNo}
|
|
|
|
|
|
|
+ and CAR_NO = #{carNo}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="createManNo != null and createManNo != ''">
|
|
<if test="createManNo != null and createManNo != ''">
|
|
|
- or CREATE_MAN_NO = #{createManNo}
|
|
|
|
|
|
|
+ and CREATE_MAN_NO = #{createManNo}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="createManName != null and createManName != ''">
|
|
<if test="createManName != null and createManName != ''">
|
|
|
- or CREATE_MAN_NAME = #{createManName}
|
|
|
|
|
|
|
+ and CREATE_MAN_NAME = #{createManName}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="createTime != null">
|
|
<if test="createTime != null">
|
|
|
- or TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = '#{createTime}'
|
|
|
|
|
|
|
+ and TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = '#{createTime}'
|
|
|
</if>
|
|
</if>
|
|
|
<if test="valueFlag != null and valueFlag != ''">
|
|
<if test="valueFlag != null and valueFlag != ''">
|
|
|
- or VALUE_FLAG = #{valueFlag}
|
|
|
|
|
|
|
+ and VALUE_FLAG = #{valueFlag}
|
|
|
</if>
|
|
</if>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|