提交
This commit is contained in:
1 parent
a79aee2614
commit
427bcb1551
274 files changed
+59416
-38342
No files matched your search
@@ -0,0 +1,11 @@
|
||||
-- 市场物料领用记录 · 是否已使用完(盘点登记用)
|
||||
ALTER TABLE `biz_material_usage`
|
||||
ADD COLUMN `requisition_status` varchar(16) NOT NULL DEFAULT 'open'
|
||||
COMMENT '领用状态:open-待登记/有剩余 closed-已使用完'
|
||||
AFTER `purpose`;
|
||||
|
||||
UPDATE `biz_material_usage`
|
||||
SET `requisition_status` = 'open'
|
||||
WHERE `source_type` = 'manual_out'
|
||||
AND `change_type` = 'use'
|
||||
AND (`requisition_status` IS NULL OR `requisition_status` = '');
|
||||
Reference in new issue
Block a user