胡半仙 3 anni fa
parent
commit
26d18f3931

+ 2 - 0
src/main/resources/com/steerinfo/dil/mapper/StatisticalReportMapper.xml

@@ -1202,6 +1202,7 @@
         </if>
         GROUP BY MATERIAL_NAME, WAREHOUSE_NAME
         )
+        <include refid="orderBy"></include>
         <where>
         <if test="materialName != null">
             and
@@ -1264,6 +1265,7 @@
         </if>
 		GROUP BY MATERIAL_NAME, WAREHOUSE_NAME
 		)
+        <include refid="orderBy"></include>
         <where>
             <if test="materialName != null">
                 and