Blame view

cloud/search_smartCampus/src/main/resources/mapper/CwCheckMapper.xml 1.06 KB
124aa27a   陈杰   体温上传 博冠人脸
1
2
3
<?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.sincere.smartSearch.mapper.CwCheckMapper">
e92e5a92   陶汉栋   增加网关负载
4
5
6
7
8
9
10
11
12
13
    <resultMap id="BaseResultMap" type="com.sincere.smartSearch.model.CwCheck">
        <result column="ID" jdbcType="INTEGER" property="id"/>
        <result column="CheckName" jdbcType="VARCHAR" property="checkname"/>
        <result column="BeginTime" jdbcType="VARCHAR" property="begintime"/>
        <result column="EndTime" jdbcType="VARCHAR" property="endtime"/>
        <result column="TemplateId" jdbcType="INTEGER" property="templateid"/>
        <result column="SchoolId" jdbcType="INTEGER" property="schoolid"/>
        <result column="State" jdbcType="INTEGER" property="state"/>
        <result column="Intime" jdbcType="TIMESTAMP" property="intime"/>
    </resultMap>
124aa27a   陈杰   体温上传 博冠人脸
14

e92e5a92   陶汉栋   增加网关负载
15
16
17
    <select id="selectBySchoolId" parameterType="java.lang.Integer" resultMap="BaseResultMap">
        select * from CW_Check where SchoolId =#{schoolId} and state = 1
    </select>
124aa27a   陈杰   体温上传 博冠人脸
18
</mapper>