1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| <?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.ld.igds.log.mapper.InteStatusLogMapper">
|
| <!-- 新增操作日志 -->
| <insert id="addInteStatusLog" parameterType="com.ld.igds.models.InteStatusLog">
| insert into D_INTE_STATUS_LOG(
| BIZ_ID_,
| COMPANY_ID_,
| BIZ_TYPE_,
| INTER_FACE_ID_,
| INTER_FACE_TYPE_,
| UPDATE_TIME_,
| STATUS_) values (
| #{data.bizId},
| #{data.companyId},
| #{data.bizType},
| #{data.interfaceId},
| #{data.interfaceType},
| now(),
| #{data.status}
| )
| </insert>
|
| <!-- 根据业务id查询 -->
| <select id="getLogByBizId" parameterType="java.lang.String" resultType="com.ld.igds.models.InteStatusLog">
| select
| *
| from D_INTE_STATUS_LOG
| where BIZ_ID_ = #{bizId} and COMPANY_ID_ = #{companyId}
| </select>
|
| </mapper>
|
|