Commit d8741627 by levphon

工单详情-查看/编辑

1 parent fc538932
......@@ -260,18 +260,8 @@ public class WorkOrderService {
InstallWorkOrderBO installWorkOrderBO = WorkOrderConverter.INSTANCE.bo2installBo(workOrderBO);
installWorkOrderBO.setWorkOrderId(workOrderBO.getId());
installWorkOrderBO.setWorkOrderNo(workOrder.getOrderNo());
String[] shopContactInfo = workOrderBO.getShopContactInfo().split("[, ,]");
installWorkOrderBO.setShopContactor(shopContactInfo[0]);
if (shopContactInfo.length > 1) {
installWorkOrderBO.setShopTelephone(shopContactInfo[1]);
}
String[] serviceLinkInfo = workOrderBO.getServiceLinkInfo().split("[, ,]");
installWorkOrderBO.setInstallLinker(serviceLinkInfo[0]);
if (serviceLinkInfo.length > 1) {
installWorkOrderBO.setInstallLinkerPhone(serviceLinkInfo[1]);
}
installWorkOrderBO.setInstallLinker(workOrderBO.getServiceLinker());
installWorkOrderBO.setInstallLinkerPhone(workOrderBO.getServiceLinkerPhone());
installWorkOrderBO.setCreatedBy(ShieldContextHolder.getUserId());
R updateR = workOrderClient.update(installWorkOrderBO);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!