|
|
@ -184,6 +184,10 @@ public class StudyFormPlanServiceImpl extends ServiceImpl |
|
|
@Override |
|
|
@Override |
|
|
public void tj(StudyFormPlan studyFormPlan) { |
|
|
public void tj(StudyFormPlan studyFormPlan) { |
|
|
//验证签名人密码 todo |
|
|
//验证签名人密码 todo |
|
|
|
|
|
if(studyFormPlan.getId()==null){ |
|
|
|
|
|
studyFormPlan.setUserId(SecurityUtils.getUserId()); |
|
|
|
|
|
studyFormPlan.setUserMc(SecurityUtils.getNickName()); |
|
|
|
|
|
} |
|
|
studyFormPlan.setBdzt(StudyFormPlanBdztEnum.ytj.getValue()); |
|
|
studyFormPlan.setBdzt(StudyFormPlanBdztEnum.ytj.getValue()); |
|
|
studyFormPlan.setTjsj(new Date()); |
|
|
studyFormPlan.setTjsj(new Date()); |
|
|
this.saveOrUpdate(studyFormPlan); |
|
|
this.saveOrUpdate(studyFormPlan); |
|
|
@ -274,6 +278,8 @@ public class StudyFormPlanServiceImpl extends ServiceImpl |
|
|
if (!studyFormPlanOld.getBdzt().equals(StudyFormPlanBdztEnum.ywcfh.getValue())) { |
|
|
if (!studyFormPlanOld.getBdzt().equals(StudyFormPlanBdztEnum.ywcfh.getValue())) { |
|
|
throw new ServiceException("表单不是已完成(经复核)状态,不能审阅"); |
|
|
throw new ServiceException("表单不是已完成(经复核)状态,不能审阅"); |
|
|
} |
|
|
} |
|
|
|
|
|
studyFormPlanOld.setBdnr(studyFormPlan.getBdnr()); |
|
|
|
|
|
this.updateById(studyFormPlanOld); |
|
|
//稽查轨迹 |
|
|
//稽查轨迹 |
|
|
Map<String, String> formData = new LinkedHashMap<>(); |
|
|
Map<String, String> formData = new LinkedHashMap<>(); |
|
|
formData.put("备注",studyFormPlan.getRemark()); |
|
|
formData.put("备注",studyFormPlan.getRemark()); |
|
|
|