Преглед на файлове

查询专家关联的项目

buzhanyi преди 2 години
родител
ревизия
2d00088546
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      purchase-system/src/main/resources/mapper/pm/PmDemandMapper.xml

+ 1 - 1
purchase-system/src/main/resources/mapper/pm/PmDemandMapper.xml

@@ -5,7 +5,7 @@
 <mapper namespace="com.ozs.pm.mapper.PmDemandMapper">
 
     <select id="selectByDemandIdList" parameterType="java.util.List" resultType="com.ozs.pm.doman.PmDemand">
-        select * from pm_demand where demand_id in
+        select * from pm_demand where project_status = 15 and demand_id in
         <foreach item="item" collection="demandIdList" separator="," open="(" close=")" index="">
             #{item}
         </foreach>