From 2ad7a1b9035321fc16b253ad2cdd73c6d5e15d64 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 22 五月 2026 16:18:52 +0800
Subject: [PATCH] 新增sendstateView(1:待随访(2 待发送);2:随访中(1 被领取、3 已发送)、3:未完成(5 发送失败、7、超时)、4:已完成( 6 已完成)、5:无需随访(4 不执行))

---
 smartor/src/main/resources/mapper/smartor/SchemeAutofinshruleMapper.xml |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/SchemeAutofinshruleMapper.xml b/smartor/src/main/resources/mapper/smartor/SchemeAutofinshruleMapper.xml
index 8c73999..baac659 100644
--- a/smartor/src/main/resources/mapper/smartor/SchemeAutofinshruleMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SchemeAutofinshruleMapper.xml
@@ -2,7 +2,7 @@
 <!DOCTYPE mapper
         PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.ruoyi.smartor.mapper.SchemeAutofinshruleMapper">
+<mapper namespace="com.smartor.mapper.SchemeAutofinshruleMapper">
 
     <resultMap type="SchemeAutofinshrule" id="SchemeAutofinshruleResult">
         <result property="id" column="id"/>
@@ -40,12 +40,11 @@
     <select id="selectSchemeAutofinshruleList" parameterType="SchemeAutofinshrule"
             resultMap="SchemeAutofinshruleResult">
         <include refid="selectSchemeAutofinshruleVo"/>
-        <where>
+        where 1=1
             <if test="schemeid != null ">and schemeid = #{schemeid}</if>
             <if test="ruletype != null ">and ruletype = #{ruletype}</if>
             <if test="rulevalue != null  and rulevalue != ''">and rulevalue = #{rulevalue}</if>
             <if test="orgid != null  and orgid != ''">and orgid = #{orgid}</if>
-        </where>
     </select>
 
     <select id="selectSchemeAutofinshruleById" parameterType="Long" resultMap="SchemeAutofinshruleResult">

--
Gitblit v1.9.3