|
@@ -22,6 +22,7 @@
|
|
<where>
|
|
<where>
|
|
<if test="modelCode != null and modelCode != ''">and model_code = #{modelCode}</if>
|
|
<if test="modelCode != null and modelCode != ''">and model_code = #{modelCode}</if>
|
|
<if test="attrKey != null and attrKey != ''">and attr_key = #{attrKey}</if>
|
|
<if test="attrKey != null and attrKey != ''">and attr_key = #{attrKey}</if>
|
|
|
|
+ <if test="attrValue != null and attrValue != ''">and attr_value = #{attrValue}</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -30,7 +31,6 @@
|
|
<where>
|
|
<where>
|
|
<if test="modelCode != null and modelCode != ''">and model_code = #{modelCode}</if>
|
|
<if test="modelCode != null and modelCode != ''">and model_code = #{modelCode}</if>
|
|
<if test="attrKey != null and attrKey != ''">and attr_key = #{attrKey}</if>
|
|
<if test="attrKey != null and attrKey != ''">and attr_key = #{attrKey}</if>
|
|
- <if test="attrValue != null and attrValue != ''">and attr_value = #{attrValue}</if>
|
|
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|