| | |
| | | .eq(MediaFileEntity::getWorkspaceId, workspaceId) |
| | | .eq(MediaFileEntity::getExamine,1)); |
| | | } |
| | | public List<MediaFileEntity> listPohto(String dkbh) { |
| | | return fileMapper.selectList(new LambdaQueryWrapper<MediaFileEntity>().like(MediaFileEntity::getFileName, "%" + dkbh + "%") |
| | | .eq(MediaFileEntity::getExamine,1)); |
| | | } |
| | | public LotInfo getLotinfo(String dkbh, String workspaceId) { |
| | | return mapper.selectOne(new LambdaQueryWrapper<LotInfo>().eq(LotInfo::getDkbh, dkbh) |
| | | .eq(LotInfo::getWorkspaceId, workspaceId)); |
| | | } |
| | | |
| | | public LotInfo getLotinfo(String dkbh) { |
| | | return mapper.selectOne(new LambdaQueryWrapper<LotInfo>().eq(LotInfo::getDkbh, dkbh)); |
| | | } |
| | | public void patchesPushed(String taskId, String dkbh, String workspaceId) { |
| | | LambdaUpdateWrapper<LotInfo> updateWrapper = new LambdaUpdateWrapper<>(); |
| | |
| | | .eq(LotInfo::getTaskId, taskId); |
| | | mapper.update(null, updateWrapper); |
| | | } |
| | | public void patchesPushed(String taskId, String dkbh) { |
| | | LambdaUpdateWrapper<LotInfo> updateWrapper = new LambdaUpdateWrapper<>(); |
| | | updateWrapper.set(LotInfo::getIsPush, 1) |
| | | .eq(LotInfo::getDkbh, dkbh) |
| | | .eq(LotInfo::getTaskId, taskId); |
| | | mapper.update(null, updateWrapper); |
| | | } |
| | | public LotInfo getLotinfoToDb(String dkbh) { |
| | | return mapper.selectOne(new LambdaQueryWrapper<LotInfo>().eq(LotInfo::getDkbh, dkbh)); |
| | | } |