Commit c0233ff8 authored by dahai's avatar dahai

push

parent 34c7f963
...@@ -1474,10 +1474,10 @@ public interface TaskListMapper { ...@@ -1474,10 +1474,10 @@ public interface TaskListMapper {
public String selectCountQuality2(@Param("date")String date); public String selectCountQuality2(@Param("date")String date);
@Select("select sum(asum) asum,sum(bsum) bsum from (select sum(decode(TASK.WORK_GROUP,1,0,valid_count)) asum,sum(decode(TASK.WORK_GROUP,2,0,valid_count)) bsum from TASK left join GROUP_NO on GROUP_NO.TASK_ID = TASK.TASK_ID\n" + @Select("select sum(asum) asum,sum(bsum) bsum from (select sum(decode(TASK.WORK_GROUP,1,0,valid_count)) asum,sum(decode(TASK.WORK_GROUP,2,0,valid_count)) bsum from TASK left join GROUP_NO on GROUP_NO.TASK_ID = TASK.TASK_ID\n" +
"where to_char(PRINT_OUT_DATE,'yyyyMMdd') = to_char(sysdate,'yyyyMMdd')\n" + "where to_char(ISSUED_DATE,'yyyyMMdd') = to_char(sysdate,'yyyyMMdd')\n" +
"UNION all\n" + "UNION all\n" +
"select sum(decode(TASK.WORK_GROUP,1,0,1)) asum,sum(decode(TASK.WORK_GROUP,2,0,1)) bsum from SPECIAL_CARD left join TASK on SPECIAL_CARD.TASK_ID = TASK.TASK_ID\n" + "select sum(decode(TASK.WORK_GROUP,1,0,1)) asum,sum(decode(TASK.WORK_GROUP,2,0,1)) bsum from SPECIAL_CARD left join TASK on SPECIAL_CARD.TASK_ID = TASK.TASK_ID\n" +
"where to_char(PRINT_OUT_DATE,'yyyyMMdd') = to_char(sysdate,'yyyyMMdd'))") "where to_char(ISSUED_DATE,'yyyyMMdd') = to_char(sysdate,'yyyyMMdd'))")
public List<Map<String,Object>> getPrintOutCount(); public List<Map<String,Object>> getPrintOutCount();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment