|
@@ -145,8 +145,7 @@ public class BusinessProductionServiceImpl implements IBusinessProductionService
|
|
|
String baseDir = dfsConfig.getPath()+dfsConfig.getCode();
|
|
|
String dateIndexFileName = FileUploadUtils.createDateIndexFileName(reportNo + PNG);
|
|
|
File absoluteFile = FileUploadUtils.getAbsoluteFile(baseDir, dateIndexFileName);
|
|
|
- String flog = production.substring(0, 1);
|
|
|
- QRCodeUtil.write(reportNo+flog,200,absoluteFile);
|
|
|
+ QRCodeUtil.write(reportNo,200,absoluteFile);
|
|
|
return dfsConfig.getDomain() + dfsConfig.getCode() + dateIndexFileName;
|
|
|
} catch (IOException e) {
|
|
|
throw new RuntimeException(e);
|
|
@@ -204,30 +203,29 @@ public class BusinessProductionServiceImpl implements IBusinessProductionService
|
|
|
if (STATEMENT_IN.name().equals(code)){
|
|
|
production.setProduction(STATEMENT.name());
|
|
|
taskRecord.setTaskData(production);
|
|
|
- personalProductionService.repertoryIn(taskRecord);
|
|
|
+ doWareHouseRet = personalProductionService.repertoryIn(taskRecord);
|
|
|
}else if (STATEMENT_OUT.name().equals(code)){
|
|
|
production.setProduction(STATEMENT.name());
|
|
|
taskRecord.setTaskData(production);
|
|
|
- personalProductionService.repertoryOut(taskRecord);
|
|
|
+ doWareHouseRet = personalProductionService.repertoryOut(taskRecord);
|
|
|
}else if (REPORT_IN.name().equals(code)){
|
|
|
production.setProduction(REPORT.name());
|
|
|
taskRecord.setTaskData(production);
|
|
|
- personalProductionService.repertoryIn(taskRecord);
|
|
|
+ doWareHouseRet = personalProductionService.repertoryIn(taskRecord);
|
|
|
}else if (REPORT_OUT.name().equals(code)){
|
|
|
production.setProduction(REPORT.name());
|
|
|
taskRecord.setTaskData(production);
|
|
|
- personalProductionService.repertoryOut(taskRecord);
|
|
|
+ doWareHouseRet = personalProductionService.repertoryOut(taskRecord);
|
|
|
}else if (LETTER_IN.name().equals(code)){
|
|
|
production.setProduction(LETTER.name());
|
|
|
taskRecord.setTaskData(production);
|
|
|
- personalProductionService.repertoryIn(taskRecord);
|
|
|
+ doWareHouseRet = personalProductionService.repertoryIn(taskRecord);
|
|
|
}else if (LETTER_OUT.name().equals(code)){
|
|
|
production.setProduction(LETTER.name());
|
|
|
taskRecord.setTaskData(production);
|
|
|
- personalProductionService.repertoryOut(taskRecord);
|
|
|
- }else{
|
|
|
- break;
|
|
|
+ doWareHouseRet = personalProductionService.repertoryOut(taskRecord);
|
|
|
}
|
|
|
+ break;
|
|
|
case MAJOR_BUSINESS:
|
|
|
TaskRecordDTO<WareHouseDTO> taskRecordDTO = new TaskRecordDTO<>();
|
|
|
taskRecordDTO.setRecordId(recordId);
|