Commit 3fdbd3bf by duanhq

Revert: 700F设备的安装单新增两张照片 v 1.2.1

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@22449 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 96c4e8fe
...@@ -158,9 +158,4 @@ public interface Constants { ...@@ -158,9 +158,4 @@ public interface Constants {
* 生成订单号,分布式锁lockName * 生成订单号,分布式锁lockName
*/ */
public static final String ORDER_NO_LOCK_NAME = "carservice:lock:order:no"; public static final String ORDER_NO_LOCK_NAME = "carservice:lock:order:no";
/**
* 设备类型(700F)
*/
public static final String DEVICE_TYPE_700F = "sys_order_service_item_gps_GT700F";
} }
...@@ -58,33 +58,7 @@ public class OrderActivateReq implements Serializable{ ...@@ -58,33 +58,7 @@ public class OrderActivateReq implements Serializable{
private String installLocationPicture; private String installLocationPicture;
@NotEmpty @NotEmpty
private String deviceNo; private String deviceNo;
/**
*接电位置图片(针对700F设备的单)
*/
private String connectLocationPicture;
/**
*周围环境照片(针对700F设备的单)
*/
private String surroundingPicture;
public String getConnectLocationPicture() {
return connectLocationPicture;
}
public void setConnectLocationPicture(String connectLocationPicture) {
this.connectLocationPicture = connectLocationPicture;
}
public String getSurroundingPicture() {
return surroundingPicture;
}
public void setSurroundingPicture(String surroundingPicture) {
this.surroundingPicture = surroundingPicture;
}
public Integer getId() { public Integer getId() {
return id; return id;
} }
......
...@@ -244,32 +244,6 @@ public class SysOrder { ...@@ -244,32 +244,6 @@ public class SysOrder {
*/ */
private Integer orderChannelOrgId; private Integer orderChannelOrgId;
/**
*接电位置图片(针对700F设备的单)
*/
private String connectLocationPicture;
/**
*周围环境照片(针对700F设备的单)
*/
private String surroundingPicture;
public String getConnectLocationPicture() {
return connectLocationPicture;
}
public void setConnectLocationPicture(String connectLocationPicture) {
this.connectLocationPicture = connectLocationPicture;
}
public String getSurroundingPicture() {
return surroundingPicture;
}
public void setSurroundingPicture(String surroundingPicture) {
this.surroundingPicture = surroundingPicture;
}
public String getReserveInstallReason() { public String getReserveInstallReason() {
return reserveInstallReason; return reserveInstallReason;
} }
......
...@@ -136,13 +136,7 @@ public class StandardOrderServiceImpl implements StandardOrderService { ...@@ -136,13 +136,7 @@ public class StandardOrderServiceImpl implements StandardOrderService {
installLocionPicture.add(lastOrder.getVinNoPicture()); installLocionPicture.add(lastOrder.getVinNoPicture());
installLocionPicture.add(lastOrder.getCarPicture()); installLocionPicture.add(lastOrder.getCarPicture());
//安装设备类型为F700的的工单需要接电位置图片和周围环境照片 SysUser sysUser = new SysUser();
if(Constants.DEVICE_TYPE_700F.equals(lastOrder.getInstallDeviceType())){
installLocionPicture.add(lastOrder.getConnectLocationPicture());
installLocionPicture.add(lastOrder.getSurroundingPicture());
}
SysUser sysUser;
for (SysOrder sysOrder : sysOrders) { for (SysOrder sysOrder : sysOrders) {
//添加安装照片 //添加安装照片
installLocionPicture.add(sysOrder.getInstallLocationPicture()); installLocionPicture.add(sysOrder.getInstallLocationPicture());
......
...@@ -54,8 +54,6 @@ ...@@ -54,8 +54,6 @@
<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" /> <result column="reserve_install_reason" jdbcType="VARCHAR" property="reserveInstallReason" />
<result column="connect_location_picture" jdbcType="VARCHAR" property="connectLocationPicture" />
<result column="surrounding_picture" jdbcType="VARCHAR" property="surroundingPicture" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<where> <where>
...@@ -96,7 +94,7 @@ ...@@ -96,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,reserve_install_reason,connect_location_picture,surrounding_picture 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
...@@ -561,12 +559,6 @@ ...@@ -561,12 +559,6 @@
<if test="reserveInstallReason != null"> <if test="reserveInstallReason != null">
reserve_install_reason = #{reserveInstallReason}, reserve_install_reason = #{reserveInstallReason},
</if> </if>
<if test="connectLocationPicture != null">
connect_location_picture = #{connectLocationPicture},
</if>
<if test="surroundingPicture != null">
surrounding_picture = #{surroundingPicture},
</if>
</set> </set>
where id = #{id,jdbcType=INTEGER} where 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!