优化用印功能

This commit is contained in:
qitz
2024-01-19 17:25:40 +08:00
parent a3a3fa17f1
commit 5c434e576f
@@ -1797,7 +1797,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
//发起签署 //发起签署
sealSignRecord.setFilename(fileName); sealSignRecord.setFilename(fileName);
String arbitratorId = caseApplication2.getArbitratorId(); String arbitratorId = caseApplication2.getArbitratorId();
if (arbitratorId != null) { if (StringUtils.isNotEmpty(arbitratorId)) {
SysUser sysUser = sysUserMapper.selectUserById(Long.valueOf(arbitratorId)); SysUser sysUser = sysUserMapper.selectUserById(Long.valueOf(arbitratorId));
if (sysUser == null) { if (sysUser == null) {
return AjaxResult.error(); return AjaxResult.error();
@@ -3062,7 +3062,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
//发起签署 //发起签署
sealSignRecord.setFilename(fileName); sealSignRecord.setFilename(fileName);
String arbitratorId = caseApplication2.getArbitratorId(); String arbitratorId = caseApplication2.getArbitratorId();
if (arbitratorId != null) { if (StringUtils.isNotEmpty(arbitratorId)) {
SysUser sysUser = sysUserMapper.selectUserById(Long.valueOf(arbitratorId)); SysUser sysUser = sysUserMapper.selectUserById(Long.valueOf(arbitratorId));
if (sysUser == null) { if (sysUser == null) {
return AjaxResult.error(); return AjaxResult.error();