1
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<?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.ruoyi.jarvis.mapper.TencentDocOperationLogMapper">
|
||||
|
||||
<resultMap type="com.ruoyi.jarvis.domain.TencentDocOperationLog" id="TencentDocOperationLogResult">
|
||||
<id property="id" column="id" />
|
||||
<result property="fileId" column="file_id" />
|
||||
<result property="sheetId" column="sheet_id" />
|
||||
<result property="operationType" column="operation_type" />
|
||||
<result property="orderNo" column="order_no" />
|
||||
<result property="targetRow" column="target_row" />
|
||||
<result property="logisticsLink" column="logistics_link" />
|
||||
<result property="operationStatus" column="operation_status" />
|
||||
<result property="errorMessage" column="error_message" />
|
||||
<result property="operator" column="operator" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<insert id="insertLog" parameterType="com.ruoyi.jarvis.domain.TencentDocOperationLog">
|
||||
insert into tencent_doc_operation_log
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="fileId != null">file_id,</if>
|
||||
<if test="sheetId != null">sheet_id,</if>
|
||||
<if test="operationType != null">operation_type,</if>
|
||||
<if test="orderNo != null">order_no,</if>
|
||||
<if test="targetRow != null">target_row,</if>
|
||||
<if test="logisticsLink != null">logistics_link,</if>
|
||||
<if test="operationStatus != null">operation_status,</if>
|
||||
<if test="errorMessage != null">error_message,</if>
|
||||
<if test="operator != null">operator,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
create_time
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="fileId != null">#{fileId},</if>
|
||||
<if test="sheetId != null">#{sheetId},</if>
|
||||
<if test="operationType != null">#{operationType},</if>
|
||||
<if test="orderNo != null">#{orderNo},</if>
|
||||
<if test="targetRow != null">#{targetRow},</if>
|
||||
<if test="logisticsLink != null">#{logisticsLink},</if>
|
||||
<if test="operationStatus != null">#{operationStatus},</if>
|
||||
<if test="errorMessage != null">#{errorMessage},</if>
|
||||
<if test="operator != null">#{operator},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
now()
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user