| | |
| | | import com.mes.hollowqueue.entity.HollowGlassQueueInfo; |
| | | import com.mes.hollowqueue.service.HollowGlassQueueInfoService; |
| | | import com.mes.largenscreen.entity.PieChartVO; |
| | | import com.mes.order.entity.HollowOrderDTO; |
| | | import com.mes.order.entity.OrderDetailsDTO; |
| | | import com.mes.order.service.OrdersService; |
| | | import com.mes.sysconfig.service.SysConfigService; |
| | | import com.mes.tools.DateUtil; |
| | | import com.mes.utils.Blank; |
| | |
| | | HollowGlassRelationInfoService hollowGlassRelationInfoService; |
| | | @Resource |
| | | SysConfigService sysConfigService; |
| | | @Resource |
| | | OrdersService ordersService; |
| | | |
| | | @Resource |
| | | RedisUtil redisUtil; |
| | |
| | | return "任务总层数小于2,不生成李赛克文件"; |
| | | } |
| | | //获取订单相关信息 |
| | | OrderDTO order = baseMapper.queryOrderByFlowCardId(flowCardId); |
| | | HollowOrderDTO order = ordersService.queryOrderByFlowCardId(flowCardId); |
| | | if (null == order) { |
| | | return "生成失败,相关订单信息不存在"; |
| | | } |
| | |
| | | @Cacheable(value = "orderDetails", key = "#flowCardId") |
| | | public OrderDetailsDTO queryProductNameByFlowCardId(String flowCardId) { |
| | | log.info("查询数据库一次:{}", flowCardId); |
| | | return baseMapper.queryProductNameByFlowCardId(flowCardId); |
| | | return ordersService.queryProductNameByFlowCardId(flowCardId); |
| | | } |
| | | |
| | | private HollowGlassOutRelationInfo childrenTask(HollowTaskRequest request, int isForce) { |