|
|
@ -305,26 +305,15 @@ public class StudyFormApplyServiceImpl extends ServiceImpl |
|
|
@Override |
|
|
@Override |
|
|
public void tj(StudyFormApply studyFormApply) { |
|
|
public void tj(StudyFormApply studyFormApply) { |
|
|
//验证签名人密码 todo |
|
|
//验证签名人密码 todo |
|
|
if (studyFormApply.getId() == null || studyFormApply.getId().longValue() < 0) { |
|
|
|
|
|
throw new ServiceException("参数id不正确"); |
|
|
|
|
|
} |
|
|
|
|
|
StudyFormApply studyFormApplyOld = this.getById(studyFormApply.getId()); |
|
|
|
|
|
if (studyFormApplyOld == null) { |
|
|
|
|
|
throw new ServiceException("表单不存在或已删除"); |
|
|
|
|
|
} |
|
|
|
|
|
studyFormApplyOld.setBdzt(StudyFormApplyBdztEnum.ytj.getValue()); |
|
|
|
|
|
studyFormApplyOld.setBdnr(studyFormApply.getBdnr()); |
|
|
|
|
|
studyFormApplyOld.setBdmc(studyFormApply.getBdmc()); |
|
|
|
|
|
studyFormApplyOld.setBdsm(studyFormApply.getBdsm()); |
|
|
|
|
|
studyFormApplyOld.setTjsj(new Date()); |
|
|
|
|
|
this.updateById(studyFormApplyOld); |
|
|
|
|
|
|
|
|
studyFormApply.setBdzt(StudyFormApplyBdztEnum.ytj.getValue()); |
|
|
|
|
|
studyFormApply.setTjsj(new Date()); |
|
|
|
|
|
this.updateById(studyFormApply); |
|
|
//稽查轨迹 |
|
|
//稽查轨迹 |
|
|
Map<String, String> formData = new LinkedHashMap<>(); |
|
|
Map<String, String> formData = new LinkedHashMap<>(); |
|
|
formData.put("备注",studyFormApply.getRemark()); |
|
|
formData.put("备注",studyFormApply.getRemark()); |
|
|
studyFormApplyJcgjService.saveJcgj(studyFormApplyOld.getId(), JcgjlxEnum.lc.getValue(), "填写并提交记录", JcmcysEnum.green.getValue(), JctUtil.formatStr(formData), SecurityUtils.getUserId(), SecurityUtils.getNickName()); |
|
|
|
|
|
|
|
|
studyFormApplyJcgjService.saveJcgj(studyFormApply.getId(), JcgjlxEnum.lc.getValue(), "填写并提交记录", JcmcysEnum.green.getValue(), JctUtil.formatStr(formData), SecurityUtils.getUserId(), SecurityUtils.getNickName()); |
|
|
//签名信息 |
|
|
//签名信息 |
|
|
studyFormApplyQmxxService.saveQmxx(studyFormApplyOld.getId(),"填写并提交记录",SecurityUtils.getUserId(),SecurityUtils.getNickName(),studyFormApply.getRemark()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
studyFormApplyQmxxService.saveQmxx(studyFormApply.getId(),"填写并提交记录",SecurityUtils.getUserId(),SecurityUtils.getNickName(),studyFormApply.getRemark()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|