新增短信编辑和重新发送短信接口
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
<?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.ruoyi.system.mapper.shortmessage.MsSmsSendHistoryRecordMapper">
|
||||
<resultMap id="BaseResultMap" type="com.ruoyi.system.domain.entity.shortmessage.MsSmsSendHistoryRecord">
|
||||
<!--
|
||||
WARNING - @mbg.generated
|
||||
-->
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="case_appli_id" jdbcType="BIGINT" property="caseAppliId" />
|
||||
<result column="case_num" jdbcType="VARCHAR" property="caseNum" />
|
||||
<result column="phone" jdbcType="VARCHAR" property="phone" />
|
||||
<result column="send_time" jdbcType="TIMESTAMP" property="sendTime" />
|
||||
<result column="send_status" jdbcType="BIGINT" property="sendStatus" />
|
||||
<result column="send_content" jdbcType="VARCHAR" property="sendContent" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="create_by" jdbcType="VARCHAR" property="createBy" />
|
||||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" />
|
||||
<result column="sid" jdbcType="VARCHAR" property="sid" />
|
||||
<result column="parent_id" jdbcType="BIGINT" property="parentId" />
|
||||
<result column="reason" jdbcType="LONGVARCHAR" property="reason" />
|
||||
</resultMap>
|
||||
</mapper>
|
||||
@@ -91,5 +91,13 @@
|
||||
update ms_sms_send_record
|
||||
set send_status= #{sendStatus} ,reason=#{reason} where sid=#{sid}
|
||||
</update>
|
||||
<update id="updateSendContent">
|
||||
update ms_sms_send_record
|
||||
set send_content= #{sendContent} ,update_time=#{updateTime} where id=#{id}
|
||||
</update>
|
||||
|
||||
<select id="selectById" resultMap="SmsSendRecordResult">
|
||||
select * from ms_sms_send_record where id=#{id}
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user