You've already forked FrameTour-BE
- 在 DeviceRepository 中添加批量获取设备信息的方法 - 在 ScenicRepository 中添加批量获取景区信息的方法 - 修改 OrderServiceImpl,使用批量方法获取景区名称 - 移除多个 mapper 文件中冗余的景区信息查询
14 lines
547 B
XML
14 lines
547 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.ycwl.basic.profitsharing.mapper.ProfitSharingConfigMapper">
|
|
<select id="list" resultType="com.ycwl.basic.profitsharing.dto.ProfitSharingConfigVO">
|
|
SELECT c.*
|
|
FROM profit_sharing_config c
|
|
|
|
<where>
|
|
<if test="scenicId != null">
|
|
AND scenic_id = #{scenicId}
|
|
</if>
|
|
</where>
|
|
</select>
|
|
</mapper> |