Commit a9960084 authored by dahai's avatar dahai

push

parent d13a1bca
...@@ -1473,7 +1473,7 @@ public interface TaskListMapper { ...@@ -1473,7 +1473,7 @@ public interface TaskListMapper {
"WHERE TO_CHAR(TASK.QUALITY_TEST_DATE,'yyyy-MM-dd')=#{date}") "WHERE TO_CHAR(TASK.QUALITY_TEST_DATE,'yyyy-MM-dd')=#{date}")
public String selectCountQuality2(@Param("date")String date); public String selectCountQuality2(@Param("date")String date);
@Select("select sum(asum),sum(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(PRINT_OUT_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" +
......
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