浏览代码

fix:发票待处理查询修改

CAYK\miaosen.zhao 6 月之前
父节点
当前提交
1578597660
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/main/resources/mapper/invoicemanage/InvoiceBasicInfoMapper.xml

+ 2 - 0
src/main/resources/mapper/invoicemanage/InvoiceBasicInfoMapper.xml

@@ -77,7 +77,9 @@
 				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
 		WHERE t1.id = #{id}
+		AND (t9.project_manager = #{userId} or t9.project_manager is null )
 		ORDER BY t1.gmt_modified Desc
 	</select>