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