Commit 8feff26c authored by 侯彦文's avatar 侯彦文

新建进度计划

parent eb669951
...@@ -192,7 +192,7 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V ...@@ -192,7 +192,7 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
case "新增": case "新增":
//先校验 //先校验
stringBuffer = this.checkPlan(excelVO, i, stringBuffer, projectId); stringBuffer = this.checkPlan(excelVO, i, stringBuffer, projectId);
stringBuffer = this.checkFileNumber(excelVO, i, stringBuffer); /*stringBuffer = this.checkFileNumber(excelVO, i, stringBuffer);*/
addPlans.add(excelVO); addPlans.add(excelVO);
break; break;
case "更改": case "更改":
...@@ -327,8 +327,8 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V ...@@ -327,8 +327,8 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
return ""; return "";
} else { } else {
for (DictDataVO dictDataVO : dictDatasByDictCode) { for (DictDataVO dictDataVO : dictDatasByDictCode) {
if (dictKey.equals(dictDataVO.getDictKey())) { if (dictKey.equals(dictDataVO.getDictValue())) {
return dictDataVO.getDictValue(); return dictDataVO.getDictKey();
} }
} }
return ""; return "";
...@@ -397,7 +397,7 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V ...@@ -397,7 +397,7 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
* @param stringBuffer * @param stringBuffer
* @return * @return
*/ */
private StringBuffer checkFileNumber(PlanExcelVO excelVO, int i, StringBuffer stringBuffer) { /* private StringBuffer checkFileNumber(PlanExcelVO excelVO, int i, StringBuffer stringBuffer) {
//fileNumber可能会已存在,校验编号重复问题 //fileNumber可能会已存在,校验编号重复问题
DxDocumentVO searchDocByNumber = this.searchDocByNumber(excelVO.getFileNumber()); DxDocumentVO searchDocByNumber = this.searchDocByNumber(excelVO.getFileNumber());
if (!ObjectUtils.isEmpty(searchDocByNumber)) { if (!ObjectUtils.isEmpty(searchDocByNumber)) {
...@@ -405,7 +405,7 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V ...@@ -405,7 +405,7 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
} }
return stringBuffer; return stringBuffer;
} }*/
/** /**
* 通过number查询文档 * 通过number查询文档
...@@ -553,7 +553,8 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V ...@@ -553,7 +553,8 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
extPlanVO.setNumber(planExcelVO.getNumber()); extPlanVO.setNumber(planExcelVO.getNumber());
extPlanVO.setOperator(operatorType); extPlanVO.setOperator(operatorType);
// 密级 // 密级
extPlanVO.setSecretCode(planExcelVO.getSecretCode()); String secretCodeKey = this.searchDictDataByDictCode(Constants.SECRET_CODE, planExcelVO.getSecretCode());
extPlanVO.setSecretCode(secretCodeKey);
// 反馈类型 // 反馈类型
String feedbackType = extPlanVO.getFeedbackType(); String feedbackType = extPlanVO.getFeedbackType();
switch (feedbackType) { switch (feedbackType) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment