yxh
2 天以前 a1f2eefe4641764955c846ad58ebdbcedd96699d
ruoyi-project/src/main/resources/mapper/project/ServiceExternalpersonMapper.xml
@@ -29,6 +29,8 @@
        <result property="pym" column="PYM"/>
        <result property="wbm" column="WBM"/>
        <result property="unitTaxNo" column="unit_tax_no"/>
        <result property="deptId" column="dept_id"/>
        <result property="deptName" column="dept_name"/>
    </resultMap>
    <sql id="selectServiceExternalpersonVo">
@@ -43,7 +45,7 @@
            service_externalperson.del_flag = 0
            <if test="userno != null  and userno != ''">and UserNo = #{userno}</if>
            <if test="username != null  and username != ''">and UserName like concat('%', #{username}, '%')</if>
            <if test="usertype != null  and usertype != ''">and UserType = #{usertype}</if>
            <if test="usertype != null  and usertype != ''">and FIND_IN_SET(#{usertype}, UserType)</if>
            <if test="sex != null  and sex != ''">and Sex = #{sex}</if>
            <if test="telephone != null  and telephone != ''">and Telephone = #{telephone}</if>
            <if test="address != null  and address != ''">and Address = #{address}</if>
@@ -59,7 +61,7 @@
    <select id="getAllpeople" resultType="com.ruoyi.project.domain.ServiceExternalperson">
        <include refid="selectServiceExternalpersonVo"/>
        where service_externalperson.del_flag = 0 and UserType = #{usertype}
        where service_externalperson.del_flag = 0 and FIND_IN_SET(#{usertype}, UserType)
    </select>
    <select id="getInfoByUserNo" resultType="com.ruoyi.project.domain.ServiceExternalperson">
        <include refid="selectServiceExternalpersonVo"/>