Commit 835c980b by 王军业

[工程验收删除问题]

1 parent 6c24982d
...@@ -150,12 +150,14 @@ public class ProjectAcceptancServiceImpl implements ProjectAcceptancService { ...@@ -150,12 +150,14 @@ public class ProjectAcceptancServiceImpl implements ProjectAcceptancService {
Boolean isdelete = contractService.isDelete(s); Boolean isdelete = contractService.isDelete(s);
if (isdelete != null && !isdelete) { if (isdelete != null && !isdelete) {
List<Integer> list=projectAcceptancVo.getAcceptanc_unids(); List<Integer> list=projectAcceptancVo.getAcceptanc_unids();
if(list != null) {
for(int n:list) { for(int n:list) {
projectAcceptancMapper.deleteProjectAcceptanc(n); projectAcceptancMapper.deleteProjectAcceptanc(n);
appendix=new Appendix(); appendix=new Appendix();
appendix.setBusiness_unid(String.valueOf(n)); appendix.setBusiness_unid(String.valueOf(n));
appendixService.deleteAppendix(appendix); appendixService.deleteAppendix(appendix);
} }
}
return successCode; return successCode;
}else { }else {
failCode.setEcode("100"); failCode.setEcode("100");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!