|
|
@@ -27,28 +27,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
select mercId, mercName, mercStatus, mercType, contact, mail, mobile, address, personName, idNumber, companyName, companyCode, delFlag, createUser, createTime, updateUser, updateTime from m_merchant
|
|
|
</sql>
|
|
|
|
|
|
- <sql id="selectMerchantExt">
|
|
|
- select
|
|
|
- ${tableAlias}.mercId,
|
|
|
- ${tableAlias}.mercName,
|
|
|
- ${tableAlias}.mercStatus,
|
|
|
- ${tableAlias}.mercType,
|
|
|
- ${tableAlias}.contact,
|
|
|
- ${tableAlias}.mail,
|
|
|
- ${tableAlias}.mobile,
|
|
|
- ${tableAlias}.address,
|
|
|
- ${tableAlias}.personName,
|
|
|
- ${tableAlias}.idNumber,
|
|
|
- ${tableAlias}.companyName,
|
|
|
- ${tableAlias}.companyCode,
|
|
|
- ${tableAlias}.delFlag,
|
|
|
- ${tableAlias}.createUser,
|
|
|
- ${tableAlias}.createTime,
|
|
|
- ${tableAlias}.updateUser,
|
|
|
- ${tableAlias}.updateTime
|
|
|
- from m_merchant ${tableAlias}
|
|
|
- </sql>
|
|
|
-
|
|
|
<select id="selectMerchantList" parameterType="Merchant" resultMap="MerchantResult">
|
|
|
<include refid="selectMerchant"/>
|
|
|
<where>
|