|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package com.gaotao.modules.projectinfo.service.impl; |
|
|
|
|
|
|
|
@ -51,8 +51,8 @@ public class ProjectCaseServiceImpl extends ServiceImpl<ProjectCaseDao, ProjectC |
|
|
|
@Transactional |
|
|
|
public void saveCase(MultipartFile[] file,ProjectCase projectCase) { |
|
|
|
projectCase.setEnteredDate(new Date()); |
|
|
|
projectCase.setStatus(0); |
|
|
|
projectCase.setInnerStatus(0); |
|
|
|
projectCase.setInnerStatus(projectCase.getStatus()); |
|
|
|
projectCase.setXjshow(projectCase.getStatus()==10?"N":"Y"); |
|
|
|
this.save(projectCase); |
|
|
|
|
|
|
|
for (MultipartFile f : file) { |
|
|
|
@ -98,7 +98,8 @@ public class ProjectCaseServiceImpl extends ServiceImpl<ProjectCaseDao, ProjectC |
|
|
|
@Transactional |
|
|
|
public void update(ProjectCase projectCase) { |
|
|
|
projectCase.setLatestUpdatedDate(new Date()); |
|
|
|
projectCase.setXjshow(projectCase.getStatus()>10?"Y":"N"); |
|
|
|
this.updateById(projectCase); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |