Ver código fonte

Merge branch 'qtz1' of SH-Arbitrate/Mediation-Backend into dev

qtz 2 anos atrás
pai
commit
dc95793394

+ 1
- 1
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/mapper/mscase/MsCaseLogRecordMapper.java Ver arquivo

@@ -31,6 +31,6 @@ public interface MsCaseLogRecordMapper extends Mapper<MsCaseLogRecord> {
31 31
         " </script>")
32 32
     List<MsCaseLogRecordVO> selectCaseLogRecordList(@Param("caseLogRecord") MsCaseLogRecord caseLogRecord);
33 33
 
34
-    @Select("SELECT group_concat( DISTINCT t.createNickName) createNickName,t.nodeName content,t.nodeId,t.sort FROM (SELECT l.create_nick_name createNickName ,f.node_name nodeName,f.node_id nodeId, f.sort FROM ms_case_log_record l left join ms_case_flow f on l.case_node  = f.node_id WHERE l.case_appli_id  = #{caseAppliId} and f.node_name is not null ) t group by t.nodeName,t.nodeId,t.sort  order by t.sort ")
34
+    @Select("SELECT group_concat( DISTINCT t.createNickName) createNickName,t.nodeName content,t.nodeId,t.sort ,t.caseStatusName  FROM (SELECT l.create_nick_name createNickName ,f.node_name nodeName,f.node_id nodeId, f.sort, f.case_status_name caseStatusName FROM ms_case_log_record l left join ms_case_flow f on l.case_node  = f.node_id WHERE l.case_appli_id  = #{caseAppliId} and f.node_name is not null ) t group by t.nodeName,t.nodeId,t.sort ,t.caseStatusName   order by t.sort ")
35 35
     List<MsCaseLogRecordVO> selectCaseLogRecordListCaseProgress(Long caseAppliId);
36 36
 }

+ 3
- 2
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/mscase/impl/MsSignSealServiceImpl.java Ver arquivo

@@ -465,12 +465,13 @@ public class MsSignSealServiceImpl implements MsSignSealService {
465 465
         List<MsCaseLogRecordVO> recordsNew = new ArrayList<>();
466 466
         if (records != null && records.size() > 0) {
467 467
             for (MsCaseLogRecordVO msCaseLogRecordVO : records) {
468
-                String content = msCaseLogRecordVO.getContent();
468
+//                String content = msCaseLogRecordVO.getContent();
469
+                String content = msCaseLogRecordVO.getCaseStatusName();
469 470
                 if(StringUtils.isNotEmpty(content)){
470 471
                     if(content.equals("结束")){
471 472
                         recordsNew.add(msCaseLogRecordVO);
472 473
                     }else {
473
-                        if(!content.equals(msCaseFlow.getNodeName())){
474
+                        if(!content.equals(msCaseFlow.getCaseStatusName())){
474 475
                             recordsNew.add(msCaseLogRecordVO);
475 476
                         }else{
476 477
                             break;