Lius
2024-08-22 f59452ac384766a21500857e89928a8abc0e75b5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.jeecg.modules.mdcJc.mapper.ClassMonthlyscheduleMapper">
    <select id="findListClass" resultType="org.jeecg.modules.mdcJc.entity.ClassMonthlyschedule">
        SELECT  * FROM T_ClassMonthlyschedule WHERE NY = #{ dateTime }
    </select>
 
 
    <select id="findListProductMonth" resultType="org.jeecg.modules.mdcJc.entity.ProductMonthlyschedule">
        SELECT  * FROM T_ProductMonthlyschedule WHERE NY = #{ dateTime }
    </select>
 
    <select id="findListQualityMonth" resultType="org.jeecg.modules.mdcJc.entity.QualityMonth">
        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>