Explorar el Código

FIX 任务,算法,温度 完成

tjf hace 1 día
padre
commit
8bfded6360

+ 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>