zhangxin 1 ヶ月 前
コミット
44d94b5827

+ 4 - 4
prod-line-imes/src/main/resources/mapper/MesLineMapper.xml

@@ -15,11 +15,11 @@
                     line_name like concat('%', #{params.boy.lineName}, '%')
                 </if>
                 <if test="params.boy.startTime != null">
-                    and create_time gl;
+                    and create_time <![CDATA[ >= ]]>
                     #{params.boy.startTime}
                 </if>
                 <if test="params.boy.endTime != null">
-                    and create_time le;
+                    and create_time <![CDATA[ <= ]]>
                     #{params.boy.endTime}
                 </if>
             </if>
@@ -36,11 +36,11 @@
                     line_name like concat('%', #{params.boy.lineName}, '%')
                 </if>
                 <if test="params.boy.startTime != null">
-                    and create_time gl;
+                    and create_time <![CDATA[ >= ]]>
                     #{params.boy.startTime}
                 </if>
                 <if test="params.boy.endTime != null">
-                    and create_time le;
+                    and create_time <![CDATA[ <= ]]>
                     #{params.boy.endTime}
                 </if>
             </if>