|
|
@ -333,7 +333,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean sendBackCivilComplaintInfo(String crdnId) {
|
|
|
|
public String sendBackCivilComplaintInfo(String crdnId) {
|
|
|
|
boolean saved = false;
|
|
|
|
boolean saved = false;
|
|
|
|
|
|
|
|
|
|
|
|
DataObject crdnInfo = crdnInfoMapper.selectCrdnInfo(crdnId);
|
|
|
|
DataObject crdnInfo = crdnInfoMapper.selectCrdnInfo(crdnId);
|
|
|
@ -365,11 +365,11 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return saved;
|
|
|
|
return saved ? "[S]" : "[F]";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean updateCvlcptProcessSection(Map<String, Object> nonQueryRequest, CrdnCvlcpt crdnCvlcpt, Crdn crdn) {
|
|
|
|
public String updateCvlcptProcessSection(Map<String, Object> nonQueryRequest, CrdnCvlcpt crdnCvlcpt, Crdn crdn) {
|
|
|
|
boolean saved = false;
|
|
|
|
boolean saved = false;
|
|
|
|
|
|
|
|
|
|
|
|
DataObject crdnInfo = crdnInfoMapper.selectCrdnInfo(crdn.getCrdnId());
|
|
|
|
DataObject crdnInfo = crdnInfoMapper.selectCrdnInfo(crdn.getCrdnId());
|
|
|
@ -449,28 +449,28 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return saved;
|
|
|
|
return saved ? "[S]" : "[F]";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean copyCvlcptCrdnInfo(String crdnId) {
|
|
|
|
public String copyCvlcptCrdnInfo(String crdnId) {
|
|
|
|
return crdnCvlcptSubBean.copyCvlcptCrdnInfo(crdnId);
|
|
|
|
return crdnCvlcptSubBean.copyCvlcptCrdnInfo(crdnId) ? "[S]" : "[F]";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean updateAnswerContent(CrdnCvlcpt crdnCvlcpt) {
|
|
|
|
public String updateAnswerContent(CrdnCvlcpt crdnCvlcpt) {
|
|
|
|
|
|
|
|
|
|
|
|
int effected = crdnCvlcptMapper.updateAnswerContent(crdnCvlcpt);
|
|
|
|
int effected = crdnCvlcptMapper.updateAnswerContent(crdnCvlcpt);
|
|
|
|
if(effected != 1) {
|
|
|
|
if(effected != 1) {
|
|
|
|
throw new RuntimeException("답변 내용 저장에 실패하였습니다.");
|
|
|
|
throw new RuntimeException("답변 내용 저장에 실패하였습니다.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
return "[S]";
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean updateAnswerTargetProcessStatus(String processType, String currentUserInstitute, String currentUserAcnt, String[] crdnIds) {
|
|
|
|
public String updateAnswerTargetProcessStatus(String processType, String currentUserInstitute, String currentUserAcnt, String[] crdnIds) {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> targetDataList = crdnCvlcptMapper.selectAnswerTargetList(crdnIds);
|
|
|
|
List<DataObject> targetDataList = crdnCvlcptMapper.selectAnswerTargetList(crdnIds);
|
|
|
|
|
|
|
|
|
|
|
@ -518,7 +518,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
return "[S]";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
@ -539,7 +539,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean saveAnswerWordsInfo(String saveData, CrdnCvlcpt crdnCvlcpt) {
|
|
|
|
public String saveAnswerWordsInfo(String saveData, CrdnCvlcpt crdnCvlcpt) {
|
|
|
|
boolean saved = false;
|
|
|
|
boolean saved = false;
|
|
|
|
if(saveData.equals("basic")) {
|
|
|
|
if(saveData.equals("basic")) {
|
|
|
|
saved = crdnCvlcptMainBean.saveAnswerBasicWordsInfo(crdnCvlcpt);
|
|
|
|
saved = crdnCvlcptMainBean.saveAnswerBasicWordsInfo(crdnCvlcpt);
|
|
|
@ -547,14 +547,14 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
if(saveData.equals("body")) {
|
|
|
|
if(saveData.equals("body")) {
|
|
|
|
saved = crdnCvlcptMainBean.saveAnswerBodyWordsInfo(crdnCvlcpt);
|
|
|
|
saved = crdnCvlcptMainBean.saveAnswerBodyWordsInfo(crdnCvlcpt);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return saved;
|
|
|
|
return saved ? "[S]" : "[F]";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean removeCvlcptAnswerWordsInfo(String ansWordsId) {
|
|
|
|
public String removeCvlcptAnswerWordsInfo(String ansWordsId) {
|
|
|
|
CrdnCvlcpt crdnCvlcpt = new CrdnCvlcpt();
|
|
|
|
CrdnCvlcpt crdnCvlcpt = new CrdnCvlcpt();
|
|
|
|
crdnCvlcpt.setAnsWordsId(ansWordsId);
|
|
|
|
crdnCvlcpt.setAnsWordsId(ansWordsId);
|
|
|
|
return answerWordsMapper.deleteCvlcptAnswerWordsInfo(crdnCvlcpt) == 1 ? true : false;
|
|
|
|
return answerWordsMapper.deleteCvlcptAnswerWordsInfo(crdnCvlcpt) == 1 ? "[S]" : "[F]";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
@ -563,8 +563,8 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean saveWarningWordsInfo(CrdnCvlcpt crdnCvlcpt) {
|
|
|
|
public String saveWarningWordsInfo(CrdnCvlcpt crdnCvlcpt) {
|
|
|
|
return crdnCvlcptSubBean.saveWarningWordsInfo(crdnCvlcpt);
|
|
|
|
return crdnCvlcptSubBean.saveWarningWordsInfo(crdnCvlcpt) ? "[S]" : "[F]";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
@ -573,17 +573,17 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean createDmndDataInfo(CrdnCvlcpt crdnCvlcpt) {
|
|
|
|
public String createDmndDataInfo(CrdnCvlcpt crdnCvlcpt) {
|
|
|
|
return crdnCvlcptMainBean.createDmndDataInfo(crdnCvlcpt);
|
|
|
|
return crdnCvlcptMainBean.createDmndDataInfo(crdnCvlcpt) ? "[S]" : "[F]";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean removeDmndDataInfo(String... indivIds) {
|
|
|
|
public String removeDmndDataInfo(String... indivIds) {
|
|
|
|
return crdnCvlcptMainBean.removeDmndDataInfo(indivIds);
|
|
|
|
return crdnCvlcptMainBean.removeDmndDataInfo(indivIds) ? "[S]" : "[F]";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean executeDisabledTagInfoInquire(String... crdnIds) {
|
|
|
|
public String executeDisabledTagInfoInquire(String... crdnIds) {
|
|
|
|
int i=0;
|
|
|
|
int i=0;
|
|
|
|
|
|
|
|
|
|
|
|
HashMap<String, Boolean> vehicleResultMap = new HashMap<String, Boolean>();
|
|
|
|
HashMap<String, Boolean> vehicleResultMap = new HashMap<String, Boolean>();
|
|
|
@ -662,7 +662,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return i > 0 ? true : false;
|
|
|
|
return i > 0 ? "[S]" : "[F]";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|