From 9808ea784fbe53dd3af1200999420014f1c2014e Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期三, 18 九月 2024 10:39:17 +0800
Subject: [PATCH] order column add
---
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPr/PrOrder.java | 14 ++++++++++++++
pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml | 20 +++++++++++++++++++-
2 files changed, 33 insertions(+), 1 deletions(-)
diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPr/PrOrder.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPr/PrOrder.java
index 15e35ce..303bbb6 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPr/PrOrder.java
+++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPr/PrOrder.java
@@ -59,6 +59,20 @@
*/
public String deliveryDate;
/**
+ * 浜や粯鍦板潃
+ */
+ public String deliveryAddress;
+
+ /**
+ * 鏀惰揣浜�
+ */
+ public String recipient;
+ /**
+ * 鏀惰揣浜烘墜鏈哄彿
+ */
+ public String rMobile;
+
+ /**
* 鐘舵��:姝e父(1)銆佹殏鍋�(0)銆佺粨鏉�(-1)
*/
public Integer status;
diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml
index 850cd9b..6335d2f 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml
@@ -12,6 +12,9 @@
<result property="director" column="director" jdbcType="VARCHAR"/>
<result property="dMobile" column="d_mobile" jdbcType="VARCHAR"/>
<result property="deliveryDate" column="delivery_date" jdbcType="VARCHAR"/>
+ <result property="deliveryAddress" column="delivery_address" jdbcType="VARCHAR"/>
+ <result property="recipient" column="recipient" jdbcType="VARCHAR"/>
+ <result property="rMobile" column="r_mobile" jdbcType="VARCHAR"/>
<result property="status" column="status" jdbcType="TINYINT"/>
<result property="creator" column="creator" jdbcType="VARCHAR"/>
<result property="dt" column="dt" jdbcType="TIMESTAMP"/>
@@ -26,7 +29,7 @@
</resultMap>
<sql id="Base_Column_List">
id,`name`,customer_name,project_name,
- director,d_mobile,delivery_date,
+ director,d_mobile,delivery_date,delivery_address,recipient,r_mobile,
status,creator,dt,
deleted,remark
</sql>
@@ -159,6 +162,9 @@
<if test="director != null and director !=''">director,</if>
<if test="dMobile != null and dMobile !=''">d_mobile,</if>
<if test="deliveryDate!= null and deliveryDate !=''">delivery_date,</if>
+ <if test="deliveryAddress!= null and deliveryAddress !=''">delivery_date,</if>
+ <if test="recipient!= null and recipient !=''">recipient,</if>
+ <if test="rMobile!= null and rMobile !=''">r_mobile,</if>
<if test="status != null">status,</if>
<if test="creator != null and creator !=''">creator,</if>
<if test="dt != null">dt,</if>
@@ -173,6 +179,9 @@
<if test="director != null and director !=''">#{director,jdbcType=VARCHAR},</if>
<if test="dMobile != null and dMobile !=''">#{dMobile,jdbcType=VARCHAR},</if>
<if test="deliveryDate!= null and deliveryDate !=''">#{deliveryDate,jdbcType=VARCHAR},</if>
+ <if test="deliveryAddress!= null and deliveryAddress !=''">#{deliveryAddress,jdbcType=VARCHAR},</if>
+ <if test="recipient!= null and recipient !=''">#{recipient,jdbcType=VARCHAR},</if>
+ <if test="rMobile!= null and rMobile !=''">#{rMobile,jdbcType=VARCHAR},</if>
<if test="status != null">#{status,jdbcType=TINYINT},</if>
<if test="creator != null and creator !=''">#{creator,jdbcType=VARCHAR},</if>
<if test="dt != null">#{dt,jdbcType=TIMESTAMP},</if>
@@ -201,6 +210,15 @@
<if test="deliveryDate!= null and deliveryDate !=''">
delivery_date = #{deliveryDate,jdbcType=VARCHAR},
</if>
+ <if test="deliveryAddress!= null and deliveryAddress !=''">
+ delivery_date = #{deliveryAddress,jdbcType=VARCHAR},
+ </if>
+ <if test="recipient!= null and recipient !=''">
+ recipient = #{recipient,jdbcType=VARCHAR},
+ </if>
+ <if test="rMobile!= null and rMobile !=''">
+ r_mobile = #{rMobile,jdbcType=VARCHAR},
+ </if>
<if test="status != null">
status = #{status,jdbcType=TINYINT},
</if>
--
Gitblit v1.8.0