2026-01-21
1.修改部分代码,让程序正常启动
This commit is contained in:
@@ -6,6 +6,12 @@ spring:
|
||||
username: "root"
|
||||
password: "lailab19980730mysql"
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
output:
|
||||
ansi:
|
||||
enabled: always
|
||||
|
||||
|
||||
|
||||
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.lailab.toolbox.mapper.AuthMapper">
|
||||
<select id="getAuthCode" resultType="String">
|
||||
<!-- <select id="getAuthCode" resultType="String">
|
||||
select code from auth_codes where exists(
|
||||
select *
|
||||
from users
|
||||
@@ -35,5 +35,5 @@
|
||||
|
||||
<update id="addUseCount" parameterType="string">
|
||||
update auth_codes set useCount = useCount + 1 where md5code = #{md5code};
|
||||
</update>
|
||||
</update> -->
|
||||
</mapper>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.lailab.toolbox.mapper.ParameterMapper">
|
||||
<resultMap id="base_result_map" type="cn.lailab.toolbox.beans.domain.Parameter">
|
||||
<!-- <resultMap id="base_result_map" type="cn.lailab.toolbox.beans.domain.Parameter">
|
||||
<id column="id" property="id"/>
|
||||
<result column="sort_id" property="sortId"/>
|
||||
<result column="is_system" property="isSystem"/>
|
||||
@@ -42,6 +42,6 @@
|
||||
<include refid="base_column_list"/>
|
||||
from sys_parameter
|
||||
where parameter_name = #{parameterName};
|
||||
</select>
|
||||
</select> -->
|
||||
|
||||
</mapper>
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.lailab.toolbox.mapper.ToolMd5Mapper">
|
||||
|
||||
<resultMap id="base_result_map" type="cn.lailab.toolbox.beans.domain.ToolMd5">
|
||||
<!-- <resultMap id="base_result_map" type="cn.lailab.toolbox.beans.domain.ToolMd5">
|
||||
<id column="id" property="id"/>
|
||||
<result column="str" property="str"/>
|
||||
<result column="md5" property="md5"/>
|
||||
@@ -16,5 +16,5 @@
|
||||
|
||||
<select id="selectToolMd5" resultMap="base_result_map">
|
||||
select id,str,md5,create_time from tool_md5_dict;
|
||||
</select>
|
||||
</select> -->
|
||||
</mapper>
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.lailab.toolbox.mapper.UserMapper">
|
||||
|
||||
<sql id="base_column_list">
|
||||
<!-- <sql id="base_column_list">
|
||||
id, username, password, nickName, gender,
|
||||
country,province, city, avatarUrl, openId,
|
||||
phone, email, createTime, creator, source,
|
||||
@@ -83,5 +83,5 @@
|
||||
<update id="deleteUserByOpenId" parameterType="user">
|
||||
update users set status=4
|
||||
where openId=#{openId};
|
||||
</update>
|
||||
</update> -->
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user