Lius
2024-08-22 f59452ac384766a21500857e89928a8abc0e75b5
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdcJc/mapper/xml/ClassMonthlyscheduleMapper.xml
@@ -14,4 +14,35 @@
        SELECT  * FROM T_Quality_monthy WHERE NY = #{ dateTime }
    </select>
    <select id="findListProductDay" resultType="org.jeecg.modules.mdcJc.entity.ProductDayschedule">
        SELECT  * FROM T_ProductDayschedule WHERE PlanDate = #{ dateTime }
    </select>
    <select id="onLineQueueList" resultType="org.jeecg.modules.mdcJc.entity.OnLineQueue">
        SELECT * FROM T_OnLine_Queue
    </select>
    <select id="findListOnLineQueue" resultType="org.jeecg.modules.mdcJc.entity.OnLineQueue">
        SELECT * FROM T_OnLine_Queue WHERE ID &gt; #{id}
    </select>
    <select id="underLineQueueList" resultType="org.jeecg.modules.mdcJc.entity.UnderLineQueue">
        SELECT * FROM T_UnderLine_Queue
    </select>
    <select id="findListUnderLineQueue" resultType="org.jeecg.modules.mdcJc.entity.UnderLineQueue">
        SELECT * FROM T_UnderLine_Queue WHERE ID &gt; #{id}
    </select>
    <select id="findYesterdayData" resultType="org.jeecg.modules.mdcJc.entity.MdcProductDayschedule">
        SELECT
            SUM(planCount) planDate,
            SUM ( completionCount ) completionCount,
            SUM ( qualifiedCount ) qualifiedCount
        FROM
            mdcJc_ProductDayschedule
        WHERE
            planDate = #{date}
    </select>
</mapper>