| | |
| | | <result property="quantity" column="quantity"/> |
| | | <result property="tenantId" column="tenant_id"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="otherData" column="other_data"/> |
| | | </resultMap> |
| | | |
| | | <select id="listPageProductionProductOutputDto" resultType="com.ruoyi.production.dto.ProductionProductOutputDto"> |
| | |
| | | <select id="selectDailyOutputStats" resultType="java.util.Map"> |
| | | SELECT |
| | | DATE_FORMAT(create_time, '%Y-%m-%d') as date, |
| | | SUM(quantity) as quantity |
| | | SUM(quantity-scrap_qty) as quantity |
| | | FROM |
| | | production_product_output |
| | | WHERE |