Prechádzať zdrojové kódy

多选题如果有输入项数据导出对齐

keyuan 4 rokov pred
rodič
commit
11c808e853

+ 3 - 1
src/main/java/com/key/dwsurvey/service/impl/SurveyAnswerManagerImpl.java

@@ -354,7 +354,9 @@ public class SurveyAnswerManagerImpl extends
 					answerOptionName = answerOptionName.replace(" "," ");
 					exportUtil.setCell(cellIndex++, answerOptionName);
 
-					if(isNote) exportUtil.setCell(cellIndex++, answerOtherText);
+//					if(isNote) exportUtil.setCell(cellIndex++, answerOtherText);
+					Integer isNote1 = quCheckbox.getIsNote();
+					if(isNote1!=null && isNote1==1) exportUtil.setCell(cellIndex++, answerOtherText);
 				}
 			} else if (quType == QuType.FILLBLANK) {// 填空题
 				AnFillblank anFillblank=question.getAnFillblank();