摘要:
<select id="getUserByUserIf" resultType="user"> select * from sys_user <where> <if test="userId != null">and user_id = #{userId}</if> <if test="userNa 阅读全文
摘要:
1、dbconfig.properties数据库连接配置 driver=com.mysql.cj.jdbc.Driver url=jdbc:mysql://192.168.121.200:3306/mybatis username=root password=root 2、log4j.xml配置 < 阅读全文