|
|
@ -139,7 +139,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
|
|
|
|
|
|
|
|
//저장된 답변이 없으면
|
|
|
|
//저장된 답변이 없으면
|
|
|
|
if(ifEmpty(dataObject.string("CVLCPT_PRCS_RSLT_CN"), () -> "").equals("")) {
|
|
|
|
if(ifEmpty(dataObject.string("CVLCPT_PRCS_RSLT_CN"), () -> "").equals("")) {
|
|
|
|
String resultWords = crdnCvlcptMainBean.mappingAnswerWords(query.getCrdnId(), query.getCurrentInstitute(), query.getCurrentUserAcnt());
|
|
|
|
String resultWords = crdnCvlcptMainBean.mappingAnswerWords(query.getCrdnId(), query.getSggCd(), query.getCurrentUserAcnt());
|
|
|
|
dataObject.set("CVLCPT_PRCS_RSLT_CN", resultWords);
|
|
|
|
dataObject.set("CVLCPT_PRCS_RSLT_CN", resultWords);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -330,7 +330,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public String updateAnswerTargetProcessStatus(String processType, String currentUserInstitute, String currentUserAcnt, String[] crdnIds) {
|
|
|
|
public String updateAnswerTargetProcessStatus(String processType, String currentSggCd, String currentUserAcnt, String[] crdnIds) {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> targetDataList = crdnCvlcptMapper.selectAnswerTargetList(crdnIds);
|
|
|
|
List<DataObject> targetDataList = crdnCvlcptMapper.selectAnswerTargetList(crdnIds);
|
|
|
|
|
|
|
|
|
|
|
@ -356,7 +356,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
if(processType.equals("answerExecute")) {
|
|
|
|
if(processType.equals("answerExecute")) {
|
|
|
|
crdnCvlcpt.setCvlcptTrsmCd("04");
|
|
|
|
crdnCvlcpt.setCvlcptTrsmCd("04");
|
|
|
|
if(ifEmpty(targetDataList.get(i).string("CVLCPT_PRCS_RSLT_CN"), () -> "").equals("")) {
|
|
|
|
if(ifEmpty(targetDataList.get(i).string("CVLCPT_PRCS_RSLT_CN"), () -> "").equals("")) {
|
|
|
|
String answerWords = crdnCvlcptMainBean.mappingAnswerWords(targetDataList.get(i).string("CRDN_ID"), currentUserInstitute, currentUserAcnt);
|
|
|
|
String answerWords = crdnCvlcptMainBean.mappingAnswerWords(targetDataList.get(i).string("CRDN_ID"), currentSggCd, currentUserAcnt);
|
|
|
|
crdnCvlcpt.setCvlcptPrcsRsltCn(answerWords);
|
|
|
|
crdnCvlcpt.setCvlcptPrcsRsltCn(answerWords);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if(processType.equals("answerComplete")){
|
|
|
|
} else if(processType.equals("answerComplete")){
|
|
|
|