38 lines
1013 B
XML
38 lines
1013 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
<mapper namespace="com.itn.mjonApi.mjon.api.inqry.mapper.PriceMapper">
|
|
|
|
<select id="selectMberMoney"
|
|
resultType="double"
|
|
>
|
|
|
|
SELECT a.USER_MONEY AS mberMoney
|
|
FROM lettngnrlmber a
|
|
WHERE a.MBER_ID = #{mberId}
|
|
|
|
</select>
|
|
|
|
<select id="selectMberPriceInfo"
|
|
resultType="hashmap"
|
|
>
|
|
|
|
SELECT a.SHORT_PRICE AS sysShortPrice,
|
|
a.LONG_PRICE AS sysLongPrice,
|
|
a.PICTURE_PRICE AS sysPicturePrice,
|
|
a.PICTURE2_PRICE AS sysPicturePrice2,
|
|
a.PICTURE3_PRICE AS sysPicturePrice3,
|
|
b.SHORT_PRICE AS shortPrice,
|
|
b.LONG_PRICE AS longPrice,
|
|
b.PICTURE_PRICE AS picturePrice,
|
|
b.PICTURE2_PRICE AS picturePrice2,
|
|
b.PICTURE3_PRICE AS picturePrice3
|
|
FROM mj_mber_setting a ,
|
|
lettngnrlmber b
|
|
WHERE b.mber_id = #{mberId}
|
|
|
|
</select>
|
|
|
|
</mapper> |