|
@@ -940,6 +940,11 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
|
map.put("consigneeNames","%" + consigneeName + "%");
|
|
|
}
|
|
|
if (saler != null && !"".equals(saler) && !"null".equals(saler)) {
|
|
|
+ //如果业务员登录进来,就去查询业务员所关联的片区
|
|
|
+ List<String> saleAreaRemark = statisticalReportService.getSaleAreaRemark(saler);
|
|
|
+ if(saleAreaRemark.size() > 0) {
|
|
|
+ map.put("saleAreaRemark",saleAreaRemark);
|
|
|
+ }
|
|
|
map.put("salers",saler);
|
|
|
}
|
|
|
if (easPrimaryId != null && !"".equals(easPrimaryId) && !"null".equals(easPrimaryId)) {
|
|
@@ -966,21 +971,6 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
|
}
|
|
|
}*/
|
|
|
//确认是否有多个收货单位
|
|
|
- if (shippingAddressIds !=null && !("".equals(shippingAddressIds))){
|
|
|
- String[] split = shippingAddressIds.split(",");
|
|
|
- String address="";
|
|
|
- int i=0;
|
|
|
- for (String s : split) {
|
|
|
- i++;
|
|
|
- String getaddress = statisticalReportService.getaddress(DataChange.dataToBigDecimal(s));
|
|
|
- if (i==1){
|
|
|
- address+="旧地址:"+getaddress+",";
|
|
|
- }else if (i==2){
|
|
|
- address+="新地址:"+getaddress;
|
|
|
- }
|
|
|
- }
|
|
|
- stringObjectMap.put("addressPlace",address);
|
|
|
- }
|
|
|
//确认是否有多个车牌号
|
|
|
if (capacityNumbers!=null &&!("".equals(capacityNumbers))){
|
|
|
String[] split = capacityNumbers.split(",");
|
|
@@ -1059,6 +1049,11 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
|
map.put("consigneeNames","%" + consigneeName + "%");
|
|
|
}
|
|
|
if (saler != null && !"".equals(saler) && !"null".equals(saler)) {
|
|
|
+ //如果业务员登录进来,就去查询业务员所关联的片区
|
|
|
+ List<String> saleAreaRemark = statisticalReportService.getSaleAreaRemark(saler);
|
|
|
+ if(saleAreaRemark.size() > 0) {
|
|
|
+ map.put("saleAreaRemark",saleAreaRemark);
|
|
|
+ }
|
|
|
map.put("salers",saler);
|
|
|
}
|
|
|
if (easPrimaryId != null && !"".equals(easPrimaryId) && !"null".equals(easPrimaryId)) {
|
|
@@ -1070,21 +1065,6 @@ public class StatisticalReportController extends BaseRESTfulController {
|
|
|
String shippingAddressIds = (String) stringObjectMap.get("shippingAddressIds");
|
|
|
String capacityNumbers= (String) stringObjectMap.get("capacityNumbers");
|
|
|
//确认是否有多个收货单位
|
|
|
- if (shippingAddressIds !=null && !("".equals(shippingAddressIds))){
|
|
|
- String[] split = shippingAddressIds.split(",");
|
|
|
- String address="";
|
|
|
- int i=0;
|
|
|
- for (String s : split) {
|
|
|
- i++;
|
|
|
- String getaddress = statisticalReportService.getaddress(DataChange.dataToBigDecimal(s));
|
|
|
- if (i==1){
|
|
|
- address+="旧地址:"+getaddress+",";
|
|
|
- }else if (i==2){
|
|
|
- address+="新地址:"+getaddress;
|
|
|
- }
|
|
|
- }
|
|
|
- stringObjectMap.put("addressPlace",address);
|
|
|
- }
|
|
|
//确认是否有多个车牌号
|
|
|
if (capacityNumbers!=null &&!("".equals(capacityNumbers))){
|
|
|
String[] split = capacityNumbers.split(",");
|