|
@@ -0,0 +1,38 @@
|
|
|
|
+<?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.persagy.fm.sop.dao.SopMapper">
|
|
|
|
+
|
|
|
|
+ <!-- 通用查询映射结果 -->
|
|
|
|
+ <resultMap id="BaseResultMap" type="com.persagy.fm.sop.model.dto.Sop">
|
|
|
|
+ <id column="sop_id" property="sopId" />
|
|
|
|
+ <result column="project_id" property="projectId" />
|
|
|
|
+ <result column="extend_field" property="extendField" />
|
|
|
|
+ <result column="operator" property="operator" />
|
|
|
|
+ <result column="sop_name" property="sopName" />
|
|
|
|
+ <result column="sop_type" property="sopType" />
|
|
|
|
+ <result column="no_obj" property="noObj" />
|
|
|
|
+ <result column="domains" property="domains" />
|
|
|
|
+ <result column="order_type" property="orderType" />
|
|
|
|
+ <result column="tools" property="tools" />
|
|
|
|
+ <result column="fit_objs" property="fitObjs" />
|
|
|
|
+ <result column="equip_model_ids" property="equipModelIds" />
|
|
|
|
+ <result column="labels" property="labels" />
|
|
|
|
+ <result column="steps_version" property="stepsVersion" />
|
|
|
|
+ <result column="steps" property="steps" />
|
|
|
|
+ <result column="related_data" property="relatedData" />
|
|
|
|
+ <result column="sop_status" property="sopStatus" />
|
|
|
|
+ <result column="publish_status" property="publishStatus" />
|
|
|
|
+ <result column="ref_sop_ids" property="refSopIds" />
|
|
|
|
+ <result column="version_count" property="versionCount" />
|
|
|
|
+ <result column="version_explain" property="versionExplain" />
|
|
|
|
+ <result column="version_exp" property="versionExp" />
|
|
|
|
+ <result column="valid" property="valid" />
|
|
|
|
+ <result column="update_time" property="updateTime" />
|
|
|
|
+ </resultMap>
|
|
|
|
+
|
|
|
|
+ <!-- 通用查询结果列 -->
|
|
|
|
+ <sql id="Base_Column_List">
|
|
|
|
+ sop_id, project_id, extend_field, operator, sop_name, sop_type, no_obj, domains, order_type, tools, fit_objs, equip_model_ids, labels, steps_version, steps, related_data, sop_status, publish_status, ref_sop_ids, version_count, version_explain, version_exp, valid, update_time
|
|
|
|
+ </sql>
|
|
|
|
+
|
|
|
|
+</mapper>
|