TASK:workspace、design模块代码;

This commit is contained in:
shahaibo
2023-09-06 14:28:20 +08:00
parent d4c44b72d8
commit de0d8bc459
30 changed files with 1143 additions and 6 deletions

View File

@@ -0,0 +1,24 @@
<?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="com.ai.da.mapper.WorkspaceMapper">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.ai.da.mapper.entity.Workspace">
<id column="id" property="id"/>
<result column="work_space_name" property="workSpaceName"/>
<result column="user_name" property="userName"/>
<result column="sex" property="sex"/>
<result column="position" property="position"/>
<result column="system_designer_percentage" property="systemDesignerPercentage"/>
<result column="mannequin" property="mannequin"/>
<result column="create_time" property="createTime"/>
<result column="update_time" property="updateTime"/>
<result column="is_deleted" property="isDeleted"/>
</resultMap>
<select id="selectWorkspacePage" resultMap="BaseResultMap">
select * from workspace where is_deleted = 0
</select>
</mapper>