Explorar el Código

优化用印功能

qitz hace 2 años
padre
commit
5c434e576f

+ 2
- 2
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java Ver fichero

@@ -1797,7 +1797,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
1797 1797
                                         //发起签署
1798 1798
                                         sealSignRecord.setFilename(fileName);
1799 1799
                                         String arbitratorId = caseApplication2.getArbitratorId();
1800
-                                        if (arbitratorId != null) {
1800
+                                        if (StringUtils.isNotEmpty(arbitratorId)) {
1801 1801
                                             SysUser sysUser = sysUserMapper.selectUserById(Long.valueOf(arbitratorId));
1802 1802
                                             if (sysUser == null) {
1803 1803
                                                 return AjaxResult.error();
@@ -3062,7 +3062,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
3062 3062
                                                 //发起签署
3063 3063
                                                 sealSignRecord.setFilename(fileName);
3064 3064
                                                 String arbitratorId = caseApplication2.getArbitratorId();
3065
-                                                if (arbitratorId != null) {
3065
+                                                if (StringUtils.isNotEmpty(arbitratorId)) {
3066 3066
                                                     SysUser sysUser = sysUserMapper.selectUserById(Long.valueOf(arbitratorId));
3067 3067
                                                     if (sysUser == null) {
3068 3068
                                                         return AjaxResult.error();