forked from kidgrow-microservices-platform

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