|
@@ -716,4 +716,52 @@
|
|
|
and B.net_spot3_name like '%${baseSpotName}%'
|
|
and B.net_spot3_name like '%${baseSpotName}%'
|
|
|
</if>
|
|
</if>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+
|
|
|
|
|
+ <select id="likeByDesc" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
|
|
+ <include refid="select" />
|
|
|
|
|
+ where 1 = 1
|
|
|
|
|
+ <if test="startTime != null and endTime != null and startTime != '' and endTime != ''">
|
|
|
|
|
+ and create_time >= TO_DATE(#{startTime}, 'yyyy-MM-dd HH24:mi:ss') and create_time <= TO_DATE(#{endTime}, 'yyyy-MM-dd HH24:mi:ss')
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createManNo != null and createManNo != ''">
|
|
|
|
|
+ and CREATE_MAN_NO LIKE '%${createManNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="createManName != null and createManName != ''">
|
|
|
|
|
+ and CREATE_MAN_NAME LIKE '%${createManName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManNo != null and updateManNo != ''">
|
|
|
|
|
+ and UPDATE_MAN_NO LIKE '%${updateManNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updateManName != null and updateManName != ''">
|
|
|
|
|
+ and UPDATE_MAN_NAME LIKE '%${updateManName}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="operationPage != null and operationPage != ''">
|
|
|
|
|
+ and OPERATION_PAGE LIKE '%${operationPage}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="operationFunction != null and operationFunction != ''">
|
|
|
|
|
+ and OPERATION_FUNCTION LIKE '%${operationFunction}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="operationId != null and operationId != ''">
|
|
|
|
|
+ and OPERATION_ID LIKE '%${operationId}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="operationPredictionNo != null and operationPredictionNo != ''">
|
|
|
|
|
+ and OPERATION_PREDICTION_NO LIKE '%${operationPredictionNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="operationCarnNo != null and operationCarnNo != ''">
|
|
|
|
|
+ and OPERATION_CARN_NO LIKE '%${operationCarnNo}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="operationBeforeFix != null and operationBeforeFix != ''">
|
|
|
|
|
+ and OPERATION_BEFORE_FIX LIKE '%${operationBeforeFix}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="operationAfterFix != null and operationAfterFix != ''">
|
|
|
|
|
+ and OPERATION_AFTER_FIX LIKE '%${operationAfterFix}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="logType != null and logType != ''">
|
|
|
|
|
+ and LOG_TYPE LIKE '%${logType}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="logTypeCode != null and logTypeCode != ''">
|
|
|
|
|
+ and LOG_TYPE_CODE LIKE '%${logTypeCode}%'
|
|
|
|
|
+ </if>
|
|
|
|
|
+ order by create_time desc
|
|
|
|
|
+ </select>
|
|
|
</mapper>
|
|
</mapper>
|