|
@@ -249,6 +249,7 @@ public class MusicSheetAuthRecordServiceImpl extends ServiceImpl<MusicSheetAuthR
|
|
|
musicSheetAuthRecord.setAuditState(AuthStatusEnum.DOING);
|
|
|
musicSheetAuthRecord.setMusicSheetId(musicSheet.getId());
|
|
|
musicSheetAuthRecord.setMusicSheetJson(JSON.toJSONString(addMusicSheet));
|
|
|
+ musicSheetAuthRecord.setId(IdWorker.getId());
|
|
|
return baseMapper.insert(musicSheetAuthRecord);
|
|
|
}
|
|
|
|
|
@@ -294,7 +295,7 @@ public class MusicSheetAuthRecordServiceImpl extends ServiceImpl<MusicSheetAuthR
|
|
|
musicSheetAuthRecord.setBatchNo(record.getBatchNo());
|
|
|
musicSheetAuthRecord.setAuditState(AuthStatusEnum.DOING);
|
|
|
musicSheetAuthRecord.setMusicSheetJson(JSON.toJSONString(addMusicSheet));
|
|
|
- baseMapper.insert(musicSheetAuthRecord);
|
|
|
+ baseMapper.updateById(musicSheetAuthRecord);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -316,7 +317,7 @@ public class MusicSheetAuthRecordServiceImpl extends ServiceImpl<MusicSheetAuthR
|
|
|
|
|
|
@Override
|
|
|
public List<MusicSheetWrapper.MusicSheetDetailVo> auditDetailList(String batchNo) {
|
|
|
- List<MusicSheetWrapper.MusicSheetDetailVo> sheetDetailVos = musicSheetService.getDao().auditDetailList(null, batchNo);
|
|
|
+ List<MusicSheetWrapper.MusicSheetDetailVo> sheetDetailVos = musicSheetService.getDao().auditDetailList(batchNo);
|
|
|
if (CollectionUtils.isNotEmpty(sheetDetailVos)) {
|
|
|
String userName = sheetDetailVos.get(0).getUserName();
|
|
|
String realName = sheetDetailVos.get(0).getRealName();
|