|
|
|
@ -80,13 +80,12 @@ public class StackOrderService {
|
|
|
|
|
if (null == stackOrderEntity.getCreateTime()) {
|
|
|
|
|
stackOrderEntity.setCreateTime(new Date());
|
|
|
|
|
}
|
|
|
|
|
stackOrderEntity.setId(null);
|
|
|
|
|
stackOrderDao.insert(stackOrderEntity);
|
|
|
|
|
return stackOrderEntity;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void deleteById(Integer id) {
|
|
|
|
|
//查询此垛的垛号
|
|
|
|
|
String orderId = stackOrderDao.selectOrderIdById(id);
|
|
|
|
|
//删除垛数据
|
|
|
|
|
stackOrderDao.deleteById(id);
|
|
|
|
|
//删除关联的条码数据
|
|
|
|
@ -219,4 +218,5 @@ public class StackOrderService {
|
|
|
|
|
Integer id = stackOrderDao.selectId(orderId, customerId);
|
|
|
|
|
return stackCodeDao.selectListByOrderIdFk(id);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|