bug修复

This commit is contained in:
18792927508
2024-05-17 15:55:08 +08:00
parent 7e2c288beb
commit e9c7346843
5 changed files with 19 additions and 8 deletions
@@ -2283,6 +2283,21 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
JsonObject signUrlData = signUrlJsonObject.getAsJsonObject("data");
String url = signUrlData.get("url").getAsString();
sealSignRecordReslt.setSealUrl(url);
if(StrUtil.isEmpty(SecurityUtils.getUsername())){
throw new ServiceException("未获取到当前登录用户");
}
SysUser sysUser = sysUserMapper.selectUserByUserName(getUsername());
if(sysUser==null){
throw new ServiceException("未获取到当前登录用户");
}
CaseLogRecord operLog = new CaseLogRecord();
operLog.setCreateNickName(sysUser.getNickName());
operLog.setCaseNode(14);
operLog.setCreateBy(sysUser.getUserName());
operLog.setCaseAppliId(caseApplication.getId());
operLog.setCaseNodeName("待用印");
operLog.setCreateTime(new Date());
caseLogRecordMapper.insertCaseLogRecord(operLog);
}
return sealSignRecordReslt;
}
@@ -106,13 +106,8 @@ public class MsSignSealServiceImpl implements MsSignSealService {
} else if (StringUtils.isNotEmpty(accountMobile) && accountMobile.equals(orgnNamePsnAcc)) {
// 用印
sealSignRecordMapper.updataSealSignRecord(sealSignRecordsel);
CaseLogRecord operLog = new CaseLogRecord();
operLog.setCreateNickName(orgnNamePsnName);
operLog.setCaseNode(14);
operLog.setCaseAppliId(caseAppliId);
operLog.setCreateTime(dateOperate);
caseLogRecordMapper.insertCaseLogRecord(operLog);
CaseApplication application = new CaseApplication();
application.setId(caseAppliId);
// 案件状态为待送达
@@ -1412,7 +1412,7 @@
AND t1.lock_status = #{caseApplication.lockStatus}
</if>
<if test="caseApplication.caseNum != null and caseApplication.caseNum != ''">
AND t1.case_num = #{caseApplication.caseNum}
AND t1.case_num like concat('%',#{caseApplication.caseNum},'%')
</if>
<if test="caseApplication.batchNumber != null">
AND t1.batch_number = #{caseApplication.batchNumber}