Browse Source

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

ld_lixh 8 years ago
parent
commit
9cc6db4923

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