Commit bd4b361e authored by hujun's avatar hujun

商铺号

parent 2f0e3a4d
...@@ -1288,9 +1288,17 @@ class Finance extends Basic ...@@ -1288,9 +1288,17 @@ class Finance extends Basic
* @param string $house_number * @param string $house_number
* @param int $is_open * @param int $is_open
* @return int * @return int
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/ */
public function editRecordLog(int $bargain_id, string $step_content = '', int $type = 1, string $house_number = '', int $is_open = 0) { public function editRecordLog(int $bargain_id, string $step_content = '', int $type = 1, string $house_number = '', int $is_open = 0) {
if (empty($house_number)) {
$m_bargain = new OBargainModel();
$house_number = $m_bargain->getCheckBargain('house_number', (int)$this->params['id']);
}
if (is_array($step_content)) { if (is_array($step_content)) {
foreach ($step_content as $k=>$v) { foreach ($step_content as $k=>$v) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment