|
|
@@ -16,7 +16,7 @@
|
|
|
<result column="PU_TOTAL" property="puTotal" jdbcType="DOUBLE" />
|
|
|
<result column="PU_REMARK" property="puRemark" jdbcType="VARCHAR" />
|
|
|
<result column="PU_TOTALUPPER" property="puTotalupper" jdbcType="VARCHAR" />
|
|
|
- <result column="PU_INDATE" property="puIndate" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="PU_INDATE" property="createTime" jdbcType="TIMESTAMP" />
|
|
|
<result column="PU_PRINTSTATUS" property="puPrintstatus" jdbcType="VARCHAR" />
|
|
|
<result column="PU_PRINTSTATUSCODE" property="puPrintstatuscode" jdbcType="VARCHAR" />
|
|
|
<result column="PU_ACCEPTSTATUSCODE" property="puAcceptstatuscode" jdbcType="VARCHAR" />
|
|
|
@@ -139,11 +139,11 @@
|
|
|
,
|
|
|
<include refid="Blob_Column_List" />
|
|
|
from purchase
|
|
|
- where pu_id = #{puId,jdbcType=INTEGER}
|
|
|
+ where pu_id = #{id,jdbcType=INTEGER}
|
|
|
</select>
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
|
|
|
delete from purchase
|
|
|
- where pu_id = #{puId,jdbcType=INTEGER}
|
|
|
+ where pu_id = #{id,jdbcType=INTEGER}
|
|
|
</delete>
|
|
|
<delete id="deleteByExample" parameterType="com.usoftchina.saas.purchase.po.PurchaseExample" >
|
|
|
delete from purchase
|
|
|
@@ -163,14 +163,14 @@
|
|
|
pu_text1, pu_text2, pu_text3,
|
|
|
pu_text4, pu_text5, PU_SHIPADDRESSCODE
|
|
|
)
|
|
|
- values (#{puId,jdbcType=INTEGER}, #{puCode,jdbcType=VARCHAR}, #{puDate,jdbcType=TIMESTAMP},
|
|
|
+ values (#{id,jdbcType=INTEGER}, #{puCode,jdbcType=VARCHAR}, #{puDate,jdbcType=TIMESTAMP},
|
|
|
#{puVendid,jdbcType=INTEGER}, #{puVendcode,jdbcType=VARCHAR}, #{puVendname,jdbcType=VARCHAR},
|
|
|
#{puBuyerid,jdbcType=INTEGER}, #{puBuyercode,jdbcType=VARCHAR}, #{puBuyername,jdbcType=VARCHAR},
|
|
|
#{puDelivery,jdbcType=TIMESTAMP}, #{puTaxtotal,jdbcType=DOUBLE}, #{puTotal,jdbcType=DOUBLE},
|
|
|
- #{puRemark,jdbcType=VARCHAR}, #{puTotalupper,jdbcType=VARCHAR}, #{puIndate,jdbcType=TIMESTAMP},
|
|
|
+ #{puRemark,jdbcType=VARCHAR}, #{puTotalupper,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
#{puPrintstatus,jdbcType=VARCHAR}, #{puPrintstatuscode,jdbcType=VARCHAR}, #{puAcceptstatuscode,jdbcType=VARCHAR},
|
|
|
#{puAcceptstatus,jdbcType=VARCHAR}, #{puStatuscode,jdbcType=VARCHAR}, #{puStatus,jdbcType=VARCHAR},
|
|
|
- #{companyid,jdbcType=INTEGER}, #{updatemanid,jdbcType=INTEGER}, #{updatedate,jdbcType=TIMESTAMP},
|
|
|
+ #{companyId,jdbcType=INTEGER}, #{updaterId,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP},
|
|
|
#{puText1,jdbcType=VARCHAR}, #{puText2,jdbcType=VARCHAR}, #{puText3,jdbcType=VARCHAR},
|
|
|
#{puText4,jdbcType=VARCHAR}, #{puText5,jdbcType=VARCHAR}, #{puShipaddresscode,jdbcType=LONGVARCHAR}
|
|
|
)
|
|
|
@@ -220,7 +220,7 @@
|
|
|
<if test="puTotalupper != null" >
|
|
|
PU_TOTALUPPER,
|
|
|
</if>
|
|
|
- <if test="puIndate != null" >
|
|
|
+ <if test="createTime != null" >
|
|
|
PU_INDATE,
|
|
|
</if>
|
|
|
<if test="puPrintstatus != null" >
|
|
|
@@ -309,8 +309,8 @@
|
|
|
<if test="puTotalupper != null" >
|
|
|
#{puTotalupper,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="puIndate != null" >
|
|
|
- #{puIndate,jdbcType=TIMESTAMP},
|
|
|
+ <if test="createTime != null" >
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="puPrintstatus != null" >
|
|
|
#{puPrintstatus,jdbcType=VARCHAR},
|
|
|
@@ -368,8 +368,8 @@
|
|
|
<update id="updateByExampleSelective" parameterType="map" >
|
|
|
update purchase
|
|
|
<set >
|
|
|
- <if test="record.puId != null" >
|
|
|
- pu_id = #{record.puId,jdbcType=INTEGER},
|
|
|
+ <if test="record.id != null" >
|
|
|
+ pu_id = #{record.id,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="record.puCode != null" >
|
|
|
pu_code = #{record.puCode,jdbcType=VARCHAR},
|
|
|
@@ -410,8 +410,8 @@
|
|
|
<if test="record.puTotalupper != null" >
|
|
|
PU_TOTALUPPER = #{record.puTotalupper,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.puIndate != null" >
|
|
|
- PU_INDATE = #{record.puIndate,jdbcType=TIMESTAMP},
|
|
|
+ <if test="record.createTime != null" >
|
|
|
+ PU_INDATE = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="record.puPrintstatus != null" >
|
|
|
PU_PRINTSTATUS = #{record.puPrintstatus,jdbcType=VARCHAR},
|
|
|
@@ -431,14 +431,14 @@
|
|
|
<if test="record.puStatus != null" >
|
|
|
PU_STATUS = #{record.puStatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.companyid != null" >
|
|
|
- companyid = #{record.companyid,jdbcType=INTEGER},
|
|
|
+ <if test="record.companyId != null" >
|
|
|
+ companyid = #{record.companyId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="record.updatemanid != null" >
|
|
|
- updatemanid = #{record.updatemanid,jdbcType=INTEGER},
|
|
|
+ <if test="record.updaterId != null" >
|
|
|
+ updatemanid = #{record.updaterId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="record.updatedate != null" >
|
|
|
- updatedate = #{record.updatedate,jdbcType=TIMESTAMP},
|
|
|
+ <if test="record.updateTime != null" >
|
|
|
+ updatedate = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="record.puText1 != null" >
|
|
|
pu_text1 = #{record.puText1,jdbcType=VARCHAR},
|
|
|
@@ -465,7 +465,7 @@
|
|
|
</update>
|
|
|
<update id="updateByExampleWithBLOBs" parameterType="map" >
|
|
|
update purchase
|
|
|
- set pu_id = #{record.puId,jdbcType=INTEGER},
|
|
|
+ set pu_id = #{record.id,jdbcType=INTEGER},
|
|
|
pu_code = #{record.puCode,jdbcType=VARCHAR},
|
|
|
pu_date = #{record.puDate,jdbcType=TIMESTAMP},
|
|
|
pu_vendid = #{record.puVendid,jdbcType=INTEGER},
|
|
|
@@ -479,16 +479,16 @@
|
|
|
PU_TOTAL = #{record.puTotal,jdbcType=DOUBLE},
|
|
|
PU_REMARK = #{record.puRemark,jdbcType=VARCHAR},
|
|
|
PU_TOTALUPPER = #{record.puTotalupper,jdbcType=VARCHAR},
|
|
|
- PU_INDATE = #{record.puIndate,jdbcType=TIMESTAMP},
|
|
|
+ PU_INDATE = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
PU_PRINTSTATUS = #{record.puPrintstatus,jdbcType=VARCHAR},
|
|
|
PU_PRINTSTATUSCODE = #{record.puPrintstatuscode,jdbcType=VARCHAR},
|
|
|
PU_ACCEPTSTATUSCODE = #{record.puAcceptstatuscode,jdbcType=VARCHAR},
|
|
|
PU_ACCEPTSTATUS = #{record.puAcceptstatus,jdbcType=VARCHAR},
|
|
|
PU_STATUSCODE = #{record.puStatuscode,jdbcType=VARCHAR},
|
|
|
PU_STATUS = #{record.puStatus,jdbcType=VARCHAR},
|
|
|
- companyid = #{record.companyid,jdbcType=INTEGER},
|
|
|
- updatemanid = #{record.updatemanid,jdbcType=INTEGER},
|
|
|
- updatedate = #{record.updatedate,jdbcType=TIMESTAMP},
|
|
|
+ companyid = #{record.companyId,jdbcType=INTEGER},
|
|
|
+ updatemanid = #{record.updaterId,jdbcType=INTEGER},
|
|
|
+ updatedate = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
pu_text1 = #{record.puText1,jdbcType=VARCHAR},
|
|
|
pu_text2 = #{record.puText2,jdbcType=VARCHAR},
|
|
|
pu_text3 = #{record.puText3,jdbcType=VARCHAR},
|
|
|
@@ -501,7 +501,7 @@
|
|
|
</update>
|
|
|
<update id="updateByExample" parameterType="map" >
|
|
|
update purchase
|
|
|
- set pu_id = #{record.puId,jdbcType=INTEGER},
|
|
|
+ set pu_id = #{record.id,jdbcType=INTEGER},
|
|
|
pu_code = #{record.puCode,jdbcType=VARCHAR},
|
|
|
pu_date = #{record.puDate,jdbcType=TIMESTAMP},
|
|
|
pu_vendid = #{record.puVendid,jdbcType=INTEGER},
|
|
|
@@ -515,16 +515,16 @@
|
|
|
PU_TOTAL = #{record.puTotal,jdbcType=DOUBLE},
|
|
|
PU_REMARK = #{record.puRemark,jdbcType=VARCHAR},
|
|
|
PU_TOTALUPPER = #{record.puTotalupper,jdbcType=VARCHAR},
|
|
|
- PU_INDATE = #{record.puIndate,jdbcType=TIMESTAMP},
|
|
|
+ PU_INDATE = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
PU_PRINTSTATUS = #{record.puPrintstatus,jdbcType=VARCHAR},
|
|
|
PU_PRINTSTATUSCODE = #{record.puPrintstatuscode,jdbcType=VARCHAR},
|
|
|
PU_ACCEPTSTATUSCODE = #{record.puAcceptstatuscode,jdbcType=VARCHAR},
|
|
|
PU_ACCEPTSTATUS = #{record.puAcceptstatus,jdbcType=VARCHAR},
|
|
|
PU_STATUSCODE = #{record.puStatuscode,jdbcType=VARCHAR},
|
|
|
PU_STATUS = #{record.puStatus,jdbcType=VARCHAR},
|
|
|
- companyid = #{record.companyid,jdbcType=INTEGER},
|
|
|
- updatemanid = #{record.updatemanid,jdbcType=INTEGER},
|
|
|
- updatedate = #{record.updatedate,jdbcType=TIMESTAMP},
|
|
|
+ companyid = #{record.companyId,jdbcType=INTEGER},
|
|
|
+ updatemanid = #{record.updaterId,jdbcType=INTEGER},
|
|
|
+ updatedate = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
pu_text1 = #{record.puText1,jdbcType=VARCHAR},
|
|
|
pu_text2 = #{record.puText2,jdbcType=VARCHAR},
|
|
|
pu_text3 = #{record.puText3,jdbcType=VARCHAR},
|
|
|
@@ -576,8 +576,8 @@
|
|
|
<if test="puTotalupper != null" >
|
|
|
PU_TOTALUPPER = #{puTotalupper,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="puIndate != null" >
|
|
|
- PU_INDATE = #{puIndate,jdbcType=TIMESTAMP},
|
|
|
+ <if test="createTime != null" >
|
|
|
+ PU_INDATE = #{createTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="puPrintstatus != null" >
|
|
|
PU_PRINTSTATUS = #{puPrintstatus,jdbcType=VARCHAR},
|
|
|
@@ -597,14 +597,14 @@
|
|
|
<if test="puStatus != null" >
|
|
|
PU_STATUS = #{puStatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="companyid != null" >
|
|
|
- companyid = #{companyid,jdbcType=INTEGER},
|
|
|
+ <if test="companyId != null" >
|
|
|
+ companyid = #{companyId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="updatemanid != null" >
|
|
|
- updatemanid = #{updatemanid,jdbcType=INTEGER},
|
|
|
+ <if test="updaterId != null" >
|
|
|
+ updatemanid = #{updaterId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="updatedate != null" >
|
|
|
- updatedate = #{updatedate,jdbcType=TIMESTAMP},
|
|
|
+ <if test="updateTime != null" >
|
|
|
+ updatedate = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="puText1 != null" >
|
|
|
pu_text1 = #{puText1,jdbcType=VARCHAR},
|
|
|
@@ -625,7 +625,7 @@
|
|
|
PU_SHIPADDRESSCODE = #{puShipaddresscode,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
</set>
|
|
|
- where pu_id = #{puId,jdbcType=INTEGER}
|
|
|
+ where pu_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.usoftchina.saas.purchase.po.Purchase" >
|
|
|
update purchase
|
|
|
@@ -642,23 +642,23 @@
|
|
|
PU_TOTAL = #{puTotal,jdbcType=DOUBLE},
|
|
|
PU_REMARK = #{puRemark,jdbcType=VARCHAR},
|
|
|
PU_TOTALUPPER = #{puTotalupper,jdbcType=VARCHAR},
|
|
|
- PU_INDATE = #{puIndate,jdbcType=TIMESTAMP},
|
|
|
+ PU_INDATE = #{createTime,jdbcType=TIMESTAMP},
|
|
|
PU_PRINTSTATUS = #{puPrintstatus,jdbcType=VARCHAR},
|
|
|
PU_PRINTSTATUSCODE = #{puPrintstatuscode,jdbcType=VARCHAR},
|
|
|
PU_ACCEPTSTATUSCODE = #{puAcceptstatuscode,jdbcType=VARCHAR},
|
|
|
PU_ACCEPTSTATUS = #{puAcceptstatus,jdbcType=VARCHAR},
|
|
|
PU_STATUSCODE = #{puStatuscode,jdbcType=VARCHAR},
|
|
|
PU_STATUS = #{puStatus,jdbcType=VARCHAR},
|
|
|
- companyid = #{companyid,jdbcType=INTEGER},
|
|
|
- updatemanid = #{updatemanid,jdbcType=INTEGER},
|
|
|
- updatedate = #{updatedate,jdbcType=TIMESTAMP},
|
|
|
+ companyid = #{companyId,jdbcType=INTEGER},
|
|
|
+ updatemanid = #{updaterId,jdbcType=INTEGER},
|
|
|
+ updatedate = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
pu_text1 = #{puText1,jdbcType=VARCHAR},
|
|
|
pu_text2 = #{puText2,jdbcType=VARCHAR},
|
|
|
pu_text3 = #{puText3,jdbcType=VARCHAR},
|
|
|
pu_text4 = #{puText4,jdbcType=VARCHAR},
|
|
|
pu_text5 = #{puText5,jdbcType=VARCHAR},
|
|
|
PU_SHIPADDRESSCODE = #{puShipaddresscode,jdbcType=LONGVARCHAR}
|
|
|
- where pu_id = #{puId,jdbcType=INTEGER}
|
|
|
+ where pu_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.usoftchina.saas.purchase.po.Purchase" >
|
|
|
update purchase
|
|
|
@@ -675,21 +675,21 @@
|
|
|
PU_TOTAL = #{puTotal,jdbcType=DOUBLE},
|
|
|
PU_REMARK = #{puRemark,jdbcType=VARCHAR},
|
|
|
PU_TOTALUPPER = #{puTotalupper,jdbcType=VARCHAR},
|
|
|
- PU_INDATE = #{puIndate,jdbcType=TIMESTAMP},
|
|
|
+ PU_INDATE = #{createTime,jdbcType=TIMESTAMP},
|
|
|
PU_PRINTSTATUS = #{puPrintstatus,jdbcType=VARCHAR},
|
|
|
PU_PRINTSTATUSCODE = #{puPrintstatuscode,jdbcType=VARCHAR},
|
|
|
PU_ACCEPTSTATUSCODE = #{puAcceptstatuscode,jdbcType=VARCHAR},
|
|
|
PU_ACCEPTSTATUS = #{puAcceptstatus,jdbcType=VARCHAR},
|
|
|
PU_STATUSCODE = #{puStatuscode,jdbcType=VARCHAR},
|
|
|
PU_STATUS = #{puStatus,jdbcType=VARCHAR},
|
|
|
- companyid = #{companyid,jdbcType=INTEGER},
|
|
|
- updatemanid = #{updatemanid,jdbcType=INTEGER},
|
|
|
- updatedate = #{updatedate,jdbcType=TIMESTAMP},
|
|
|
+ companyid = #{companyId,jdbcType=INTEGER},
|
|
|
+ updatemanid = #{updaterId,jdbcType=INTEGER},
|
|
|
+ updatedate = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
pu_text1 = #{puText1,jdbcType=VARCHAR},
|
|
|
pu_text2 = #{puText2,jdbcType=VARCHAR},
|
|
|
pu_text3 = #{puText3,jdbcType=VARCHAR},
|
|
|
pu_text4 = #{puText4,jdbcType=VARCHAR},
|
|
|
pu_text5 = #{puText5,jdbcType=VARCHAR}
|
|
|
- where pu_id = #{puId,jdbcType=INTEGER}
|
|
|
+ where pu_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
</mapper>
|