Files
OMS/app/taoguaniostockorder/lib/diff/process/branch.php
2025-12-28 23:13:25 +08:00

121 lines
2.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
/**
* 仓库责任
*
* @package default
* @author chenping@shopex.cn
* @version Sun Apr 3 20:23:31 2022
**/
class taoguaniostockorder_diff_process_branch extends taoguaniostockorder_diff_process_abstract
{
/**
* 仓发店短发
* @param $data
* @return array|void
*/
public function b2sLess($data)
{
return $this->branchAddStock($data);
}
/**
* 仓发店超发
* @param $data
* @return array|void
*/
public function b2sMore($data)
{
return $this->branchSubStock($data);
}
/**
* 仓发店错发(错发逻辑拆分成超发和短发处理)
*
* @return void
* @author
* */
// public function b2sWrong($data){}
/**
* 店退仓短发
* @param $data
* @return array|void
*/
public function s2bLess($data)
{
return $this->branchAddStock($data);
}
/**
* 店退仓超发
* @param $data
* @return array|void
*/
public function s2bMore($data)
{
return $this->branchSubStock($data);
}
/**
* 店退仓错发
*
* @return void
* @author
* */
// public function s2bWrong($data){}
/**
* 店转店短发
*
* @return void
* @author
* */
public function s2sLess($data){}
/**
* 店转店超发
*
* @return void
* @author
* */
public function s2sMore($data){}
/**
* 店转店错发
*
* @return void
* @author
* */
// public function s2sWrong($data){}
/**
* 仓转仓短发
* @param $data
* @return array|void
* @author db
* @date 2023-07-04 5:59 下午
*/
public function b2bLess($data){
return $this->branchAddStock($data);
}
/**
* 仓转仓超发
* @param $data
* @return array|void
* @author db
* @date 2023-07-04 5:59 下午
*/
public function b2bMore($data){
return $this->branchSubStock($data);
}
}