From 856d69ce678173e0a8e165bcb0135037d20b48ee Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期二, 15 十月 2024 11:51:22 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/ind/IndItemValueDao.xml | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/ind/IndItemValueDao.xml b/iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/ind/IndItemValueDao.xml new file mode 100644 index 0000000..4428a0c --- /dev/null +++ b/iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/ind/IndItemValueDao.xml @@ -0,0 +1,25 @@ +<?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.iailab.module.data.ind.value.dao.IndItemValueDao"> + + <select id="getSourceValue" parameterType="map" resultType="com.iailab.module.data.ind.item.vo.IndItemValueVO"> + select + ${selectSql} + from ( + ${viewSql} + ) ind_t + <where> + <if test="whereSql != null and whereSql != ''"> + and ${whereSql} + </if> + </where> + <if test="groupSql != null and groupSql != ''"> + group by ${groupSql} + </if> + <if test="orderBySql != null and orderBySql != ''"> + order by ${orderBySql} + </if> + </select> + +</mapper> \ No newline at end of file -- Gitblit v1.9.3