Min 1 ano atrás
pai
commit
1ff2032e25

+ 2 - 2
fhKeeper/formulahousekeeper/management-workshop/src/main/resources/mapper/ReportMapper.xml

@@ -191,7 +191,7 @@
         left join prod_procedure c on a.prod_procedure_id=c.id
         where b.company_id=#{companyId} and b.status!=2
         <if test="userId!=null and userId!=''">
-            and d.user_id=#{userId}
+            and b.foreman_id=#{userId}
         </if>
         <if test="deptId!=null and deptId!=''">
             and b.station_id=#{deptId}
@@ -217,7 +217,7 @@
         left join prod_procedure c on a.prod_procedure_id=c.id
         where b.company_id=#{companyId} and b.status!=2
         <if test="userId!=null and userId!=''">
-            and d.user_id=#{userId}
+            and  b.foreman_id=#{userId}
         </if>
         <if test="deptId!=null and deptId!=''">
             and b.station_id=#{deptId}