|
|
|
@ -5,6 +5,7 @@ import com.baomidou.dynamic.datasource.toolkit.DynamicDataSourceContextHolder;
|
|
|
|
|
import com.op.common.core.context.SecurityContextHolder;
|
|
|
|
|
import com.op.common.core.domain.R;
|
|
|
|
|
import com.op.common.core.utils.DateUtils;
|
|
|
|
|
import com.op.common.core.utils.StringUtils;
|
|
|
|
|
import com.op.common.core.utils.uuid.IdUtils;
|
|
|
|
|
import com.op.common.core.web.domain.AjaxResult;
|
|
|
|
|
import com.op.common.security.utils.SecurityUtils;
|
|
|
|
@ -340,9 +341,11 @@ public class DeviceTaskServiceImpl implements IDeviceTaskService {
|
|
|
|
|
order.setOutsourceCode("BW" + orderCode);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(StringUtils.isNotEmpty(plan.getEquipmentCode())){
|
|
|
|
|
//查询组线
|
|
|
|
|
String lineName = equOrderMapper.getGroupLine(plan.getEquipmentCode());
|
|
|
|
|
order.setPlanProdLine(lineName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**equ_order**/
|
|
|
|
|
sce = equOrderMapper.insertEquOrder(order);
|
|
|
|
|