Explorar el Código

处理进销存删除日志记录

lvhao hace 1 día
padre
commit
02bca998e6
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      core/CoreApp/controllers/Whlabel.php

+ 6 - 0
core/CoreApp/controllers/Whlabel.php

@@ -5650,6 +5650,9 @@ class Whlabel extends Start_Controller
 				}
 				$deldd = $this->whlabel->find_all("sku = '" . $dd['sku'] . "' and warehouse = '" . $dd['warehouse'] . "'");
 				foreach ($deldd as $vv) {
+					$tmp_info = $vv;
+					$tmp_info['del_time'] = time();
+					$this->db->insert('whlabelscbf',$tmp_info);
 					$this->whlabel->remove($vv['id']);
 				}
 			}
@@ -8174,6 +8177,9 @@ public function _fc()
 							$j++;
 							continue;
 						}
+						$tmp_info = $v;
+						$tmp_info['del_time'] = time();
+						$this->db->insert('whlabelscbf',$tmp_info);
 						$this->whlabel->remove($v['id']);
 					}
 				} else {