|
@@ -26,6 +26,12 @@
|
|
|
<![CDATA[ and c.age_begin <= #{age} ]]>
|
|
|
<![CDATA[ and c.age_end >= #{age} ]]>
|
|
|
</if>
|
|
|
+ <if test="tagType != null and tagType != ''">
|
|
|
+ <![CDATA[ and c.tag_type = #{tagType} ]]>
|
|
|
+ </if>
|
|
|
+ <if test="itemType != null">
|
|
|
+ <![CDATA[ and c.item_type = #{itemType} ]]>
|
|
|
+ </if>
|
|
|
<if test="sexType == 3">
|
|
|
and c.sex_type in ('1','2','3')
|
|
|
</if>
|
|
@@ -49,6 +55,12 @@
|
|
|
<![CDATA[ and c.age_begin <= #{age} ]]>
|
|
|
<![CDATA[ and c.age_end >= #{age} ]]>
|
|
|
</if>
|
|
|
+ <if test="tagType != null and tagType != ''">
|
|
|
+ <![CDATA[ and c.tag_type = #{tagType} ]]>
|
|
|
+ </if>
|
|
|
+ <if test="itemType != null">
|
|
|
+ <![CDATA[ and c.item_type = #{itemType} ]]>
|
|
|
+ </if>
|
|
|
<if test="sexType == 3">
|
|
|
and c.sex_type in ('1','2','3')
|
|
|
</if>
|
|
@@ -72,6 +84,12 @@
|
|
|
<![CDATA[ and c.age_begin <= #{age} ]]>
|
|
|
<![CDATA[ and c.age_end >= #{age} ]]>
|
|
|
</if>
|
|
|
+ <if test="tagType != null and tagType != ''">
|
|
|
+ <![CDATA[ and c.tag_type = #{tagType} ]]>
|
|
|
+ </if>
|
|
|
+ <if test="itemType != null">
|
|
|
+ <![CDATA[ and c.item_type = #{itemType} ]]>
|
|
|
+ </if>
|
|
|
<if test="sexType == 3">
|
|
|
and c.sex_type in ('1','2','3')
|
|
|
</if>
|