| File was renamed from oying-system/src/main/resources/mapper/message/MessageSystemMapper.xml |
| | |
| | | <?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.oying.modules.message.mapper.MessageSystemMapper"> |
| | | <resultMap id="BaseResultMap" type="com.oying.modules.message.domain.MessageSystem"> |
| | | <mapper namespace="com.oying.modules.message.mapper.MesShopReplyMapper"> |
| | | <resultMap id="BaseResultMap" type="com.oying.modules.message.domain.MesShopReply"> |
| | | <id column="id" property="id"/> |
| | | <result column="start_time" property="startTime"/> |
| | | <result column="end_time" property="endTime"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="evaluation_id" property="evaluationId"/> |
| | | <result column="reply_type" property="replyType"/> |
| | | <result column="content" property="content"/> |
| | | <result column="create_by" property="createBy"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_by" property="updateBy"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | </resultMap> |
| | | |
| | | <sql id="Base_Column_List"> |
| | | id, start_time, end_time, create_time, update_time, create_by, update_by |
| | | id, evaluation_id, reply_type, content, create_by, create_time, update_by, update_time |
| | | </sql> |
| | | |
| | | <select id="findAll" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from message_system |
| | | from mes_shop_reply |
| | | <where> |
| | | </where> |
| | | order by id desc |