|
@@ -12,6 +12,7 @@
|
|
|
<result column="project_id" property="projectId" jdbcType="VARCHAR"/>
|
|
|
<result column="system_id" property="systemId" jdbcType="VARCHAR"/>
|
|
|
<result column="group_code" property="groupCode" jdbcType="VARCHAR"/>
|
|
|
+ <result column="state" property="state" jdbcType="TINYINT"/>
|
|
|
<result column="diagram_content" property="diagramContent" jdbcType="VARCHAR"/>
|
|
|
<result column="creator" property="creator" jdbcType="VARCHAR"/>
|
|
|
<result column="creation_time" property="creationTime" jdbcType="CHAR"/>
|
|
@@ -23,7 +24,7 @@
|
|
|
|
|
|
<sql id="baseSql">
|
|
|
id,name,remark,type,bt_system,template_id,project_id,system_id,group_code,diagram_content,
|
|
|
- creator,creation_time,modifier,modified_time,valid,ts
|
|
|
+ creator,creation_time,modifier,modified_time,valid,ts,state
|
|
|
</sql>
|
|
|
|
|
|
<insert id="saveDiagram">
|
|
@@ -66,6 +67,9 @@
|
|
|
<if test="null != groupCode and groupCode.length > 0">
|
|
|
AND group_code=#{groupCode}
|
|
|
</if>
|
|
|
+ <if test="null != name and name.length > 0">
|
|
|
+ AND name LIKE CONCAT('%',#{name},'%')
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|