fanli/src/main/java/com/yeshi/fanli/mapping/user/UserGoodsStorageMapper.xml
@@ -105,7 +105,7 @@ <select id="countQueryByUid" resultType="java.lang.Long"> SELECT IFNULL(count(guc_id),0) FROM yeshi_ec_user_goods_storage tg LEFT JOIN `yeshi_ec_common_goods` cg ON tg.`guc_common_id` = cg.`cg_id` <if test="gooodsType != null"> LEFT JOIN `yeshi_ec_common_goods` cg ON tg.`guc_common_id` = cg.`cg_id`</if> WHERE tg.`guc_uid` = #{uid} <if test="gooodsType != null">AND cg.cg_goods_type = #{gooodsType}</if> </select>