소스 검색

git-svn-id: https://192.168.57.71/svn/jsgkj@1320 931142cf-59ea-a443-aa0e-51397b428577

ld_lixh 8 년 전
부모
커밋
9cc6db4923
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      gkaqv2/trunk/modules/frame/src/main/resources/com/xt/js/gkaq/frame/mappers/CodeModelMapper.xml

+ 4 - 1
gkaqv2/trunk/modules/frame/src/main/resources/com/xt/js/gkaq/frame/mappers/CodeModelMapper.xml

@@ -76,11 +76,14 @@
 	        and P.CODE = #{pcode,jdbcType=VARCHAR}
 	    </if>
 	    <if test="code != null and code != ''">
-	        and C.CODE like #{code,jdbcType=VARCHAR}
+	        and C.CODE like #{code,jdbcType=VARCHAR} 
 	    </if>
 	    <if test="text != null and text != ''">
 	        and C.TEXT like #{text,jdbcType=VARCHAR}
 	    </if>
+	    <if test="ptext != null and ptext != ''">
+	    	and C.PCODE = #{ptext,jdbcType=VARCHAR} 
+	    </if>
     </where>
     order by C.PCODE desc, C.SORTNO
   </select>