Pārlūkot izejas kodu

修改结算单导出逻辑

songyh 3 gadi atpakaļ
vecāks
revīzija
4a56516047

+ 1 - 1
jeecg-boot-module-system/src/main/java/cn/com/ctop/common/module/mapper/xml/UserAllocationMapper.xml

@@ -250,7 +250,7 @@
             from ctop_user_allocation cua
             left join ctop_project cp on cp.id = cua.project_id
         where 1=1
-          and media_id = #{mediaId}
+          and cua.media_id = #{mediaId}
         <if test="sales !=null and sales != ''">
             AND cp.sale_id in
             <foreach collection="sales" item="item" separator=","