|
@@ -671,7 +671,7 @@ public class OrderBaseInstallCjOrWgServiceImpl implements orderBaseInstallCjOrWg
|
|
|
ItfTblAzWgmxJyktFjUpload jyktfj = fileOrderDetailMapper.getFileUpload(request);
|
|
|
if (jyktfj !=null){
|
|
|
// 修改类型对应关系
|
|
|
- jyktfj.setType(setfjType(jyktfj.getType()));
|
|
|
+ jyktfj.setType(publicService.setfjType(jyktfj.getType()));
|
|
|
itfTblAzWgmxJyktFjUploadService.save(jyktfj);
|
|
|
}
|
|
|
} else if (mainName.equals("商用空调")){
|
|
@@ -679,7 +679,7 @@ public class OrderBaseInstallCjOrWgServiceImpl implements orderBaseInstallCjOrWg
|
|
|
ItfTblAzWgmxSyktFjUpload syktfj = fileOrderDetailMapper.getSyFileUpload(request);
|
|
|
if (syktfj !=null){
|
|
|
// 修改类型对应关系
|
|
|
- syktfj.setType(setfjType(syktfj.getType()));
|
|
|
+ syktfj.setType(publicService.setfjType(syktfj.getType()));
|
|
|
itfTblAzWgmxSyktFjUploadService.save(syktfj);
|
|
|
}
|
|
|
} else {
|
|
@@ -687,76 +687,12 @@ public class OrderBaseInstallCjOrWgServiceImpl implements orderBaseInstallCjOrWg
|
|
|
ItfTblAzWgmxQitaFjUpload otherfj = fileOrderDetailMapper.getOtherFileUpload(request);
|
|
|
if (otherfj != null){
|
|
|
// 修改类型对应关系
|
|
|
- otherfj.setType(setfjType(otherfj.getType()));
|
|
|
+ otherfj.setType(publicService.setfjType(otherfj.getType()));
|
|
|
itfTblAzWgmxQitaFjUploadService.save(otherfj);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public Integer setfjType(Integer type) {
|
|
|
- Integer result = type;
|
|
|
- switch (type){
|
|
|
- case 1:
|
|
|
- result = 0;
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- result = 7;
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- result = 1;
|
|
|
- break;
|
|
|
- case 6:
|
|
|
- result = 4;
|
|
|
- break;
|
|
|
- case 7:
|
|
|
- result = 5;
|
|
|
- break;
|
|
|
- case 9:
|
|
|
- result = 5;
|
|
|
- break;
|
|
|
- case 11:
|
|
|
- result = 5;
|
|
|
- break;
|
|
|
- case 12:
|
|
|
- result = 5;
|
|
|
- break;
|
|
|
- case 13:
|
|
|
- result = 4;
|
|
|
- break;
|
|
|
- case 15:
|
|
|
- result = 4;
|
|
|
- break;
|
|
|
- case 16:
|
|
|
- result = 5;
|
|
|
- break;
|
|
|
- case 39:
|
|
|
- result = 4;
|
|
|
- break;
|
|
|
- case 40:
|
|
|
- result = 5;
|
|
|
- break;
|
|
|
- case 43:
|
|
|
- result = 5;
|
|
|
- break;
|
|
|
- case 44:
|
|
|
- result = 8;
|
|
|
- break;
|
|
|
- case 33:
|
|
|
- result = 12;
|
|
|
- break;
|
|
|
- case 34:
|
|
|
- result = 12;
|
|
|
- break;
|
|
|
- case 35:
|
|
|
- result = 12;
|
|
|
- break;
|
|
|
- default:
|
|
|
- result = 4;
|
|
|
- break;
|
|
|
- }
|
|
|
- return result;
|
|
|
- }
|
|
|
-
|
|
|
public Boolean getFeeUpload(OrderBase orderBase) {
|
|
|
// 根据辅材订单支付表存在支付时生成安装费用数据
|
|
|
List<OrderPayOutlayItem> pitems = orderPayOutlayItemService.lambdaQuery()
|
|
@@ -1763,7 +1699,7 @@ public class OrderBaseInstallCjOrWgServiceImpl implements orderBaseInstallCjOrWg
|
|
|
ItfTblAzWgmxJyktFjUpload jyktfj = fileOrderDetailMapper.getFileUploadCJ(request);
|
|
|
if (jyktfj !=null){
|
|
|
// 修改类型对应关系
|
|
|
- jyktfj.setType(setfjType(jyktfj.getType()));
|
|
|
+ jyktfj.setType(publicService.setfjType(jyktfj.getType()));
|
|
|
if (!itfTblAzWgmxJyktFjUploadService.save(jyktfj)){
|
|
|
return Boolean.FALSE;
|
|
|
}
|
|
@@ -1777,7 +1713,7 @@ public class OrderBaseInstallCjOrWgServiceImpl implements orderBaseInstallCjOrWg
|
|
|
ItfTblAzWgmxSyktFjUpload syktfj = fileOrderDetailMapper.getSyFileUploadCj(request);
|
|
|
if (syktfj !=null){
|
|
|
// 修改类型对应关系
|
|
|
- syktfj.setType(setfjType(syktfj.getType()));
|
|
|
+ syktfj.setType(publicService.setfjType(syktfj.getType()));
|
|
|
if (!itfTblAzWgmxSyktFjUploadService.save(syktfj)){
|
|
|
return Boolean.FALSE;
|
|
|
}
|
|
@@ -1791,7 +1727,7 @@ public class OrderBaseInstallCjOrWgServiceImpl implements orderBaseInstallCjOrWg
|
|
|
ItfTblAzWgmxQitaFjUpload otherfj = fileOrderDetailMapper.getOtherFileUploadCj(request);
|
|
|
if (otherfj != null){
|
|
|
// 修改类型对应关系
|
|
|
- otherfj.setType(setfjType(otherfj.getType()));
|
|
|
+ otherfj.setType(publicService.setfjType(otherfj.getType()));
|
|
|
if (!itfTblAzWgmxQitaFjUploadService.save(otherfj)){
|
|
|
return Boolean.FALSE;
|
|
|
}
|