TASK:workspace、design模块代码;
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?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.TDesignPythonOutfitDetailMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="tDesignPythonOutfitDetailResultMap" type="com.ai.da.mapper.entity.TDesignPythonOutfitDetail">
|
||||
<id column="id" property="id"/>
|
||||
<result column="design_id" property="designId"/>
|
||||
<result column="design_python_outfit_id" property="designPythonOutfitId"/>
|
||||
<result column="collection_element_id" property="collectionElementId"/>
|
||||
<result column="image_category" property="imageCategory"/>
|
||||
<result column="image_url" property="imageUrl"/>
|
||||
<result column="mask_url" property="maskUrl"/>
|
||||
<result column="position" property="position"/>
|
||||
<result column="user_id" property="userId"/>
|
||||
<result column="create_date" property="createDate"/>
|
||||
<result column="update_date" property="updateDate"/>
|
||||
<result column="is_deleted" property="isDeleted"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectTDesignPythonOutfitDetailPage" resultMap="tDesignPythonOutfitDetailResultMap">
|
||||
select * from t_design_python_outfit_detail where is_deleted = 0
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
22
src/main/resources/mapper/TDesignPythonOutfitMapper.xml
Normal file
22
src/main/resources/mapper/TDesignPythonOutfitMapper.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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.TDesignPythonOutfitMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="tDesignPythonOutfitResultMap" type="com.ai.da.mapper.entity.TDesignPythonOutfit">
|
||||
<id column="id" property="id"/>
|
||||
<result column="design_id" property="designId"/>
|
||||
<result column="collection_id" property="collectionId"/>
|
||||
<result column="design_url" property="designUrl"/>
|
||||
<result column="user_id" property="userId"/>
|
||||
<result column="create_date" property="createDate"/>
|
||||
<result column="update_date" property="updateDate"/>
|
||||
<result column="is_deleted" property="isDeleted"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectTDesignPythonOutfitPage" resultMap="tDesignPythonOutfitResultMap">
|
||||
select * from t_design_python_outfit where is_deleted = 0
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
24
src/main/resources/mapper/WorkspaceMapper.xml
Normal file
24
src/main/resources/mapper/WorkspaceMapper.xml
Normal 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>
|
||||
Reference in New Issue
Block a user