修改短信记录表

This commit is contained in:
wenc000 2020-05-07 17:36:13 +08:00
parent 82ded29737
commit e6819f975b

View File

@ -12,7 +12,7 @@
<!-- 新增短信 -->
<insert id="saveSms" parameterType="map">
INSERT INTO gen_sms(
INSERT INTO sms_sms(
sms_id,
phone,
content,
@ -40,7 +40,7 @@
<!-- 删除短信 -->
<update id="removeSms" parameterType="map">
UPDATE
gen_sms
sms_sms
SET
is_delete = 1,
modifier = #{modifier},
@ -55,7 +55,7 @@
<!-- 修改短信 -->
<update id="updateSms" parameterType="map">
UPDATE
gen_sms
sms_sms
SET
<if test="phone != null and phone != ''">
phone = #{phone},
@ -84,7 +84,7 @@
t1.error_message,
t1.sms_id
FROM
gen_sms t1
sms_sms t1
WHERE
t1.is_delete = 0
<if test="smsId != null and smsId != ''">
@ -102,7 +102,7 @@
t1.error_message,
t1.sms_id
FROM
gen_sms t1
sms_sms t1
WHERE
t1.is_delete = 0
<if test="keywords != null and keywords != ''">
@ -123,12 +123,6 @@
#{smsIds[${index}]}
</foreach>
</if>
GROUP BY
t1.phone,
t1.content,
t1.send_status,
t1.error_message,
t1.sms_id
</select>
</mapper>