Commit b483a72b by duanhq

新增技工发货方式,预约安装原因 v 1.2.0

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21550 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 037f4a88
...@@ -134,7 +134,15 @@ public class SysOrder { ...@@ -134,7 +134,15 @@ public class SysOrder {
private Date completeTime; private Date completeTime;
/**
* 预约安装时间
*/
private Date reserveInstallTime; private Date reserveInstallTime;
/**
* 预约安装原因
*/
private String reserveInstallReason;
private SysArea area; private SysArea area;
private List<SysOrderRepair> orderRepair; private List<SysOrderRepair> orderRepair;
private String orderChannel; private String orderChannel;
...@@ -236,6 +244,14 @@ public class SysOrder { ...@@ -236,6 +244,14 @@ public class SysOrder {
*/ */
private Integer orderChannelOrgId; private Integer orderChannelOrgId;
public String getReserveInstallReason() {
return reserveInstallReason;
}
public void setReserveInstallReason(String reserveInstallReason) {
this.reserveInstallReason = reserveInstallReason;
}
public Date getReassignMechanicTime() { public Date getReassignMechanicTime() {
return reassignMechanicTime; return reassignMechanicTime;
} }
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
<result column="installDeviceTypeName" jdbcType="VARCHAR" property="installDeviceTypeName" /> <result column="installDeviceTypeName" jdbcType="VARCHAR" property="installDeviceTypeName" />
<result column="orgName" jdbcType="VARCHAR" property="rootOrgName" /> <result column="orgName" jdbcType="VARCHAR" property="rootOrgName" />
<result column="orderChannelOrgId" jdbcType="INTEGER" property="orderChannelOrgId" /> <result column="orderChannelOrgId" jdbcType="INTEGER" property="orderChannelOrgId" />
<result column="reserve_install_reason" jdbcType="VARCHAR" property="reserveInstallReason" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<where> <where>
...@@ -93,7 +94,7 @@ ...@@ -93,7 +94,7 @@
mechanic_id, repair_reason, remark, create_time, update_time, create_by, update_by, device_no, 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, install_location, overdue_reason, repair_type, car_picture, vin_no_picture, install_location_picture,
complete_time,install_remark,install_device_type,reserve_install_time, complete_time,install_remark,install_device_type,reserve_install_time,
work_order_no, channel, merchant_name work_order_no, channel, merchant_name,reserve_install_reason
</sql> </sql>
<select id="selectByExample" parameterType="com.glsx.ordercenter.pojo.SysOrderExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="com.glsx.ordercenter.pojo.SysOrderExample" resultMap="BaseResultMap">
select select
...@@ -555,6 +556,9 @@ ...@@ -555,6 +556,9 @@
<if test="reassignMechanicTime != null"> <if test="reassignMechanicTime != null">
reassign_mechanic_time = #{reassignMechanicTime}, reassign_mechanic_time = #{reassignMechanicTime},
</if> </if>
<if test="reserveInstallReason != null">
reserve_install_reason = #{reserveInstallReason},
</if>
</set> </set>
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</update> </update>
......
...@@ -80,6 +80,19 @@ public class SysMechanic extends SysUser{ ...@@ -80,6 +80,19 @@ public class SysMechanic extends SysUser{
*/ */
private String queryContent; private String queryContent;
/**
*发货方式(1:服务商发货;2:广联发货)
*/
private Integer sendType;
public Integer getSendType() {
return sendType;
}
public void setSendType(Integer sendType) {
this.sendType = sendType;
}
public String getDistrict() { public String getDistrict() {
return district; return district;
} }
......
...@@ -373,6 +373,9 @@ ...@@ -373,6 +373,9 @@
<if test="mechanicStatus != null"> <if test="mechanicStatus != null">
mechanic_status, mechanic_status,
</if> </if>
<if test="sendType != null">
send_type,
</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="userId != null"> <if test="userId != null">
...@@ -402,6 +405,9 @@ ...@@ -402,6 +405,9 @@
<if test="mechanicStatus != null"> <if test="mechanicStatus != null">
#{mechanicStatus,jdbcType=VARCHAR}, #{mechanicStatus,jdbcType=VARCHAR},
</if> </if>
<if test="sendType != null">
#{send_type},
</if>
</trim> </trim>
</insert> </insert>
...@@ -599,6 +605,9 @@ ...@@ -599,6 +605,9 @@
<if test="workStatus != null"> <if test="workStatus != null">
work_status = #{workStatus}, work_status = #{workStatus},
</if> </if>
<if test="sendType != null">
send_type = #{sendType},
</if>
</set> </set>
where user_id = #{id,jdbcType=INTEGER} where user_id = #{id,jdbcType=INTEGER}
</update> </update>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!