You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udi-wms-third-java/target/classes/mybatis/mapper/basic/BasicCorpDao.xml

72 lines
3.0 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.glxp.mipsdl.dao.basic.BasicCorpDao">
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.basic.BasicCorpEntity">
<!--@mbg.generated-->
<!--@Table basic_corp-->
<id column="id" jdbcType="INTEGER" property="id"/>
<result column="erpId" jdbcType="VARCHAR" property="erpId"/>
<result column="name" jdbcType="VARCHAR" property="name"/>
<result column="spell" jdbcType="VARCHAR" property="spell"/>
<result column="addr" jdbcType="VARCHAR" property="addr"/>
<result column="status" jdbcType="TINYINT" property="status"/>
<result column="type" jdbcType="VARCHAR" property="type"/>
<result column="contact" jdbcType="VARCHAR" property="contact"/>
<result column="mobile" jdbcType="VARCHAR" property="mobile"/>
<result column="creditNo" jdbcType="VARCHAR" property="creditNo"/>
<result column="thirdId" jdbcType="VARCHAR" property="thirdId"/>
<result column="thirdId1" jdbcType="VARCHAR" property="thirdId1"/>
<result column="thirdId2" jdbcType="VARCHAR" property="thirdId2"/>
<result column="thirdId3" jdbcType="VARCHAR" property="thirdId3"/>
<result column="thirdId4" jdbcType="VARCHAR" property="thirdId4"/>
<result column="thirdName" jdbcType="VARCHAR" property="thirdName"/>
<result column="thirdName1" jdbcType="VARCHAR" property="thirdName1"/>
<result column="thirdName2" jdbcType="VARCHAR" property="thirdName2"/>
<result column="thirdName3" jdbcType="VARCHAR" property="thirdName3"/>
<result column="thirdName4" jdbcType="VARCHAR" property="thirdName4"/>
<result column="corpType" jdbcType="TINYINT" property="corpType"/>
<result column="outType" jdbcType="TINYINT" property="outType"/>
<result column="createUser" jdbcType="VARCHAR" property="createUser"/>
<result column="createTime" jdbcType="TIMESTAMP" property="createTime"/>
<result column="updateUser" jdbcType="VARCHAR" property="updateUser"/>
<result column="updateTime" jdbcType="TIMESTAMP" property="updateTime"/>
<result column="remark" jdbcType="VARCHAR" property="remark"/>
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
id,
erpId,
`name`,
spell,
addr,
`status`,
`type`,
contact,
mobile,
creditNo,
thirdId,
thirdId1,
thirdId2,
thirdId3,
thirdId4,
thirdName,
thirdName1,
thirdName2,
thirdName3,
thirdName4,
corpType,
outType,
`createUser`,
createTime,
updateUser,
updateTime,
remark
</sql>
<select id="selectNameByErpId" resultType="java.lang.String">
select `name`
from basic_corp
where erpId = #{erpId}
</select>
</mapper>