mitao
2024-12-17 ab7b8b5e702989d894620c41fbaa0e2d6904ecd5
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
37
38
39
<?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.sinata.system.mapper.MwContractMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.sinata.system.domain.MwContract">
        <id column="ID" property="id" />
        <result column="DEL_FLAG" property="delFlag" />
        <result column="CREATE_BY" property="createBy" />
        <result column="CREATE_TIME" property="createTime" />
        <result column="UPDATE_BY" property="updateBy" />
        <result column="UPDATE_TIME" property="updateTime" />
        <result column="DEPARTMENT_ID" property="departmentId" />
        <result column="CONTRACT_NUMBER" property="contractNumber" />
        <result column="CONTRACT_NAME" property="contractName" />
        <result column="CONTRACT_AMOUNT" property="contractAmount" />
        <result column="EFFECTIVE_DATE" property="effectiveDate" />
        <result column="TERMINATION_DATE" property="terminationDate" />
        <result column="PARTY_A_NAME" property="partyAName" />
        <result column="PARTY_A_CONTACT" property="partyAContact" />
        <result column="PARTY_A_PHONE" property="partyAPhone" />
        <result column="PARTY_B_NAME" property="partyBName" />
        <result column="PARTY_B_CONTACT" property="partyBContact" />
        <result column="PARTY_B_PHONE" property="partyBPhone" />
        <result column="ATTACHMENT" property="attachment" />
        <result column="REMARK" property="remark" />
    </resultMap>
 
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        DEL_FLAG,
        CREATE_BY,
        CREATE_TIME,
        UPDATE_BY,
        UPDATE_TIME,
        ID, DEPARTMENT_ID, CONTRACT_NUMBER, CONTRACT_NAME, CONTRACT_AMOUNT, EFFECTIVE_DATE, TERMINATION_DATE, PARTY_A_NAME, PARTY_A_CONTACT, PARTY_A_PHONE, PARTY_B_NAME, PARTY_B_CONTACT, PARTY_B_PHONE, ATTACHMENT, REMARK
    </sql>
 
</mapper>