2021与蓝度共同重构项目,服务端
zhanzhiqin
2022-03-08 0bbba0fe5cfc2c37eafecfd70d45930165ba1930
dao/src/main/resources/mapper/ClientMapper.xml
@@ -10,6 +10,7 @@
        <result property="clientSuperior" column="client_superior" jdbcType="VARCHAR"/>
        <result property="linkMan" column="linkman" jdbcType="VARCHAR"/>
        <result property="mobile" column="mobile" jdbcType="VARCHAR"/>
        <result property="password" column="password" jdbcType="VARCHAR"/>
        <result property="countLight" column="count_light" jdbcType="INTEGER"/>
        <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
    </resultMap>
@@ -17,6 +18,9 @@
    select * from  client where superiorId=#{userId}
    </select>
    <select id="findClientIdByName" resultType="java.lang.Long">
        select id from client where client_name=#{belongsClient}
    </select>
</mapper>