feat: add core entities, controllers, services, and mappers across multi-module project

This commit is contained in:
zhangsz committed 2026-09-20 15:03:05 +08:00
commit 4335344af7
1456 files changed
+58308

No files matched your search

@@ -0,0 +1,18 @@
<?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.unizk.mapper.MobileAppUserMapper">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="cn.unizk.entity.po.MobileAppUser">
<id column="id" property="id" />
<result column="phone_number" property="phoneNumber" />
<result column="nickname" property="nickname" />
<result column="avatar" property="avatar" />
</resultMap>
<update id="bindPhone">
update mobile_app_user set phone_number = #{phoneNumber} where id = #{userId}
</update>
</mapper>