Commit c821da48 by 丁伟峰

Merge branch 'feature-dingwf-0715' into develop

2 parents 69385dd0 b4cf818c
...@@ -14,6 +14,7 @@ import com.dituhui.pea.order.dto.TimeLineDTO; ...@@ -14,6 +14,7 @@ import com.dituhui.pea.order.dto.TimeLineDTO;
import com.dituhui.pea.order.entity.EngineerInfo; import com.dituhui.pea.order.entity.EngineerInfo;
import com.dituhui.pea.order.entity.OrderAppointment; import com.dituhui.pea.order.entity.OrderAppointment;
import com.dituhui.pea.order.entity.OrderRequest; import com.dituhui.pea.order.entity.OrderRequest;
import com.dituhui.pea.order.service.CommonService;
import com.dituhui.pea.order.service.OrderAssign; import com.dituhui.pea.order.service.OrderAssign;
import lombok.Data; import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -40,6 +41,9 @@ public class OrderAssignImpl implements OrderAssign { ...@@ -40,6 +41,9 @@ public class OrderAssignImpl implements OrderAssign {
@Autowired @Autowired
private EngineerInfoMPDao engineerInfoMPDao; private EngineerInfoMPDao engineerInfoMPDao;
@Autowired
private CommonService commonService;
@Transactional @Transactional
@Override @Override
public Result<?> getOrderAssignRecommendEngineers(String orderId, String key, String distance, String recommend) { public Result<?> getOrderAssignRecommendEngineers(String orderId, String key, String distance, String recommend) {
...@@ -149,6 +153,9 @@ public class OrderAssignImpl implements OrderAssign { ...@@ -149,6 +153,9 @@ public class OrderAssignImpl implements OrderAssign {
wrapper.eq(OrderRequest::getOrderId, orderId); wrapper.eq(OrderRequest::getOrderId, orderId);
orderRequestMPDao.update(null, wrapper); orderRequestMPDao.update(null, wrapper);
// 工单变更登记
commonService.addOrderChange(orderId, "", "PEA-WEB", "API", "工单指派", "" );
return Result.success(null); return Result.success(null);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!