Kaynağa Gözat

数据中心查询修改

wanxl 1 yıl önce
ebeveyn
işleme
64a075df0a

+ 2 - 2
src/main/resources/mapper/errand/TbIndentMapper.xml

@@ -610,10 +610,10 @@
             and s.indent_state = #{status}
         </if>
         <if test="query.startTime!=null and query.startTime!=''">
-            and create_time>=#{query.startTime}
+            and s.create_time>=#{query.startTime}
         </if>
         <if test="query.endTime!=null and query.endTime!=''">
-            and create_time <![CDATA[<=]]> #{query.endTime}
+            and s.create_time <![CDATA[<=]]> #{query.endTime}
         </if>
         order by s.create_time desc
     </select>