diff --git a/ruoyi-system/src/main/resources/mapper/system/roomsMapper.xml b/ruoyi-system/src/main/resources/mapper/system/roomsMapper.xml index d6ed9fc..4a315eb 100644 --- a/ruoyi-system/src/main/resources/mapper/system/roomsMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/roomsMapper.xml @@ -13,7 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select bed, tips, price, imgUrl, imgUrl1 from 客房信息 + select bed, tips, price, imgUrl, imgUrl1 from rooms - insert into 客房信息 + insert into rooms bed, tips, @@ -51,7 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - update 客房信息 + update rooms tips = #{tips}, price = #{price}, @@ -62,11 +62,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from 客房信息 where bed = #{bed} + delete from rooms where bed = #{bed} - delete from 客房信息 where bed in + delete from rooms where bed in #{bed} diff --git a/ruoyi-system/src/main/resources/mapper/system/ticket_feeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ticket_feeMapper.xml index 12622cf..8e88c14 100644 --- a/ruoyi-system/src/main/resources/mapper/system/ticket_feeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/ticket_feeMapper.xml @@ -10,7 +10,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select im1, im2 from 票价信息 + select im1, im2 from ticket_fee - insert into 票价信息 + insert into ticket_fee im1, im2, @@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - update 票价信息 + update ticket_fee im2 = #{im2}, @@ -47,11 +47,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from 票价信息 where im1 = #{im1} + delete from ticket_fee where im1 = #{im1} - delete from 票价信息 where im1 in + delete from ticket_fee where im1 in #{im1}