Browse Source

fix:发票待处理查询修改

CAYK\miaosen.zhao 6 months ago
parent
commit
f7aa53b6f4

+ 1 - 1
src/main/resources/mapper/invoicemanage/InvoiceBasicInfoMapper.xml

@@ -77,7 +77,7 @@
 				LEFT JOIN c_supplier_info t6 ON t2.c_supplier_info_id = t6.id
 				LEFT JOIN c_enterprise t7 ON t6.c_enterprise_id = t7.id
 		left join trading_platform t8 on t1.trading_platform_id = t8.id
-		left join c_sys_user t9 on t9.login_name = t1.user_create
+		left join c_sys_user t9 on (t9.login_name = t1.user_create or  t9.user_name = t1.user_create)
 		WHERE t1.id = #{id}
 		AND (t9.project_manager = #{userId} or t9.project_manager is null )
 		ORDER BY t1.gmt_modified Desc