Browse Source

APP项目规格停用还显示BUG修复

anderx 8 years ago
parent
commit
417a6f3b04
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/main/java/com/goafanti/common/mapper/ProjectSizeMapper.xml

+ 3 - 2
src/main/java/com/goafanti/common/mapper/ProjectSizeMapper.xml

@@ -423,8 +423,9 @@
    where p.pname=#{pname,jdbcType=VARCHAR}
   </select>
   <select id="selectPidList" resultType="string">
- select  p.pname
+select  p.pname
 from project_size p
-where pid=#{pid,jdbcType=VARCHAR}
+where status=0  
+and  pid=#{pid,jdbcType=VARCHAR}
   </select>
 </mapper>