|
|
@@ -319,8 +319,10 @@ public class ProjectStaffRecordServiceImpl implements ProjectStaffRecordService
|
|
|
if (use.getProcessStatus()!=1){
|
|
|
AjaxResult.error("项目流程无需审核!");
|
|
|
}
|
|
|
- sysUserMapper.userAddDuration(use.getAid(),use.getDuration());
|
|
|
- projectTaskMapper.projectAddDuration(use.getPid(),use.getDuration());
|
|
|
+ if(in.getProcessStatus()==2){
|
|
|
+ sysUserMapper.userAddDuration(use.getAid(),use.getDuration());
|
|
|
+ projectTaskMapper.projectAddDuration(use.getPid(),use.getDuration());
|
|
|
+ }
|
|
|
newP.setExamineName(username);
|
|
|
newP.setExamineId(SecurityUtils.getUserId());
|
|
|
newP.setExamineTime(new Date());
|