|
@ -54,8 +54,11 @@ |
|
|
<if test="pid != null and pid != ''"> |
|
|
<if test="pid != null and pid != ''"> |
|
|
and pid=#{pid} |
|
|
and pid=#{pid} |
|
|
</if> |
|
|
</if> |
|
|
<if test="pid == null or pid == ''"> |
|
|
<!-- <if test="pid == null or pid == ''">--> |
|
|
and pid=0 |
|
|
<!-- and pid=0--> |
|
|
|
|
|
<!-- </if>--> |
|
|
|
|
|
<if test="typeCode != null or typeCode != ''"> |
|
|
|
|
|
and type_code=#{typeCode} |
|
|
</if> |
|
|
</if> |
|
|
order by create_date desc |
|
|
order by create_date desc |
|
|
LIMIT #{pageIndex},#{pageSize} |
|
|
LIMIT #{pageIndex},#{pageSize} |
|
|