|  |  |  | 
|---|
|  |  |  | dispatchUnitMapper.updateById(update); | 
|---|
|  |  |  | if(Constants.equalsInteger(param.getWorktypeStatus(),Constants.ONE)){ | 
|---|
|  |  |  | //审核通过,修改状态,产生历史版本 | 
|---|
|  |  |  | newVersionData(dispatchUnitMapper.selectById(param.getId()),update,false); | 
|---|
|  |  |  | newVersionData(model,update,false); | 
|---|
|  |  |  | //存储操作历史 | 
|---|
|  |  |  | this.saveDuLog(update,Constants.DispatchUnitLogType.WORK_TYPE_AUDIT_PASS,update.getCheckInfo()); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | }else{ | 
|---|
|  |  |  | //更新明细数据为审核失败 | 
|---|
|  |  |  | duSolutionMapper.update(null,new UpdateWrapper<DuSolution>().lambda() | 
|---|
|  |  |  | 
|---|
|  |  |  | duWorktypeMapper.insert(duWorktype); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //存储待办信息 | 
|---|
|  |  |  | Constants.NoticeObjectType noticeObjectType = Constants.NoticeObjectType.DISPATCH_UNIT; | 
|---|