中扬CRM客户关系管理系统
#
luxiaotao1123
2022-09-18 1d95fca62de153888b0ffa5458e3d008a424c587
src/main/resources/mapper/CstmrTypeMapper.xml
@@ -18,4 +18,14 @@
    </resultMap>
    <select id="selectByName" resultMap="BaseResultMap">
        select top 1 *
        from man_cstmr_type
        where 1=1
        and name = #{name}
        <if test="hostId != null">
            and host_id = #{hostId}
        </if>
    </select>
</mapper>