自动化立体仓库 - WMS系统
#
18516761980
2022-10-06 b55ec70223cb8af0d59f868cbd5e8c53a53e47a3
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>