| | |
| | | dispatchUnitMapper.updateById(update); |
| | | if(Constants.equalsInteger(param.getWorktypeStatus(),Constants.ONE)){ |
| | | //审核通过,修改状态,产生历史版本 |
| | | newVersionData(model,update); |
| | | newVersionData(dispatchUnitMapper.selectById(param.getId()),update); |
| | | }else{ |
| | | //更新明细数据为审核失败 |
| | | duSolutionMapper.update(null,new UpdateWrapper<DuSolution>().lambda() |
| | |
| | | dispatchUnitMapper.updateById(update); |
| | | if(Constants.equalsInteger(model.getStatus(),Constants.ONE)){ |
| | | //审核通过,修改状态,产生历史版本 |
| | | newVersionData(model,update); |
| | | newVersionData(dispatchUnitMapper.selectById(param.getId()),update); |
| | | }else{ |
| | | //更新明细数据为审核失败 |
| | | duSolutionMapper.update(null,new UpdateWrapper<DuSolution>().lambda() |