| | |
| | | issuedPut.setDirection(basDevpPositionEnd.getRgvSign()==1); |
| | | |
| | | try{ |
| | | if (taskWrk.getIoType()==2){ |
| | | if (taskWrk.getIoType()==2 && basDevpPositionEnd.getRgvSign()==1){ |
| | | Date now = new Date(); |
| | | taskWrk.setStatus(TaskStatusType.OVER.id); |
| | | taskWrk.setModiTime(now);//更新时间 |
| | |
| | | select * from "SOURCE"."wcs_task_wrk" |
| | | where 1=1 |
| | | and (("WRK_STS"=14 and "STATUS"=5) or "STATUS"=7 or "STATUS"=4 |
| | | or ("WRK_STS"=4 and "STATUS"=5) or ("WRK_STS"=14 and "STATUS"=9)) |
| | | or ("WRK_STS"=4 and "STATUS"=5)) |
| | | order by "IO_PRI" desc,"CREATE_TIME","WRK_NO" ASC |
| | | </select> |
| | | |