|
@@ -542,7 +542,12 @@
|
|
</update>
|
|
</update>
|
|
|
|
|
|
<select id="findShopSignPos" resultType="com.caimei365.user.model.po.ShopSignPo">
|
|
<select id="findShopSignPos" resultType="com.caimei365.user.model.po.ShopSignPo">
|
|
- SELECT id, shopName, shopLogo, showNum, (SELECT shopIds FROM cm_zyl_ticket where userId = #{userId}) as shopIds
|
|
|
|
|
|
+ SELECT id,
|
|
|
|
+ shopName,
|
|
|
|
+ shopLogo,
|
|
|
|
+ showNum,
|
|
|
|
+ (SELECT shopIds FROM cm_zyl_ticket where userId = #{userId}) as shopIds,
|
|
|
|
+ (select giftFlag from cm_zyl_ticket where userId = #{userId}) as giftFlag
|
|
FROM cm_zyl_shop
|
|
FROM cm_zyl_shop
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -558,7 +563,8 @@
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
<delete id="deleteTicketUser">
|
|
<delete id="deleteTicketUser">
|
|
- delete from cm_zyl_ticket
|
|
|
|
|
|
+ delete
|
|
|
|
+ from cm_zyl_ticket
|
|
where userId = #{userId}
|
|
where userId = #{userId}
|
|
</delete>
|
|
</delete>
|
|
</mapper>
|
|
</mapper>
|