2024年7月10日 修复问题
This commit is contained in:
parent
46db47413f
commit
dadb4b1203
|
@ -59,7 +59,7 @@ public class BlStuAnswerServiceImpl extends ServiceImpl<BlStuAnswerMapper, BlStu
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public WordOperator createWordTjfx(String id) throws Exception {
|
public WordOperator createWordTjfx(String id) throws Exception {
|
||||||
return createWordTjfxB(id);
|
return createWordTjfxA(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
public WordOperator createWordTjfxA(String id) {
|
public WordOperator createWordTjfxA(String id) {
|
||||||
|
@ -542,7 +542,7 @@ public class BlStuAnswerServiceImpl extends ServiceImpl<BlStuAnswerMapper, BlStu
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public WordOperator createWordTjfxB(String id) {
|
public WordOperator createWordTjfxTest(String id) {
|
||||||
String templateName = "exp1\\student-tjfx.docx";
|
String templateName = "exp1\\student-tjfx.docx";
|
||||||
try {
|
try {
|
||||||
final WordOperator wo = ExportWord.getWordOperator(templateName);
|
final WordOperator wo = ExportWord.getWordOperator(templateName);
|
||||||
|
@ -1426,7 +1426,7 @@ public class BlStuAnswerServiceImpl extends ServiceImpl<BlStuAnswerMapper, BlStu
|
||||||
//图片i2_16
|
//图片i2_16
|
||||||
public void i2_16(WordOperator wo, Map<String, Object> result, String id) {
|
public void i2_16(WordOperator wo, Map<String, Object> result, String id) {
|
||||||
var list = baseMapper.i2_16(id);
|
var list = baseMapper.i2_16(id);
|
||||||
var imagePath = getStackHistogram(list);
|
var imagePath = getStackHistogram(list, false);
|
||||||
result.put("i2_16", imagePath);
|
result.put("i2_16", imagePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1494,7 +1494,7 @@ public class BlStuAnswerServiceImpl extends ServiceImpl<BlStuAnswerMapper, BlStu
|
||||||
//图片i2_21
|
//图片i2_21
|
||||||
public void i2_21(WordOperator wo, Map<String, Object> result, String id) {
|
public void i2_21(WordOperator wo, Map<String, Object> result, String id) {
|
||||||
var list = baseMapper.i2_21(id);
|
var list = baseMapper.i2_21(id);
|
||||||
var imagePath = getStackHistogram(list);
|
var imagePath = getStackHistogram(list, false);
|
||||||
result.put("i2_21", imagePath);
|
result.put("i2_21", imagePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1937,7 +1937,7 @@ public class BlStuAnswerServiceImpl extends ServiceImpl<BlStuAnswerMapper, BlStu
|
||||||
//图片i4_5
|
//图片i4_5
|
||||||
public void i4_5(WordOperator wo, Map<String, Object> result, String id) {
|
public void i4_5(WordOperator wo, Map<String, Object> result, String id) {
|
||||||
var list = baseMapper.i4_5(id);
|
var list = baseMapper.i4_5(id);
|
||||||
var imagePath = getStackHistogram(list);
|
var imagePath = getStackHistogram(list, false);
|
||||||
result.put("i4_5", imagePath);
|
result.put("i4_5", imagePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue