| | |
| | | measuringInstrumentLedgerRecord.setEntryDate(req.getEntryDate()); |
| | | measuringInstrumentLedgerRecord.setValid(req.getValid()); |
| | | measuringInstrumentLedgerRecord.setUserId(req.getUserId()); |
| | | measuringInstrumentLedgerRecord.setUserName(sysUser.getUserName()); |
| | | measuringInstrumentLedgerRecord.setUserName(sysUser.getNickName()); |
| | | measuringInstrumentLedgerRecordMapper.insert(measuringInstrumentLedgerRecord); |
| | | // 台账绑定一次 |
| | | // if(!CollectionUtils.isEmpty(req.getTempFileIds())){ |
| | |
| | | if (sysUser == null) { |
| | | return false; |
| | | } |
| | | measuringInstrumentLedger.setUserName(sysUser.getUserName()); |
| | | measuringInstrumentLedger.setUserName(sysUser.getNickName()); |
| | | measuringInstrumentLedgerMapper.insert(measuringInstrumentLedger); |
| | | if(!CollectionUtils.isEmpty(measuringInstrumentLedger.getTempFileIds())){ |
| | | migrateTempFilesToFormal(measuringInstrumentLedger.getId(), measuringInstrumentLedger.getTempFileIds(), FileNameType.MEASURING.getValue()); |