|
@@ -1,7 +1,7 @@
|
|
|
<?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=".mapper.LiftCertificateMapper" >
|
|
|
- <resultMap id="BaseResultMap" type="LiftCertificate" >
|
|
|
+<mapper namespace="cn.com.ty.lift.enterprise.oa.mapper.LiftCertificateMapper" >
|
|
|
+ <resultMap id="BaseResultMap" type="cn.com.ty.lift.enterprise.oa.entity.LiftCertificate" >
|
|
|
<id column="id" property="id" jdbcType="BIGINT" />
|
|
|
<result column="owner_id" property="ownerId" jdbcType="BIGINT" />
|
|
|
<result column="code" property="code" jdbcType="CHAR" />
|
|
@@ -11,7 +11,7 @@
|
|
|
<result column="status" property="status" jdbcType="TINYINT" />
|
|
|
</resultMap>
|
|
|
|
|
|
- <resultMap id="ResultMapWithBLOBs" type=".entity.LiftCertificateWithBLOBs" extends="BaseResultMap" >
|
|
|
+ <resultMap id="ResultMapWithBLOBs" type="cn.com.ty.lift.enterprise.oa.entity.LiftCertificate" extends="BaseResultMap" >
|
|
|
<result column="first_img_url" property="firstImgUrl" jdbcType="LONGVARCHAR" />
|
|
|
<result column="second_img_url" property="secondImgUrl" jdbcType="LONGVARCHAR" />
|
|
|
</resultMap>
|
|
@@ -38,7 +38,7 @@
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</delete>
|
|
|
|
|
|
- <insert id="insert" parameterType=".entity.LiftCertificateWithBLOBs" >
|
|
|
+ <insert id="insert" parameterType="cn.com.ty.lift.enterprise.oa.entity.LiftCertificate" >
|
|
|
insert into lift_certificate (id, owner_id, code,
|
|
|
issuance_agency, expiration_date, type,
|
|
|
status, first_img_url, second_img_url
|
|
@@ -49,7 +49,7 @@
|
|
|
)
|
|
|
</insert>
|
|
|
|
|
|
- <insert id="insertSelective" parameterType=".entity.LiftCertificateWithBLOBs" >
|
|
|
+ <insert id="insertSelective" parameterType="cn.com.ty.lift.enterprise.oa.entity.LiftCertificate" >
|
|
|
insert into lift_certificate
|
|
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
<if test="id != null" >
|
|
@@ -111,7 +111,7 @@
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType=".entity.LiftCertificateWithBLOBs" >
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="cn.com.ty.lift.enterprise.oa.entity.LiftCertificate" >
|
|
|
update lift_certificate
|
|
|
<set >
|
|
|
<if test="ownerId != null" >
|
|
@@ -142,7 +142,7 @@
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
|
|
|
- <update id="updateByPrimaryKeyWithBLOBs" parameterType=".entity.LiftCertificateWithBLOBs" >
|
|
|
+ <update id="updateByPrimaryKeyWithBLOBs" parameterType="cn.com.ty.lift.enterprise.oa.entity.LiftCertificate" >
|
|
|
update lift_certificate
|
|
|
set owner_id = #{ownerId,jdbcType=BIGINT},
|
|
|
code = #{code,jdbcType=CHAR},
|
|
@@ -155,7 +155,7 @@
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
|
|
|
- <update id="updateByPrimaryKey" parameterType=".entity.LiftCertificate" >
|
|
|
+ <update id="updateByPrimaryKey" parameterType="cn.com.ty.lift.enterprise.oa.entity.LiftCertificate" >
|
|
|
update lift_certificate
|
|
|
set owner_id = #{ownerId,jdbcType=BIGINT},
|
|
|
code = #{code,jdbcType=CHAR},
|