CustomerMapper.xml
635 Bytes
<?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.huaheng.pc.general.customer.mapper.CustomerMapper">
<select id="selectEntity" resultType="com.huaheng.pc.general.customer.domain.Customer">
SELECT id, warehouseId, warehouseCode, code, code2, name, address1, address2, city, province, country, postalCode, attentionTo, phoneNum, mobile, faxNum, email, created, createdBy, lastUpdated, lastUpdatedBy, enable, deleted, userDef1, userDef2, userDef3 FROM customer WHERE code = #{code}
</select>
</mapper>