|
|
@ -246,7 +246,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());
|
|
|
|
String resultWords = crdnCvlcptMainBean.mappingAnswerWords(query.getCrdnId(), query.getCurrentInstitute(), query.getCurrentUserAcnt());
|
|
|
|
dataObject.set("CVLCPT_PRCS_RSLT_CN", resultWords);
|
|
|
|
dataObject.set("CVLCPT_PRCS_RSLT_CN", resultWords);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -628,7 +628,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean updateAnswerTargetProcessStatus(String processType, String[] crdnIDs) {
|
|
|
|
public boolean updateAnswerTargetProcessStatus(String processType, String currentUserInstitute, String currentUserAcnt, String[] crdnIDs) {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> targetDataList = crdnCvlcptMapper.selectAnswerTargetList(crdnIDs);
|
|
|
|
List<DataObject> targetDataList = crdnCvlcptMapper.selectAnswerTargetList(crdnIDs);
|
|
|
|
|
|
|
|
|
|
|
@ -639,7 +639,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"));
|
|
|
|
String answerWords = crdnCvlcptMainBean.mappingAnswerWords(targetDataList.get(i).string("CRDN_ID"), currentUserInstitute, currentUserAcnt);
|
|
|
|
crdnCvlcpt.setCvlcptPrcsRsltCn(answerWords);
|
|
|
|
crdnCvlcpt.setCvlcptPrcsRsltCn(answerWords);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if(processType.equals("answerComplete")){
|
|
|
|
} else if(processType.equals("answerComplete")){
|
|
|
|