Index: ssts-recyclingapplication/src/main/java/com/forgon/disinfectsystem/recyclingapplication/service/InvoicePlanManagerImpl.java =================================================================== diff -u -r14708 -r14736 --- ssts-recyclingapplication/src/main/java/com/forgon/disinfectsystem/recyclingapplication/service/InvoicePlanManagerImpl.java (.../InvoicePlanManagerImpl.java) (revision 14708) +++ ssts-recyclingapplication/src/main/java/com/forgon/disinfectsystem/recyclingapplication/service/InvoicePlanManagerImpl.java (.../InvoicePlanManagerImpl.java) (revision 14736) @@ -282,7 +282,8 @@ } return list; } - public List getWaitingforRecyclingInvoicePlans(String handleDepartCoding,String applicationOrgUnitCoding){ + + public List getWaitingforRecyclingInvoicePlans(String handleDepartCoding,String applicationOrgUnitCoding,String applicationType){ StringBuilder sb = new StringBuilder(); sb.append(String.format(" where (po.recyclingStatus in('%s','%s')) and po.committedStatus=true ", InvoicePlan.RECYCLINGSTATUS_AWAITRECYCLE, InvoicePlan.RECYCLINGSTATUS_PARTRECYCLE)); @@ -299,6 +300,16 @@ sb.append(tmp); ftSbf.append(tmp); } + + if(StringUtils.isNotBlank(applicationType)){ + if(InvoicePlan.TYPE_FOREIGNTOUSSEAPPLIACTION.equals(applicationType)){ + sb.append(" and 1=2 "); + }else{ + ftSbf.append(" and 1=2 "); + sb.append(" and po.type = '" + applicationType + "' "); + } + } + sb.append(String.format(" and ( po.includeRecyclingItems is null or po.includeRecyclingItems =%s) ", InvoicePlan.SIGNED_TRUE)); String orderSql = " order by po.sequence,po.departCoding,po.applicationTime"; Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/awaitForRecycleList.jsp =================================================================== diff -u -r14659 -r14736 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/awaitForRecycleList.jsp (.../awaitForRecycleList.jsp) (revision 14659) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/awaitForRecycleList.jsp (.../awaitForRecycleList.jsp) (revision 14736) @@ -94,6 +94,25 @@