加入购物车以及详情展示优化

This commit is contained in:
15856 2024-11-26 18:55:15 +08:00
parent a7feb390c8
commit aa464f1a45
2 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SELECT ma_id as maId, SELECT ma_id as maId,
order_user as orderUser order_user as orderUser
from book_car_detail 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> </select>
</mapper> </mapper>

View File

@ -538,6 +538,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
WHERE WHERE
order_user = #{userId} order_user = #{userId}
AND ma_id = #{maId} AND ma_id = #{maId}
AND order_status = '0'
</select> </select>
<insert id="insertDraft" parameterType="com.bonus.material.device.domain.DevInfo" useGeneratedKeys="true" keyProperty="maId"> <insert id="insertDraft" parameterType="com.bonus.material.device.domain.DevInfo" useGeneratedKeys="true" keyProperty="maId">