|
@@ -207,10 +207,10 @@ public class DocTemplateController extends BaseController {
|
|
|
if (Constants.WORD_EXTENSION.contains(vo.getSuffix())) {
|
|
|
docTemplate.setTmplType("word");
|
|
|
}
|
|
|
- if (Constants.WORD_EXTENSION.contains(vo.getSuffix())) {
|
|
|
+ if (Constants.EXCEL_EXTENSION.contains(vo.getSuffix())) {
|
|
|
docTemplate.setTmplType("excel");
|
|
|
}
|
|
|
- if (Constants.WORD_EXTENSION.contains(vo.getSuffix())) {
|
|
|
+ if (Constants.PPT_EXTENSION.contains(vo.getSuffix())) {
|
|
|
docTemplate.setTmplType("ppt");
|
|
|
}
|
|
|
docTemplate.setFileId(vo.getFileId());
|