Commit 0b5ad1b2 by zhengxj

finish 新增订单属性 on 20190223 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@17679 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent a064a965
......@@ -123,7 +123,8 @@ public class SysOrder {
private String installLocationPicture;
private Date completeTime;
private Date reserveInstallTime;
private SysArea area;
private List<SysOrderRepair> orderRepair;
private String orderChannel;
......@@ -533,5 +534,19 @@ public class SysOrder {
public void setAfterSaleType(Integer afterSaleType) {
this.afterSaleType = afterSaleType;
}
/**
* @return the reserveInstallTime
*/
public Date getReserveInstallTime() {
return reserveInstallTime;
}
/**
* @param reserveInstallTime the reserveInstallTime to set
*/
public void setReserveInstallTime(Date reserveInstallTime) {
this.reserveInstallTime = reserveInstallTime;
}
}
\ No newline at end of file
......@@ -40,6 +40,7 @@
<result column="vin_no_picture" jdbcType="VARCHAR" property="vinNoPicture" />
<result column="install_location_picture" jdbcType="VARCHAR" property="installLocationPicture" />
<result column="complete_time" jdbcType="TIMESTAMP" property="completeTime" />
<result column="reserve_install_time" jdbcType="TIMESTAMP" property="reserveInstallTime" />
<result column="install_remark" jdbcType="VARCHAR" property="installRemark" />
<result column="install_device_type" jdbcType="VARCHAR" property="installDeviceType" />
</resultMap>
......@@ -81,7 +82,7 @@
expect_install_time, service_type, car_owner, car_owner_phone, cancel_time, active_status_array, merchant_id,
mechanic_id, repair_reason, remark, create_time, update_time, create_by, update_by, device_no,
install_location, overdue_reason, repair_type, car_picture, vin_no_picture, install_location_picture,
complete_time,install_remark,install_device_type
complete_time,reserve_install_time,install_remark,install_device_type
</sql>
<select id="selectByExample" parameterType="com.glsx.ordercenter.pojo.SysOrderExample" resultMap="BaseResultMap">
select
......@@ -248,6 +249,10 @@
<if test="completeTime != null">
complete_time,
</if>
<if test="reserveInstallTime != null">
reserve_install_time,
</if>
<if test="installRemark != null">
install_remark,
</if>
......@@ -491,6 +496,9 @@
<if test="completeTime != null">
complete_time = #{completeTime,jdbcType=TIMESTAMP},
</if>
<if test="reserveInstallTime != null">
reserve_install_time = #{reserveInstallTime,jdbcType=TIMESTAMP},
</if>
<if test="installRemark != null">
install_remark = #{installRemark,jdbcType=VARCHAR},
</if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!