自动化立体仓库 - WMS系统
#
whycq
2025-06-26 5f6dbe95bb56f30ccd7acb98282d486e5ed2afd8
src/main/resources/mapper/ViewInOutMapper.xml
@@ -61,5 +61,23 @@
   ]]>
</where>
</select>
    <select id="selectWorkCountInSum" resultType="java.lang.Integer">
      SELECT SUM(anfme) FROM asr_wrkin_count_view WHERE 1=1 AND
      (oneday > #{start}
      AND
      oneday &lt; #{end})
      <if test="matnr != null and matnr !=''">
         and matnr = #{matnr}
      </if>
   </select>
   <select id="selectWorkCountOutSum" resultType="java.lang.Integer">
      SELECT SUM(anfme) FROM asr_wrkout_count_view WHERE 1=1 AND
      (oneday > #{start}
      AND
      oneday &lt; #{end})
      <if test="matnr != null and matnr !=''">
         and matnr = #{matnr}
      </if>
   </select>
</mapper>