smart_archives_service/bonus-system/src/main/resources/mapper/system/DataCollectDataMapper.xml

16 lines
557 B
XML
Raw Normal View History

<?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.bonus.system.mapper.DataCollectDataMapper">
<select id="selectKyDataCollectDataList" resultType="com.bonus.system.domain.KyDataCollectData">
select id,data_classify_id,data_json
from da_ky_data_collect_data
where del_flag = '1'
<if test="dataClassifyId!=null">
data_classify_id = #{dataClassifyId}
</if>
</select>
</mapper>