新曾业务bean和相关数据持久化,controller restful 接口

This commit is contained in:
2025-12-26 09:50:10 +08:00
parent 26a6152ecc
commit 281d79b8cd
56 changed files with 2415 additions and 58 deletions

View File

@@ -10,9 +10,9 @@
<insert id="insert" useGeneratedKeys="true" keyProperty="id">
INSERT INTO sys_user_role (
<include refid="userRoleColumn"/>, create_time, update_time, del_sign
<include refid="userRoleColumn"/>,remark, create_time, del_sign
) VALUES (
#{userId}, #{roleId}, NOW(), NOW(), 0
#{userId}, #{roleId}, #{remark},NOW(), 0
)
</insert>
@@ -57,7 +57,6 @@
<if test="userId != null">AND user_id = #{userId}</if>
<if test="roleId != null">AND role_id = #{roleId}</if>
ORDER BY id DESC
LIMIT #{start}, #{pageSize}
</select>
<select id="selectTotal" resultType="java.lang.Integer">