Commit aaee4697 by 王力

Merge branch 'dev_orderlist0717' into 'develop'

Dev orderlist0717

See merge request !254
2 parents 40969116 c04423c5
......@@ -402,7 +402,7 @@ public class DispatchServiceImpl implements DispatchService {
lqw.eq(EngineerInfo::getBeanStatus, 1);
lqw.in(ListUtils.isNotEmpty(engineerCodes), EngineerInfo::getEngineerCode, engineerCodes);
String inTeamIds = teamIds.stream().map(Object::toString).collect(Collectors.joining(","));
String inTeamIds = "'" + teamIds.stream().map(Object::toString).collect(Collectors.joining("','")) + "'";
String sql = String.format("select 1 from org_team_engineer ot where ot.engineer_code = engineer_info.engineer_code and ot.team_id in (%s)", inTeamIds);
lqw.exists(sql);
......
......@@ -77,13 +77,13 @@ public class OrderAssignImpl implements OrderAssign {
List<OrderAssignRecommendResp.Engineer> items = new ArrayList<>();
for (EngineerInfo engineer : engineers) {
OrderAssignCheck.Result result = orderAssignCheck.orderAssignCheck(orderId, engineer.getEngineerCode());
log.info("指派检查结果:{}", result);
if (!result.getCanAssign()) {
continue;
}
// 获取已技术员已指派订单列表
List<OrderAppointment> orderAppointments = orderAppointmentMPDao.selectByEngineerCodeAndDt(engineer.getEngineerCode(), order.getDt());
// 获取订单tips
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!