mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-06-15 21:26:28 +02:00
mulitple task and battery management
This commit is contained in:
parent
6b576460b2
commit
5cfcdb82f7
5 changed files with 69 additions and 33 deletions
|
@ -130,13 +130,14 @@ sub tpl(){
|
|||
foreach my $key (keys %$cttpos1){
|
||||
$cttpos_trans->{"trans_" . $key} = $cttpos1->{$key};
|
||||
}
|
||||
my $cttpos2 = $db->collect_postime("contenttheftpos","$search_startdt","$search_enddt","$start_date_time","$end_date_time");
|
||||
foreach my $key (keys %$cttpos2){
|
||||
$cttpos_theft->{"theft_" . $key} = $cttpos2->{$key};
|
||||
}
|
||||
#my $cttpos2 = $db->collect_postime("contenttheftpos","$search_startdt","$search_enddt","$start_date_time","$end_date_time");
|
||||
#foreach my $key (keys %$cttpos2){
|
||||
# $cttpos_theft->{"theft_" . $key} = $cttpos2->{$key};
|
||||
#}
|
||||
}
|
||||
|
||||
$cttpos = { %$cttpos_trans, %$cttpos_theft };
|
||||
#$cttpos = { %$cttpos_trans, %$cttpos_theft };
|
||||
$cttpos = { %$cttpos_trans };
|
||||
|
||||
|
||||
my $table = $node_meta->{ct_table} || "";
|
||||
|
|
|
@ -134,7 +134,7 @@ sub tpl(){
|
|||
$searchref->{template_id_pos} = "$node_meta->{tpl_id}";
|
||||
$tpl_ids = "205";
|
||||
$tpl_ids = "225" if($node_meta->{tpl_id} == 499);
|
||||
$node_meta->{tpl_order} .= ",txt10=Redistribution" if($node_meta->{tpl_id} != 499);
|
||||
$node_meta->{tpl_order} .= ",int04=Station on insert,txt10=Redistribution" if($node_meta->{tpl_id} != 499);
|
||||
}
|
||||
elsif($node_meta->{tpl_id} > 600 && $node_meta->{tpl_id} < 700){
|
||||
$table = "contentadr";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue