| | |
| | | ...getColumnSearchProps('orderSettle$'), |
| | | }, |
| | | { |
| | | title: formatMessage('db.man_order.ioPri', '优先级'), |
| | | dataIndex: 'ioPri', |
| | | width: 140, |
| | | ellipsis: true, |
| | | ...getColumnSearchProps('ioPri'), |
| | | }, |
| | | { |
| | | title: formatMessage('db.man_order.status', '状态'), |
| | | dataIndex: 'status$', |
| | | width: 140, |
| | |
| | | ...getColumnSearchProps('orderSettle$'), |
| | | }, |
| | | { |
| | | title: formatMessage('db.man_order_log.ioPri', '优先级'), |
| | | dataIndex: 'ioPri', |
| | | width: 140, |
| | | ellipsis: true, |
| | | ...getColumnSearchProps('ioPri'), |
| | | }, |
| | | { |
| | | title: formatMessage('db.man_order_log.status', '状态'), |
| | | dataIndex: 'status$', |
| | | width: 140, |
| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | /** |
| | | * 优先级 |
| | | */ |
| | | @ApiModelProperty(value= "优先级") |
| | | private Integer ioPri; |
| | | |
| | | public Order() {} |
| | | |
| | | public Order(String orderNo,String orderTime,Long orderType,Long orderSettle,Long hostId,Integer status,Integer deleted,Date createTime,Long createBy,Date updateTime,Long updateBy,String memo) { |
| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | /** |
| | | * 优先级 |
| | | */ |
| | | @ApiModelProperty(value= "优先级") |
| | | private Integer ioPri; |
| | | |
| | | public OrderLog() {} |
| | | |
| | | public OrderLog(String orderNo,String orderTime,Long orderType,Long orderSettle,Long hostId,Integer status,Integer deleted,Date createTime,Long createBy,Date updateTime,Long updateBy,String memo) { |
| | |
| | | import com.zy.asrs.wms.asrs.mapper.OrderMapper; |
| | | import com.zy.asrs.wms.asrs.service.*; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.zy.asrs.wms.utils.OrderUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | |
| | | private OrderDetlFieldService orderDetlFieldService; |
| | | @Autowired |
| | | private OrderNoRuleService orderNoRuleService; |
| | | @Autowired |
| | | private OrderUtils orderUtils; |
| | | |
| | | @Override |
| | | @Transactional |
| | |
| | | order.setOrderNo(orderNo); |
| | | order.setOrderType(param.getOrderType()); |
| | | order.setOrderSettle(param.getOrderSettle()); |
| | | order.setIoPri(orderUtils.getIoPri()); |
| | | order.setOrderTime(format.format(new Date())); |
| | | order.setCreateTime(new Date()); |
| | | order.setCreateBy(9527L); |
| | |
| | | } |
| | | } |
| | | |
| | | public Integer getIoPri() { |
| | | return 11; |
| | | } |
| | | |
| | | } |