Commit 0fbaf780 by zhengxj

finish 新增订单属性 on 20190222 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@17613 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 6be36841
......@@ -147,6 +147,16 @@ public class SysOrder {
private String installRemark;
private Byte installDiviceType;
public Byte getInstallDiviceType() {
return installDiviceType;
}
public void setInstallDiviceType(Byte installDiviceType) {
this.installDiviceType = installDiviceType;
}
public String getInstallRemark() {
return installRemark;
}
......
......@@ -41,6 +41,7 @@
<result column="install_location_picture" jdbcType="VARCHAR" property="installLocationPicture" />
<result column="complete_time" jdbcType="TIMESTAMP" property="completeTime" />
<result column="install_remark" jdbcType="VARCHAR" property="installRemark" />
<result column="install_divice_type" jdbcType="TINYINT" property="installDiviceType" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
......@@ -80,7 +81,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
complete_time,install_remark,install_divice_type
</sql>
<select id="selectByExample" parameterType="com.glsx.ordercenter.pojo.SysOrderExample" resultMap="BaseResultMap">
select
......@@ -250,6 +251,9 @@
<if test="installRemark != null">
install_remark,
</if>
<if test="installDiviceType != null">
install_divice_type,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="orderSn != null">
......@@ -363,6 +367,9 @@
<if test="installRemark != null">
#{installRemark,jdbcType=VARCHAR},
</if>
<if test="installDiviceType != null">
#{installDiviceType,jdbcType=TINYINT},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.glsx.ordercenter.pojo.SysOrderExample"
......@@ -486,6 +493,9 @@
</if>
<if test="installRemark != null">
install_remark = #{installRemark,jdbcType=VARCHAR},
</if>
<if test="installDiviceType != null">
#{installDiviceType,jdbcType=TINYINT},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!