|  |  | 
 |  |  |                 throw new CoolException("四向库任务未找到"); | 
 |  |  |             } | 
 |  |  |             if (wrkMast.getIoType() == 1 || wrkMast.getIoType() == 10 || wrkMast.getIoType() == 11 || wrkMast.getIoType() == 53 || wrkMast.getIoType() == 54 || wrkMast.getIoType() == 57) { | 
 |  |  |                 if (!Cools.isEmpty(param.getMsgType()) && param.getMsgType().equalsIgnoreCase("task_complete")) { | 
 |  |  |                 wrkMast.setWrkSts(4L); | 
 |  |  |                 } | 
 |  |  |             } else { | 
 |  |  |                 if (!Cools.isEmpty(param.getMsgType()) && param.getMsgType().equalsIgnoreCase("task_complete")) { | 
 |  |  |                 wrkMast.setWrkSts(14L); | 
 |  |  |             } | 
 |  |  |             } | 
 |  |  |             wrkMast.setModiTime(new Date()); | 
 |  |  |             if (!wrkMastService.updateById(wrkMast)) { | 
 |  |  |                 return R.error("更新失败"); |