|
|
@@ -393,8 +393,8 @@ public class TsfPlanningService {
|
|
|
public void savePollCustAnswer(Poll poll) {
|
|
|
poll.setCustNo(TsfSession.getInfo().getCustNo());
|
|
|
// 단수형
|
|
|
+ int ansIndex = planningDao.getPollCustAnswerIndex();
|
|
|
if(poll.getPollQsq_10()!=null && poll.getPollQsq_10()!="") {
|
|
|
- int ansIndex = planningDao.getPollCustAnswerIndex();
|
|
|
String[] pollQsq_10 =poll.getPollQsq_10().split("/");
|
|
|
for (int i = 0; i < pollQsq_10.length; i++) {
|
|
|
String[] temp = pollQsq_10[i].split("-");
|
|
|
@@ -412,7 +412,6 @@ public class TsfPlanningService {
|
|
|
|
|
|
//복수형
|
|
|
if(poll.getPollQsq_20()!=null && poll.getPollQsq_20()!="") {
|
|
|
- int ansIndex = planningDao.getPollCustAnswerIndex();
|
|
|
String[] pollQsq_20 =poll.getPollQsq_20().split("/");
|
|
|
for (int i = 0; i < pollQsq_20.length; i++) {
|
|
|
String[] temp = pollQsq_20[i].split("-");
|
|
|
@@ -431,7 +430,6 @@ public class TsfPlanningService {
|
|
|
|
|
|
//단답형
|
|
|
if(poll.getPollQsq_30()!=null && poll.getPollQsq_30()!="") {
|
|
|
- int ansIndex = planningDao.getPollCustAnswerIndex();
|
|
|
String[] pollQsq_30 =poll.getPollQsq_30().split("/");
|
|
|
for (int i = 0; i < pollQsq_30.length; i++) {
|
|
|
String[] temp = pollQsq_30[i].split("-");
|
|
|
@@ -449,7 +447,6 @@ public class TsfPlanningService {
|
|
|
|
|
|
//서룰형
|
|
|
if(poll.getPollQsq_40()!=null && poll.getPollQsq_40()!="") {
|
|
|
- int ansIndex = planningDao.getPollCustAnswerIndex();
|
|
|
String[] pollQsq_40 =poll.getPollQsq_40().split("/");
|
|
|
for (int i = 0; i < pollQsq_40.length; i++) {
|
|
|
String[] temp = pollQsq_40[i].split("-");
|