forked from kidgrow-microservices-platform

er
2020-04-02 d8de5f3b6433c5a00b54b5b88db7c67aa8058ea5
kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/HospitalScreeningMapper.xml
@@ -1,7 +1,7 @@
<?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.kidgrow.usercenter.mapper.HospitalScreeningMapper">
<mapper namespace="com.kidgrow.oprationcenter.mapper.HospitalScreeningMapper">
    <!--定义查询列-->
    <sql id="Column_List">
      *
@@ -55,7 +55,7 @@
    </sql>
    <!--定义根据-HospitalScreening当作查询条件返回对象-->
    <select id="findByObject"  resultType="com.kidgrow.usercenter.model.HospitalScreening">
    <select id="findByObject"  resultType="com.kidgrow.oprationcenter.model.HospitalScreening">
        select <include refid="Column_List"/>
        from hospital_screening
        <include refid="where"/>
@@ -63,7 +63,7 @@
    </select>
    <!--定义根据-HospitalScreening当作查询条件返回对象集合-->
    <select id="findList" resultType="com.kidgrow.usercenter.model.HospitalScreening">
    <select id="findList" resultType="com.kidgrow.oprationcenter.model.HospitalScreening">
        select <include refid="Column_List"/>
        from hospital_screening
        order by id desc