add customer followup
This commit is contained in:
@@ -26,6 +26,17 @@
|
||||
ON DUPLICATE KEY UPDATE `id` = `id`
|
||||
</insert>
|
||||
|
||||
<select id="selectByBusinessKey" resultType="com.imyeyu.api.modules.common.entity.Notify">
|
||||
SELECT *
|
||||
FROM `notify`
|
||||
WHERE `biz_type` = #{bizType}
|
||||
AND `biz_reminded_type` = #{bizRemindedType}
|
||||
AND `biz_reminded_key` = #{bizRemindedKey}
|
||||
AND `deleted_at` IS NULL
|
||||
ORDER BY `created_at` DESC, `id` DESC
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<select id="selectManagementPage" resultType="com.imyeyu.api.modules.common.vo.NotifyManagementItem">
|
||||
SELECT
|
||||
n.`id`,
|
||||
|
||||
Reference in New Issue
Block a user