|
|
|
@ -308,7 +308,13 @@ public class StuConceptBlockServiceImpl implements StuConceptBlockService {
|
|
|
|
|
//第一次上传
|
|
|
|
|
String upload = fileUtil.upload(file);
|
|
|
|
|
StuPracticalTrainingReport report = new StuPracticalTrainingReport();
|
|
|
|
|
report.setId((int) IdUtil.getSnowflakeNextId());
|
|
|
|
|
|
|
|
|
|
int uuid = UUID.randomUUID().hashCode();
|
|
|
|
|
if (uuid < 0) {
|
|
|
|
|
uuid = -uuid;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
report.setId(uuid);
|
|
|
|
|
report.setUrl(upload);
|
|
|
|
|
report.setAscription(stuBlockProductWithBLOBs.getCount());
|
|
|
|
|
report.setUploadTime(new Date());
|
|
|
|
@ -368,7 +374,6 @@ public class StuConceptBlockServiceImpl implements StuConceptBlockService {
|
|
|
|
|
arrayList.retainAll(stringList);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int size = arrayList.size();
|
|
|
|
|
BigDecimal bigDecimalSize = BigDecimal.valueOf(size);
|
|
|
|
|
BigDecimal bigDecimalValue = BigDecimal.valueOf(6);
|
|
|
|
|