|
|
@@ -461,4 +461,60 @@
|
|
|
<include refid="whereLike"/>
|
|
|
order by create_time desc
|
|
|
</select>
|
|
|
+
|
|
|
+ <select id="HelpMsgByDesc" parameterType="java.util.HashMap" resultMap="BaseResultMap">
|
|
|
+ <include refid="select"/>
|
|
|
+ <where>
|
|
|
+ <if test="helpId != null and helpId != ''">
|
|
|
+ and HELP_ID LIKE '%${helpId}%'
|
|
|
+ </if>
|
|
|
+ <if test="carNo != null and carNo != ''">
|
|
|
+ and CAR_NO LIKE '%${carNo}%'
|
|
|
+ </if>
|
|
|
+ <if test="helpContent != null and helpContent != ''">
|
|
|
+ and HELP_CONTENT LIKE '%${helpContent}%'
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ and TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = #{createTime}
|
|
|
+ </if>
|
|
|
+ <if test="endTime != null">
|
|
|
+ and TO_CHAR(END_TIME,'yyyy-MM-dd') = #{endTime}
|
|
|
+ </if>
|
|
|
+ <if test="createNo != null and createNo != ''">
|
|
|
+ and CREATE_NO LIKE '%${createNo}%'
|
|
|
+ </if>
|
|
|
+ <if test="createName != null and createName != ''">
|
|
|
+ and CREATE_NAME LIKE '%${createName}%'
|
|
|
+ </if>
|
|
|
+ <if test="result != null and result != ''">
|
|
|
+ and RESULT LIKE '%${result}%'
|
|
|
+ </if>
|
|
|
+ <if test="valueFlag != null and valueFlag != ''">
|
|
|
+ and VALUE_FLAG LIKE '%${valueFlag}%'
|
|
|
+ </if>
|
|
|
+ <if test="baseSpotNo != null and baseSpotNo != ''">
|
|
|
+ and BASE_SPOT_NO LIKE '%${baseSpotNo}%'
|
|
|
+ </if>
|
|
|
+ <if test="baseSpotName != null and baseSpotName != ''">
|
|
|
+ and BASE_SPOT_NAME LIKE '%${baseSpotName}%'
|
|
|
+ </if>
|
|
|
+ <if test="measureTaskNum != null and measureTaskNum != ''">
|
|
|
+ and MEASURE_TASK_NUM LIKE '%${measureTaskNum}%'
|
|
|
+ </if>
|
|
|
+ <if test="warmType != null and warmType != ''">
|
|
|
+ and WARM_TYPE LIKE '%${warmType}%'
|
|
|
+ </if>
|
|
|
+ <if test="warmTypeName != null and warmTypeName != ''">
|
|
|
+ and WARM_TYPE_NAME LIKE '%${warmTypeName}%'
|
|
|
+ </if>
|
|
|
+ <if test="startTime01 != null and startTime01 != ''">
|
|
|
+ and create_time >= to_date(#{startTime01}, 'yyyy-MM-dd HH24:mi:ss')
|
|
|
+ </if>
|
|
|
+ <if test="endTime01 != null and endTime01 != ''">
|
|
|
+ and create_time <= to_date(#{endTime01}, 'yyyy-MM-dd HH24:mi:ss')
|
|
|
+ </if>
|
|
|
+ and warm_type in ('1', '2', '3')
|
|
|
+ </where>
|
|
|
+ order by create_time desc
|
|
|
+ </select>
|
|
|
</mapper>
|