Jay
2024-10-09 41aaa0cc7c5fe00724be8fa44764a1fbc0c46dc9
提交 | 用户 | 时间
cf757d 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
4 <mapper namespace="com.iailab.module.data.ind.value.dao.IndItemValueDao">
5
6     <select id="getSourceValue" parameterType="map" resultType="com.iailab.module.data.ind.item.vo.IndItemValueVO">
7         select
8         ${selectSql}
9         from (
10         ${viewSql}
11         ) ind_t
12         <where>
13             <if test="whereSql != null and whereSql != ''">
14                 and ${whereSql}
15             </if>
16         </where>
17         <if test="orderBySql != null and orderBySql != ''">
18             order by ${orderBySql}
19         </if>
20     </select>
21
22 </mapper>