增加文件头部的作者信息
This commit is contained in:
parent
244d32949f
commit
eff8abc16f
|
@ -1,5 +1,11 @@
|
||||||
|
##############################
|
||||||
|
##@author:gong.chengbo ##
|
||||||
|
##@createdate:2023-08-10 ##
|
||||||
|
##@for:每12小时同步一些数据 ##
|
||||||
|
##############################
|
||||||
|
drop procedure if exists SyncMesData_every_12_hours;
|
||||||
create
|
create
|
||||||
definer = root@`%` procedure SyncMesData_every_12_hours()
|
definer = admin@`%` procedure SyncMesData_every_12_hours()
|
||||||
BEGIN
|
BEGIN
|
||||||
#REPLACE into mes_sync.mes_job SELECT * from mes_origin.mes_job;
|
#REPLACE into mes_sync.mes_job SELECT * from mes_origin.mes_job;
|
||||||
#REPLACE into mes_sync.erp_job_mtl_manage_task SELECT * from mes_origin.erp_job_mtl_manage_task;
|
#REPLACE into mes_sync.erp_job_mtl_manage_task SELECT * from mes_origin.erp_job_mtl_manage_task;
|
||||||
|
@ -68,6 +74,6 @@ REPLACE into mes_sync.yz_mes_spec_value SELECT * from mes_origin.yz_mes_spec_val
|
||||||
#REPLACE into mes_sync.sys_dict_type SELECT * from mes_origin.sys_dict_type;
|
#REPLACE into mes_sync.sys_dict_type SELECT * from mes_origin.sys_dict_type;
|
||||||
#REPLACE into mes_sync.mes_dict SELECT * from mes_origin.mes_dict;
|
#REPLACE into mes_sync.mes_dict SELECT * from mes_origin.mes_dict;
|
||||||
#REPLACE into mes_sync.sys_dict_data SELECT * from mes_origin.sys_dict_data;
|
#REPLACE into mes_sync.sys_dict_data SELECT * from mes_origin.sys_dict_data;
|
||||||
|
update reportdata.prod set rodtosquare = round/square;
|
||||||
END;
|
END;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
##############################
|
||||||
|
##@author:gong.chengbo ##
|
||||||
|
##@createdate:2023-08-10 ##
|
||||||
|
##@for:用于每2小时同步一些数据 ##
|
||||||
|
##############################
|
||||||
|
drop procedure if exists SyncMesData_every_2_hours;
|
||||||
create
|
create
|
||||||
definer = root@`%` procedure SyncMesData_every_2_hours()
|
definer = root@`%` procedure SyncMesData_every_2_hours()
|
||||||
BEGIN
|
BEGIN
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
##############################
|
||||||
|
##@author:gong.chengbo ##
|
||||||
|
##@createdate:2023-08-10 ##
|
||||||
|
##@for:用于归档工单配料明细 ##
|
||||||
|
##############################
|
||||||
|
drop procedure if exists UpdateAllfeedingdetail;
|
||||||
create
|
create
|
||||||
definer = admin@`%` procedure UpdateAllfeedingdetail()
|
definer = admin@`%` procedure UpdateAllfeedingdetail()
|
||||||
BEGIN
|
BEGIN
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
##############################
|
||||||
|
##@author:gong.chengbo ##
|
||||||
|
##@createdate:2023-08-10 ##
|
||||||
|
##@for:用于归档炉台开炉日志 ##
|
||||||
|
##############################
|
||||||
drop procedure if exists UpdateEqpOnStoveStatusLog;
|
drop procedure if exists UpdateEqpOnStoveStatusLog;
|
||||||
create
|
create
|
||||||
definer = admin@`%` procedure UpdateEqpOnStoveStatusLog() comment '更新开炉记录日志表'
|
definer = admin@`%` procedure UpdateEqpOnStoveStatusLog() comment '更新开炉记录日志表'
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
##############################
|
||||||
|
##@author:gong.chengbo ##
|
||||||
|
##@createdate:2023-08-10 ##
|
||||||
|
##@for:用于归档炉台状态日志 ##
|
||||||
|
##############################
|
||||||
drop procedure if exists UpdateEqpStatusLogs;
|
drop procedure if exists UpdateEqpStatusLogs;
|
||||||
create
|
create
|
||||||
definer = admin@`%` procedure UpdateEqpStatusLogs(in begindate datetime, in enddate datetime)
|
definer = admin@`%` procedure UpdateEqpStatusLogs(in begindate datetime, in enddate datetime)
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
##@createdate:2023-08-10 ##
|
##@createdate:2023-08-10 ##
|
||||||
##############################
|
##############################
|
||||||
#用于归档完结工单的产量时间等信息
|
#用于归档完结工单的产量时间等信息
|
||||||
|
drop procedure if exists UpdateMesMoDailyYield;
|
||||||
CREATE DEFINER = CURRENT_USER PROCEDURE UpdateMesMoDailyYield()
|
CREATE DEFINER = CURRENT_USER PROCEDURE UpdateMesMoDailyYield()
|
||||||
BEGIN
|
BEGIN
|
||||||
###建立临时表处理数据
|
###建立临时表处理数据
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
##############################
|
||||||
|
##@author:gong.chengbo ##
|
||||||
|
##@createdate:2023-08-10 ##
|
||||||
|
##@for:用于归档工单状态清单 ##
|
||||||
|
##############################
|
||||||
|
|
||||||
drop procedure if exists UpdateMostatus;
|
drop procedure if exists UpdateMostatus;
|
||||||
create
|
create
|
||||||
definer = admin@`%` procedure UpdateMostatus()
|
definer = admin@`%` procedure UpdateMostatus()
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
##############################
|
||||||
|
##@author:gong.chengbo ##
|
||||||
|
##@createdate:2023-08-10 ##
|
||||||
|
##@for:用于归档循环料产出明细 ##
|
||||||
|
##############################
|
||||||
|
drop procedure if exists UpdateRecyclematerialouput;
|
||||||
create
|
create
|
||||||
definer = admin@`%` procedure UpdateRecyclematerialouput()
|
definer = admin@`%` procedure UpdateRecyclematerialouput()
|
||||||
BEGIN
|
BEGIN
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
##############################
|
||||||
|
##@author:gong.chengbo ##
|
||||||
|
##@createdate:2023-08-10 ##
|
||||||
|
##@for:用于归档在线产量明细 ##
|
||||||
|
##############################
|
||||||
|
drop procedure if exists UpdateSiteOnlineYield;
|
||||||
create
|
create
|
||||||
definer = admin@`%` procedure UpdateSiteOnlineYield() comment '更新产量表存储过称'
|
definer = admin@`%` procedure UpdateSiteOnlineYield() comment '更新产量表存储过称'
|
||||||
BEGIN
|
BEGIN
|
||||||
|
|
Loading…
Reference in New Issue