|
@@ -2027,6 +2027,17 @@ log.info("测试信息a id={} ",ojtutl.getSynReqId());
|
|
|
setJysWdno(orderBase, mxup);
|
|
|
mxup.setCjren(orderBase.getCreateBy());
|
|
|
mxup.setCjrmc(orderBase.getCreateName());
|
|
|
+
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjjd()) && mxup.getSjcjjd().length()>12){
|
|
|
+ mxup.setSjcjjd(mxup.getSjcjjd().substring(0,12));
|
|
|
+ }
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjwd()) && mxup.getSjcjwd().length()>12){
|
|
|
+ mxup.setSjcjwd(mxup.getSjcjwd().substring(0,12));
|
|
|
+ }
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjjwdu()) && mxup.getSjcjjwdu().length()>50){
|
|
|
+ mxup.setSjcjjwdu(mxup.getSjcjjwdu().substring(0,50));
|
|
|
+ }
|
|
|
+
|
|
|
// 售后网点处理
|
|
|
websitSH = publicService.ptshwdToshshwd(mxup.getCzwd(), orderBase.getMainId());
|
|
|
mxup.setCzwd(websitSH.getWdId());
|
|
@@ -2055,13 +2066,6 @@ log.info("测试信息a id={} ",ojtutl.getSynReqId());
|
|
|
mxup.setGmsj(orderBase.getBuyTime());
|
|
|
mxup.setCjwdno(mxup.getAzwdno());
|
|
|
mxup.setZjczwd(mxup.getAzwdno());
|
|
|
- if (StringUtils.isNotEmpty(orderBase.getLat()) && orderBase.getLat().length()>12){
|
|
|
- mxup.setSjcjjd(orderBase.getLat().substring(0,12));
|
|
|
- }
|
|
|
- if (StringUtils.isNotEmpty(orderBase.getLng()) && orderBase.getLng().length()>12){
|
|
|
- mxup.setSjcjwd(orderBase.getLng().substring(0,12));
|
|
|
- }
|
|
|
- mxup.setSjcjjwdu(mxup.getSjcjjd()+","+ mxup.getSjcjwd());
|
|
|
|
|
|
}
|
|
|
|
|
@@ -2089,7 +2093,15 @@ log.info("测试信息a id={} ",ojtutl.getSynReqId());
|
|
|
|
|
|
mxup.setCjren(orderBase.getCreateBy());
|
|
|
mxup.setCjrmc(orderBase.getCreateName());
|
|
|
-
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjjd()) && mxup.getSjcjjd().length()>12){
|
|
|
+ mxup.setSjcjjd(mxup.getSjcjjd().substring(0,12));
|
|
|
+ }
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjwd()) && mxup.getSjcjwd().length()>12){
|
|
|
+ mxup.setSjcjwd(mxup.getSjcjwd().substring(0,12));
|
|
|
+ }
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjjwdu()) && mxup.getSjcjjwdu().length()>50){
|
|
|
+ mxup.setSjcjjwdu(mxup.getSjcjjwdu().substring(0,50));
|
|
|
+ }
|
|
|
|
|
|
// 售后网点处理
|
|
|
websitSH = publicService.ptshwdToshshwd(mxup.getCzwd(), orderBase.getMainId());
|
|
@@ -2122,14 +2134,6 @@ log.info("测试信息a id={} ",ojtutl.getSynReqId());
|
|
|
}
|
|
|
}
|
|
|
mxup.setGmsj(orderBase.getBuyTime());
|
|
|
-
|
|
|
- if (StringUtils.isNotEmpty(orderBase.getLat()) && orderBase.getLat().length()>12){
|
|
|
- mxup.setSjcjjd(orderBase.getLat().substring(0,12));
|
|
|
- }
|
|
|
- if (StringUtils.isNotEmpty(orderBase.getLng()) && orderBase.getLng().length()>12){
|
|
|
- mxup.setSjcjwd(orderBase.getLng().substring(0,12));
|
|
|
- }
|
|
|
- mxup.setSjcjjwdu(mxup.getSjcjjd()+","+ mxup.getSjcjwd());
|
|
|
}
|
|
|
|
|
|
public void setOtherParm(OrderBase orderBase, ItfTblAzAssignLcLsUpload lcls, Integer cjstat,
|
|
@@ -2144,6 +2148,16 @@ log.info("测试信息a id={} ",ojtutl.getSynReqId());
|
|
|
websitSH = publicService.ptshwdToshshwd(mxup.getCzwd(), orderBase.getMainId());
|
|
|
mxup.setCzwd(websitSH.getWdId());
|
|
|
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjjd()) && mxup.getSjcjjd().length()>12){
|
|
|
+ mxup.setSjcjjd(mxup.getSjcjjd().substring(0,12));
|
|
|
+ }
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjwd()) && mxup.getSjcjwd().length()>12){
|
|
|
+ mxup.setSjcjwd(mxup.getSjcjwd().substring(0,12));
|
|
|
+ }
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjjwdu()) && mxup.getSjcjjwdu().length()>50){
|
|
|
+ mxup.setSjcjjwdu(mxup.getSjcjjwdu().substring(0,50));
|
|
|
+ }
|
|
|
+
|
|
|
// 提取安装师傅的账号信息
|
|
|
mxup.setAzrenid(publicService.getBrandWorkerId(orderBase.getWorkerId(),websitSH.getWdId(),brand.getBrandId(),orderBase.getWebsitId()));
|
|
|
|
|
@@ -2168,13 +2182,7 @@ log.info("测试信息a id={} ",ojtutl.getSynReqId());
|
|
|
mxup.setGmsj(orderBase.getBuyTime());
|
|
|
mxup.setCjwdno(mxup.getAzwdno());
|
|
|
mxup.setZjczwd(mxup.getAzwdno());
|
|
|
- if (StringUtils.isNotEmpty(orderBase.getLat()) && orderBase.getLat().length()>12){
|
|
|
- mxup.setSjcjjd(orderBase.getLat().substring(0,12));
|
|
|
- }
|
|
|
- if (StringUtils.isNotEmpty(orderBase.getLng()) && orderBase.getLng().length()>12){
|
|
|
- mxup.setSjcjwd(orderBase.getLng().substring(0,12));
|
|
|
- }
|
|
|
- mxup.setSjcjjwdu(mxup.getSjcjjd()+","+ mxup.getSjcjwd());
|
|
|
+
|
|
|
}
|
|
|
|
|
|
public void setSyParm(OrderBase orderBase, ItfTblAzAssignLcLsUpload lcls, Integer cjstat,
|
|
@@ -2186,6 +2194,16 @@ log.info("测试信息a id={} ",ojtutl.getSynReqId());
|
|
|
mxup.setCjren(orderBase.getCreateBy());
|
|
|
mxup.setCjrmc(orderBase.getCreateName());
|
|
|
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjjd()) && mxup.getSjcjjd().length()>12){
|
|
|
+ mxup.setSjcjjd(mxup.getSjcjjd().substring(0,12));
|
|
|
+ }
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjwd()) && mxup.getSjcjwd().length()>12){
|
|
|
+ mxup.setSjcjwd(mxup.getSjcjwd().substring(0,12));
|
|
|
+ }
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjjwdu()) && mxup.getSjcjjwdu().length()>50){
|
|
|
+ mxup.setSjcjjwdu(mxup.getSjcjjwdu().substring(0,50));
|
|
|
+ }
|
|
|
+
|
|
|
// 售后网点处理
|
|
|
websitSH = publicService.ptshwdToshshwd(mxup.getCzwd(), orderBase.getMainId());
|
|
|
mxup.setCzwd(websitSH.getWdId());
|
|
@@ -2214,13 +2232,6 @@ log.info("测试信息a id={} ",ojtutl.getSynReqId());
|
|
|
mxup.setGmsj(orderBase.getBuyTime());
|
|
|
mxup.setCjwdno(mxup.getAzwdno());
|
|
|
mxup.setZjczwd(mxup.getAzwdno());
|
|
|
- if (StringUtils.isNotEmpty(orderBase.getLat()) && orderBase.getLat().length()>12){
|
|
|
- mxup.setSjcjjd(orderBase.getLat().substring(0,12));
|
|
|
- }
|
|
|
- if (StringUtils.isNotEmpty(orderBase.getLng()) && orderBase.getLng().length()>12){
|
|
|
- mxup.setSjcjwd(orderBase.getLng().substring(0,12));
|
|
|
- }
|
|
|
- mxup.setSjcjjwdu(mxup.getSjcjjd()+","+ mxup.getSjcjwd());
|
|
|
|
|
|
// 网点维修工ID单独处理
|
|
|
// 先找出网点编号对应的品牌商网点编号
|
|
@@ -2250,6 +2261,16 @@ log.info("测试信息a id={} ",ojtutl.getSynReqId());
|
|
|
mxup.setCjren(orderBase.getCreateBy());
|
|
|
mxup.setCjrmc(orderBase.getCreateName());
|
|
|
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjjd()) && mxup.getSjcjjd().length()>12){
|
|
|
+ mxup.setSjcjjd(mxup.getSjcjjd().substring(0,12));
|
|
|
+ }
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjwd()) && mxup.getSjcjwd().length()>12){
|
|
|
+ mxup.setSjcjwd(mxup.getSjcjwd().substring(0,12));
|
|
|
+ }
|
|
|
+ if (StringUtils.isNotEmpty(mxup.getSjcjjwdu()) && mxup.getSjcjjwdu().length()>50){
|
|
|
+ mxup.setSjcjjwdu(mxup.getSjcjjwdu().substring(0,50));
|
|
|
+ }
|
|
|
+
|
|
|
// 售后网点处理
|
|
|
websitSH = publicService.ptshwdToshshwd(mxup.getCzwd(), orderBase.getMainId());
|
|
|
mxup.setCzwd(websitSH.getWdId());
|
|
@@ -2278,13 +2299,6 @@ log.info("测试信息a id={} ",ojtutl.getSynReqId());
|
|
|
mxup.setGmsj(orderBase.getBuyTime());
|
|
|
mxup.setCjwdno(mxup.getAzwdno());
|
|
|
mxup.setZjczwd(mxup.getAzwdno());
|
|
|
- if (StringUtils.isNotEmpty(orderBase.getLat()) && orderBase.getLat().length()>12){
|
|
|
- mxup.setSjcjjd(orderBase.getLat().substring(0,12));
|
|
|
- }
|
|
|
- if (StringUtils.isNotEmpty(orderBase.getLng()) && orderBase.getLng().length()>12){
|
|
|
- mxup.setSjcjwd(orderBase.getLng().substring(0,12));
|
|
|
- }
|
|
|
- mxup.setSjcjjwdu(mxup.getSjcjjd()+","+ mxup.getSjcjwd());
|
|
|
|
|
|
// 网点维修工ID单独处理
|
|
|
// 先找出网点编号对应的品牌商网点编号
|