完善消息接口

This commit is contained in:
季圣华
2021-12-10 00:47:06 +08:00
parent 69a77358e6
commit a0bad81d5c
5 changed files with 108 additions and 17 deletions

View File

@@ -1,7 +1,9 @@
<?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.jsh.erp.datasource.mappers.MsgMapperEx">
<select id="selectByConditionMsg" resultMap="com.jsh.erp.datasource.mappers.MsgMapper.BaseResultMap">
<resultMap extends="com.jsh.erp.datasource.mappers.MsgMapper.BaseResultMap" id="ResultExMap" type="com.jsh.erp.datasource.entities.MsgEx">
</resultMap>
<select id="selectByConditionMsg" parameterType="com.jsh.erp.datasource.entities.MsgExample" resultMap="ResultExMap">
SELECT *
FROM jsh_msg
WHERE 1=1
@@ -13,7 +15,7 @@
order by create_time desc
<if test="offset != null and rows != null">
limit #{offset},#{rows}
</if>;
</if>
</select>
<select id="countsByMsg" resultType="java.lang.Long">
SELECT