zhangxin 1 月之前
父节点
当前提交
44d94b5827
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      prod-line-imes/src/main/resources/mapper/MesLineMapper.xml

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