| | |
| | | @Mapper |
| | | public interface ProductOrderMapper extends BaseMapper<ProductOrder> { |
| | | |
| | | IPage<ProductOrderDto> pageProductOrder(Page page, @Param("c") ProductOrderDto productOrder); |
| | | /** |
| | | * 根据订单ID查询工单报工 |
| | | */ |
| | | ProductOrderDto productMainByOrderId(@Param("c") ProductOrder productOrder); |
| | | default IPage<ProductOrderDto> pageProductOrder(Page page, ProductOrderDto productOrder) { |
| | | return pageProductOrder(page, productOrder, null, true); |
| | | } |
| | | |
| | | IPage<ProductOrderDto> pageProductOrder(Page page, |
| | | @Param("c") ProductOrderDto productOrder, |
| | | @Param("userId") Long userId, |
| | | @Param("isAdmin") Boolean isAdmin); |
| | | |
| | | List<ProcessRoute> listProcessRoute(@Param("productModelId") Long productModelId); |
| | | |