2 Commits 732830cce8 ... 28e17edcd7

Autor SHA1 Mensaje Fecha
  吴树波 28e17edcd7 Merge remote-tracking branch 'origin/bjcz_his_scrm' into bjcz_his_scrm hace 4 días
  吴树波 936c4e140c 模板生成判断 hace 4 días

+ 2 - 0
fs-service/src/main/resources/mapper/sop/SopUserLogsMapper.xml

@@ -204,9 +204,11 @@
                b.is_samp_send
         from sop_user_logs a
                  inner join qw_sop b on a.sop_id = b.id
+        inner join qw_sop_temp c on b.temp_id = c.id
         where a.start_time <= Now()
           and a.status = 1
           and b.send_type != 4 and b.status in (2,3)
+        and c.`status` = 1
         <if test="sopIds != null and !sopIds.isEmpty()">
             and a.sop_id in
             <foreach collection="sopIds" open="(" close=")" index="index" item="item" separator=",">#{item}</foreach>