中扬CRM客户关系管理系统
Junjie
2023-03-03 fba2c448e9f3e7d24e95c1b4ffac77f9dfb391bd
src/main/resources/mapper/CstmrMapper.xml
@@ -113,4 +113,13 @@
        update man_cstmr set dept_id = #{deptId} where user_id = #{userId}
    </update>
    <select id="selectByName" resultMap="BaseResultMap">
        select * from man_cstmr
        where 1=1
        and name = #{name}
        <if test="hostId != null">
            and host_id = #{hostId}
        </if>
    </select>
</mapper>