Browse Source

Merge branch 'qtz5' of SH-Arbitrate/Arbitrate-Backend into dev

qtz 2 years ago
parent
commit
eeb6757ec8

+ 5
- 1
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml View File

@@ -856,7 +856,8 @@
856 856
 
857 857
     <select id="selectAdminCaseApplicationListBatch" parameterType="CaseApplication" resultMap="CaseApplicationResult">
858 858
         SELECT DISTINCT c.batch_number ,c.arbitrat_method ,c.arbitrator_name ,
859
-        c.arbitrator_id  ,a.identity_type ,a.name ,
859
+        c.arbitrator_id  ,a.identity_type ,a.name ,a.application_organ_id as applicationOrganId,
860
+        a.application_organ_name  as applicantName,
860 861
         CASE c.arbitrat_method when 1 then '开庭审理' when 2 then '书面审理'
861 862
         ELSE '无审理方式'
862 863
         END arbitratMethodName
@@ -866,6 +867,9 @@
866 867
         <if test="batchNumber != null and batchNumber != ''">
867 868
             AND c.batch_number = #{batchNumber}
868 869
         </if>
870
+        <if test="nameId != null and nameId != ''">
871
+            AND a.application_organ_id=#{nameId}
872
+        </if>
869 873
         order by  c.batch_number desc
870 874
     </select>
871 875