skjcmanager/skjcmanager-service/skjcmanager-alerts/src/main/java/cn/gistack/alerts/sms/mapper/SmsResultMapper.xml
@@ -20,9 +20,15 @@ <if test="smsResult.endTime!=null and smsResult.endTime!=''"> and date_format(ssr.create_time,'%Y-%m-%d') <= #{smsResult.endTime} </if> <if test="smsResult.smsType!=null"> <if test="smsResult.smsType!=null and smsResult.smsType!=''"> and sst.sms_type = #{smsResult.smsType} </if> <if test="list!=null and list.size()>0"> and sst.template_id in <foreach collection="list" item="id" separator ="," open="(" close=")"> #{id} </foreach> </if> order by id desc </select>