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 {
* 生成订单号,分布式锁lockName
*/
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";
}
......@@ -59,32 +59,6 @@ public class OrderActivateReq implements Serializable{
@NotEmpty
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() {
return id;
}
......
......@@ -244,32 +244,6 @@ public class SysOrder {
*/
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() {
return reserveInstallReason;
}
......
......@@ -136,13 +136,7 @@ public class StandardOrderServiceImpl implements StandardOrderService {
installLocionPicture.add(lastOrder.getVinNoPicture());
installLocionPicture.add(lastOrder.getCarPicture());
//安装设备类型为F700的的工单需要接电位置图片和周围环境照片
if(Constants.DEVICE_TYPE_700F.equals(lastOrder.getInstallDeviceType())){
installLocionPicture.add(lastOrder.getConnectLocationPicture());
installLocionPicture.add(lastOrder.getSurroundingPicture());
}
SysUser sysUser;
SysUser sysUser = new SysUser();
for (SysOrder sysOrder : sysOrders) {
//添加安装照片
installLocionPicture.add(sysOrder.getInstallLocationPicture());
......
......@@ -54,8 +54,6 @@
<result column="orgName" jdbcType="VARCHAR" property="rootOrgName" />
<result column="orderChannelOrgId" jdbcType="INTEGER" property="orderChannelOrgId" />
<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>
<sql id="Example_Where_Clause">
<where>
......@@ -96,7 +94,7 @@
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,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>
<select id="selectByExample" parameterType="com.glsx.ordercenter.pojo.SysOrderExample" resultMap="BaseResultMap">
select
......@@ -561,12 +559,6 @@
<if test="reserveInstallReason != null">
reserve_install_reason = #{reserveInstallReason},
</if>
<if test="connectLocationPicture != null">
connect_location_picture = #{connectLocationPicture},
</if>
<if test="surroundingPicture != null">
surrounding_picture = #{surroundingPicture},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!