| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.mes.order.entity.*; |
| | | import com.mes.order.entity.dto.InterlayerDTO; |
| | | import com.mes.order.entity.dto.OrderDTO; |
| | | import com.mes.order.mapper.OrderdetailMapper; |
| | | import com.mes.order.mapper.OrdersMapper; |
| | |
| | | } |
| | | |
| | | @Override |
| | | @Cacheable(value = "orderDetails", key = "#flowCardId",unless = "#result == null") |
| | | @Cacheable(value = "orderDetails", key = "#flowCardId", unless = "#result == null") |
| | | public OrderDetailsDTO queryProductNameByFlowCardId(String flowCardId) { |
| | | log.info("查询数据库一次:{}", flowCardId); |
| | | return baseMapper.queryProductNameByFlowCardId(flowCardId); |
| | | } |
| | | |
| | | @Override |
| | | public List<ProcessCardReport> queryLackByERP(String flowCardId) { |
| | | return baseMapper.queryLackByERP(flowCardId); |
| | | } |
| | | @Override |
| | | public List<InterlayerDTO> queryInterlayerByERP(String flowCardId) { |
| | | return baseMapper.queryInterlayerByERP(flowCardId); |
| | | } |
| | | } |