Min 1 년 전
부모
커밋
1ff2032e25
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      fhKeeper/formulahousekeeper/management-workshop/src/main/resources/mapper/ReportMapper.xml

+ 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}