ZhiYeJianKang/职业健康平台后端/bin/mappings/modules/reportCustomer/ExcelmodelVoDaoMapper.xml
2025-02-20 15:25:59 +08:00

30 lines
891 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN"
"http://ibatis.apache.org/dtd/ibatis-3-mapper.dtd">
<mapper namespace="com.hx.slj.modules.reportCustomer.dao.ExcelmodelVoDao">
<!-- parameterType:参数类型,填写实体类的完整名字 -->
<resultMap id="baseExcelModel" type="com.hx.slj.modules.reportCustomer.entity.ExcelmodelVo" >
<id column="ID" property="id"/>
<result column="fileName" property="fileName"/>
<result column="system_ID" property="systemId"/>
</resultMap>
<select id="findListByTixiExcelmodelVo" resultMap="baseExcelModel">
SELECT * FROM excelmodel WHERE system_ID=#{systemId}
</select>
<insert id="insertExcelmodelVo" >
INSERT INTO excelmodel(`id`, `fileName`, `system_ID`) VALUES
(
#{id},
#{fileName},
#{systemId}
)
</insert>
</mapper>