加入购物车以及详情展示优化
This commit is contained in:
parent
a7feb390c8
commit
aa464f1a45
|
|
@ -55,7 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
SELECT ma_id as maId,
|
||||
order_user as orderUser
|
||||
from book_car_detail
|
||||
where ma_id = #{maId} and order_user = #{userId}
|
||||
where ma_id = #{maId} and order_user = #{userId} and order_status = '0'
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
|
@ -538,6 +538,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
WHERE
|
||||
order_user = #{userId}
|
||||
AND ma_id = #{maId}
|
||||
AND order_status = '0'
|
||||
</select>
|
||||
|
||||
<insert id="insertDraft" parameterType="com.bonus.material.device.domain.DevInfo" useGeneratedKeys="true" keyProperty="maId">
|
||||
|
|
|
|||
Loading…
Reference in New Issue