liu
9 天以前 3e144b2eb8fc9447d2d092edb71db533d12abc52
src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -51,6 +51,8 @@
                   end as workOrderStatus,
               su.nick_name as nickName,
               ifnull(ppo.quantity, 0) as quantity,
               ifnull(ppo.rework_minor_qty, 0) as reworkMinorQty,
               ifnull(ppo.rework_major_qty, 0) as reworkMajorQty,
               ifnull(ppo.scrap_qty, 0) as scrapQty,
               p.product_name as productName,
               ifnull(p.standard_quantity, 0) as productStandardQuantity,
@@ -108,6 +110,9 @@
            <if test="c.process != null and c.process != ''">
                and poro.operation_name like concat('%', #{c.process}, '%')
            </if>
            <if test="c.majorCategory != null and c.majorCategory != ''">
                and ppm.major_category = #{c.majorCategory}
            </if>
            <if test="c.schedulingDate != null">
                and date(ppm.create_time) = #{c.schedulingDate}
            </if>