소스 검색

Merge branch 'test'

zhaoxian 2 년 전
부모
커밋
0a2de219ff
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      jeecg-boot-module-system/src/main/java/cn/com/ctop/reimburse/mondule/mapper/xml/ReimburseApplyMapper.xml

+ 2 - 2
jeecg-boot-module-system/src/main/java/cn/com/ctop/reimburse/mondule/mapper/xml/ReimburseApplyMapper.xml

@@ -26,7 +26,7 @@
             AND stat_date >=#{startDate}
             AND stat_date <=#{endDate}
         </if>
-        union
+        union all
         SELECT *, 2 as 'flag' FROM ctop_reimburse_apply
         where 1=1
         <if test="financialReview == 1">
@@ -52,7 +52,7 @@
             AND stat_date >=#{startDate}
             AND stat_date &lt;=#{endDate}
         </if>
-        union
+        union all
         SELECT t1.*, 3 as 'flag' FROM ctop_reimburse_apply t1
         left join ctop_reimburse_apply_leader_rel t2 on t1.id = t2.apply_id
         where