Commit 44b8bd36 by zhanghj

V1.1.2--未知订单接口新增字段

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21472 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent c212833b
......@@ -231,6 +231,10 @@ public class SysOrder {
* 订单根组织名
*/
private String rootOrgName;
/**
* 订单所属根组织id
*/
private Integer orderChannelOrgId;
public Date getReassignMechanicTime() {
return reassignMechanicTime;
......@@ -771,6 +775,14 @@ public class SysOrder {
this.rootOrgName = rootOrgName;
}
public Integer getOrderChannelOrgId() {
return orderChannelOrgId;
}
public void setOrderChannelOrgId(Integer orderChannelOrgId) {
this.orderChannelOrgId = orderChannelOrgId;
}
@Override
public String toString() {
return "SysOrder [id=" + id + ", orderSn=" + orderSn
......@@ -801,6 +813,7 @@ public class SysOrder {
+ ", afterSaleType=" + afterSaleType + ", beginDate="
+ beginDate + ", endDate=" + endDate + ", installRemark="
+ installRemark + ", installDeviceType=" + installDeviceType
+ ", installDeviceTypeName=" + installDeviceTypeName
+ ", isApplyAfterSale=" + isApplyAfterSale + ", isDismantle="
+ isDismantle + ", carInfo=" + carInfo + ", queryContent="
+ queryContent + ", workOrderNo=" + workOrderNo + ", channel="
......@@ -808,7 +821,8 @@ public class SysOrder {
+ deviceGroup + ", newWorkOrderNo=" + newWorkOrderNo
+ ", channelInfo=" + channelInfo + ", reassignMechanicTime="
+ reassignMechanicTime + ", sign=" + sign + ", province="
+ province + ", city=" + city + "]";
+ province + ", city=" + city + ", rootOrgName=" + rootOrgName
+ ", orderChannelOrgId=" + orderChannelOrgId + "]";
}
}
\ No newline at end of file
......@@ -52,6 +52,7 @@
<result column="city" jdbcType="VARCHAR" property="city" />
<result column="installDeviceTypeName" jdbcType="VARCHAR" property="installDeviceTypeName" />
<result column="orgName" jdbcType="VARCHAR" property="rootOrgName" />
<result column="orderChannelOrgId" jdbcType="INTEGER" property="orderChannelOrgId" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
......@@ -1044,7 +1045,7 @@
o.id, o.order_sn, o.active_status, o.shop_id, o.district,
o.work_order_no, o.install_device_type, o.address, o.merchant_id, o.merchant_name,
o.create_time,
co.orgId, org.`name` as orgName, m.shop_name, dd.data_value as installDeviceTypeName,
co.orgId as orderChannelOrgId, org.`name` as orgName, m.shop_name, dd.data_value as installDeviceTypeName,
ar1.area_name AS districtName, ar2.area_name as city, ar3.area_name AS province
from sys_order o
LEFT JOIN sys_channel_org co on o.channel = co.channel
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!