mirror of
https://gitee.com/elegant_wings/dbd-meeting.git
synced 2025-06-22 01:19:37 +08:00
38 lines
1.7 KiB
XML
38 lines
1.7 KiB
XML
![]() |
<?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.ics.admin.mapper.CustomerContractLogMapper">
|
||
|
|
||
|
<resultMap type="com.ics.admin.domain.CustomerContractLog" id="CustomerContractLogResult">
|
||
|
<result property="id" column="id" />
|
||
|
<result property="contractId" column="contract_id" />
|
||
|
<result property="status" column="status" />
|
||
|
<result property="remark" column="remark" />
|
||
|
<result property="createBy" column="create_by" />
|
||
|
<result property="createTime" column="create_time" />
|
||
|
<result property="updateBy" column="update_by" />
|
||
|
<result property="updateTime" column="update_time" />
|
||
|
<result property="version" column="version" />
|
||
|
<result property="deleteFlag" column="delete_flag" />
|
||
|
<result property="tenantId" column="tenant_id" />
|
||
|
<result property="parkId" column="park_id" />
|
||
|
</resultMap>
|
||
|
|
||
|
<sql id="selectCustomerContractLogVo">
|
||
|
SELECT id, contract_id, status, remark, create_by, create_time, update_by, update_time, version, delete_flag, tenant_id, park_id FROM ics_customer_contract_log
|
||
|
</sql>
|
||
|
|
||
|
<select id="selectCustomerContractLogList" parameterType="CustomerContractLog" resultMap="CustomerContractLogResult">
|
||
|
<include refid="selectCustomerContractLogVo"/>
|
||
|
<where>
|
||
|
</where>
|
||
|
</select>
|
||
|
|
||
|
<select id="selectCustomerContractLogById" parameterType="Long" resultMap="CustomerContractLogResult">
|
||
|
<include refid="selectCustomerContractLogVo"/>
|
||
|
WHERE id = #{id}
|
||
|
</select>
|
||
|
|
||
|
|
||
|
</mapper>
|