소스 검색

FIX 任务,算法,温度 完成

tjf 1 일 전
부모
커밋
8bfded6360
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ruoyi-system/src/main/resources/mapper/manage/ClockSetMapper.xml

+ 1 - 1
ruoyi-system/src/main/resources/mapper/manage/ClockSetMapper.xml

@@ -36,7 +36,7 @@
     <select id="selectClockSetList" parameterType="ClockSet" resultMap="ClockSetResult">
         <include refid="selectClockSetVo"/>
         <where>
-            <if test="clockName != null ">and clock_name = #{clockName}</if>
+            <if test="clockName != null ">and clock_name like concat('%', #{clockName}, '%')</if>
             <if test="clockBeginAm != null ">and clock_begin_am = #{clockBeginAm}</if>
             <if test="clockEndAm != null ">and clock_end_am = #{clockEndAm}</if>
             <if test="clockBeginPm != null ">and clock_begin_pm = #{clockBeginPm}</if>