|
|
@@ -2283,6 +2283,21 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|
2283
|
2283
|
JsonObject signUrlData = signUrlJsonObject.getAsJsonObject("data");
|
|
2284
|
2284
|
String url = signUrlData.get("url").getAsString();
|
|
2285
|
2285
|
sealSignRecordReslt.setSealUrl(url);
|
|
|
2286
|
+ if(StrUtil.isEmpty(SecurityUtils.getUsername())){
|
|
|
2287
|
+ throw new ServiceException("未获取到当前登录用户");
|
|
|
2288
|
+ }
|
|
|
2289
|
+ SysUser sysUser = sysUserMapper.selectUserByUserName(getUsername());
|
|
|
2290
|
+ if(sysUser==null){
|
|
|
2291
|
+ throw new ServiceException("未获取到当前登录用户");
|
|
|
2292
|
+ }
|
|
|
2293
|
+ CaseLogRecord operLog = new CaseLogRecord();
|
|
|
2294
|
+ operLog.setCreateNickName(sysUser.getNickName());
|
|
|
2295
|
+ operLog.setCaseNode(14);
|
|
|
2296
|
+ operLog.setCreateBy(sysUser.getUserName());
|
|
|
2297
|
+ operLog.setCaseAppliId(caseApplication.getId());
|
|
|
2298
|
+ operLog.setCaseNodeName("待用印");
|
|
|
2299
|
+ operLog.setCreateTime(new Date());
|
|
|
2300
|
+ caseLogRecordMapper.insertCaseLogRecord(operLog);
|
|
2286
|
2301
|
}
|
|
2287
|
2302
|
return sealSignRecordReslt;
|
|
2288
|
2303
|
}
|