forked from integrated_whb/integrated_whb
BUS_EIGHTWORK_FLOW_LOG的mapper创建
parent
c3a95c61c0
commit
a3c18c875e
|
@ -0,0 +1,56 @@
|
|||
<?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.zcloud.mapper.dsno1.eightWork.EightWorkFlowLogMapper">
|
||||
|
||||
<!--表名 -->
|
||||
<sql id="tableName">
|
||||
BUS_EIGHTWORK_FLOW_LOG
|
||||
</sql>
|
||||
|
||||
<!--数据字典表名 -->
|
||||
<sql id="dicTableName">
|
||||
SYS_DICTIONARIES
|
||||
</sql>
|
||||
|
||||
<!-- 字段 -->
|
||||
<sql id="Field">
|
||||
f.LOG_ID,
|
||||
f.TASK_ID,
|
||||
f.STEP_ID,
|
||||
f.ACT_USER,
|
||||
f.ACT_TIME,
|
||||
f.STATUS
|
||||
</sql>
|
||||
|
||||
<!-- 字段用于新增 -->
|
||||
<sql id="Field2">
|
||||
LOG_ID,
|
||||
TASK_ID,
|
||||
STEP_ID,
|
||||
ACT_USER,
|
||||
ACT_TIME,
|
||||
STATUS
|
||||
</sql>
|
||||
|
||||
<!-- 字段值 -->
|
||||
<sql id="FieldValue">
|
||||
#{LOG_ID},
|
||||
#{TASK_ID},
|
||||
#{STEP_ID},
|
||||
#{ACT_USER},
|
||||
#{ACT_TIME},
|
||||
#{STATUS}
|
||||
</sql>
|
||||
|
||||
<!-- 新增-->
|
||||
<insert id="save" parameterType="pd">
|
||||
insert into
|
||||
<include refid="tableName"></include>
|
||||
(
|
||||
<include refid="Field2"></include>
|
||||
) values (
|
||||
<include refid="FieldValue"></include>
|
||||
)
|
||||
</insert>
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue