| | |
| | | .set(PlatformBooks::getEditDate,date) |
| | | .set(PlatformBooks::getEditor,user.getId()) |
| | | .eq(PlatformBooks::getId,id)); |
| | | platformJobMapper.update(null,new UpdateWrapper<PlatformJob>().lambda() |
| | | .set(PlatformJob::getIsdeleted,Constants.ONE) |
| | | .set(PlatformJob::getEditDate,new Date()) |
| | | .set(PlatformJob::getEditor,user.getId()) |
| | | .eq(PlatformJob::getBookId,id) |
| | | .eq(PlatformJob::getIsdeleted,Constants.ZERO)); |
| | | if(model.getJobId()!=null){ |
| | | platformJobMapper.update(null,new UpdateWrapper<PlatformJob>().lambda() |
| | | .set(PlatformJob::getIsdeleted,Constants.ONE) |
| | | .set(PlatformJob::getEditDate,new Date()) |
| | | .set(PlatformJob::getEditor,user.getId()) |
| | | .eq(PlatformJob::getPlatformId,model.getJobId()) |
| | | .eq(PlatformJob::getIsdeleted,Constants.ZERO)); |
| | | } |
| | | String[] params = new String[3]; |
| | | params[0] = user.getRealname(); |
| | | params[1]=DateUtil.getPlusTime2(date); |