소스 검색

[CODE]: 财务检索

maxianghua 4 년 전
부모
커밋
181c9d7aaf
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      ruoyi-warehouse/src/main/resources/mapper/finance/TFeeMapper.xml

+ 2 - 1
ruoyi-warehouse/src/main/resources/mapper/finance/TFeeMapper.xml

@@ -351,6 +351,7 @@
             </if>
             and  t.f_review_date IS NOT NULL
             and  ifnull(w.f_amount, 0) - ifnull(w.f_stlamount, 0) > 0
+            GROUP BY  w.f_id
         </where>
     </select>
 
@@ -504,9 +505,9 @@
                     #{id}
                 </foreach>
             </if>
-
             and  t.f_review_date IS NOT NULL
             and  ifnull(w.f_amount, 0) - ifnull(w.f_accamount, 0) > 0
+            GROUP BY  w.f_id
         </where>
     </select>