преди 1 година
родител
ревизия
1b35cef124
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      platform-dao/src/main/resources/mapper/longyanpurchaseorder/LongYanPurchaseDetailMapper.xml

+ 2 - 2
platform-dao/src/main/resources/mapper/longyanpurchaseorder/LongYanPurchaseDetailMapper.xml

@@ -89,10 +89,10 @@
              resultType="com.platform.dao.vo.report.SpareChartsFifityVO">
         SELECT spare_name,SUM(num) AS totalNum FROM t_long_yan_purchase_detail menu
         <where>
-            <if test="createdTimeStart != null">
+            <if test="startTime != null">
                 and menu.created_time <![CDATA[>=]]> #{startTime}
             </if>
-            <if test="createdTimeEnd != null">
+            <if test="endTime != null">
                 and menu.created_time <![CDATA[<=]]> #{endTime}
             </if>
         </where>