umzug auf gitea

This commit is contained in:
hwd
2018-04-11 22:17:21 +02:00
parent 4c8459ac31
commit afadb05774
1755 changed files with 534624 additions and 0 deletions

BIN
sql/converting.xlsx Normal file

Binary file not shown.

52
sql/insert.sql Normal file
View File

@@ -0,0 +1,52 @@
INSERT INTO Bauteile ( TXLCode, Messdatum, Rauheitsdatum, Lieferbox, OL1, OL2, OW1, OW2, R11, R12, R13, R21, R22, R23, R31, R32, R33, R41, R42, R43, CW, LW, MessComm, RauComm )
VALUES
(
"${e['TXLCode']}",
"${e['MessDate']}",
"${e['RauDate']}",
"${e['Lieferbox']}",
${e['OL1']},
${e['OL2']},
${e['OW1']},
${e['OW2']},
${e['R11']},
${e['R12']},
${e['R13']},
${e['R21']},
${e['R22']},
${e['R23']},
${e['R31']},
${e['R32']},
${e['R33']},
${e['R41']},
${e['R42']},
${e['R43']},
${e['LW']},
${e['CW']},
"${e['InfoMessComm']}",
"${e['InfoRauComm']}"
) ON DUPLICATE KEY UPDATE
TXLCode = "${e['TXLCode']}",
Messdatum = "${e['MessDate']}",
Rauheitsdatum = "${e['RauDate']}",
Lieferbox = "${e['Lieferbox']}",
OL1 = ${e['OL1']},
OL2 = ${e['OL2']},
OW1 = ${e['OW1']},
OW2 = ${e['OW2']},
R11 = ${e['R11']},
R12 = ${e['R12']},
R13 = ${e['R13']},
R21 = ${e['R21']},
R22 = ${e['R22']},
R23 = ${e['R23']},
R31 = ${e['R31']},
R32 = ${e['R32']},
R33 = ${e['R33']},
R41 = ${e['R41']},
R42 = ${e['R42']},
R43 = ${e['R43']},
CW = ${e['LW']},
LW = ${e['CW']}, M
essComm = "${e['InfoMessComm']}",
RauComm = "${e['InfoRauComm']}";

29
sql/old2new_2121.sql Normal file
View File

@@ -0,0 +1,29 @@
INSERT INTO Bauteile (
TXLCode,
OL1, OW1,
R11, R12,
R21, R22,
R31, R32,
R41, R42,
LW, CW,
MessComm, RauComm
) SELECT
`2121_messdaten`.`TXLCode` AS `TXLCode`,
`2121_messdaten`.`ol` AS `OL1`,
`2121_messdaten`.`ow` AS `OW1`,
`2121_messdaten`.`r11` AS `R11`,
`2121_messdaten`.`r12` AS `R12`,
`2121_messdaten`.`r21` AS `R21`,
`2121_messdaten`.`r22` AS `R22`,
`2121_messdaten`.`r31` AS `R31`,
`2121_messdaten`.`r32` AS `R32`,
`2121_messdaten`.`r41` AS `R41`,
`2121_messdaten`.`r42` AS `R42`,
`2121_rauheiten`.`lw` AS `LW`,
`2121_rauheiten`.`cw` AS `CW`,
`2121_messdaten`.`comment` AS `MessComm`,
`2121_rauheiten`.`comment` AS `RauComm`
FROM 2121_messdaten, 2121_rauheiten
WHERE
`2121_messdaten`.`TXLCode` = `2121_rauheiten`.`TXLCode`;

29
sql/old2new_2121C.sql Normal file
View File

@@ -0,0 +1,29 @@
INSERT INTO Bauteile (
TXLCode,
OL1, OW1,
R11, R12,
R21, R22,
R31, R32,
R41, R42,
LW, CW,
MessComm, RauComm
) SELECT
`2121C_messdaten`.`TXLCode` AS `TXLCode`,
`2121C_messdaten`.`ol` AS `OL1`,
`2121C_messdaten`.`ow` AS `OW1`,
`2121C_messdaten`.`r11` AS `R11`,
`2121C_messdaten`.`r12` AS `R12`,
`2121C_messdaten`.`r21` AS `R21`,
`2121C_messdaten`.`r22` AS `R22`,
`2121C_messdaten`.`r31` AS `R31`,
`2121C_messdaten`.`r32` AS `R32`,
`2121C_messdaten`.`r41` AS `R41`,
`2121C_messdaten`.`r42` AS `R42`,
`2121C_rauheiten`.`lw` AS `LW`,
`2121C_rauheiten`.`cw` AS `CW`,
`2121C_messdaten`.`comment` AS `MessComm`,
`2121C_rauheiten`.`comment` AS `RauComm`
FROM 2121C_messdaten, 2121C_rauheiten
WHERE
`2121C_messdaten`.`TXLCode` = `2121C_rauheiten`.`TXLCode`;

35
sql/old2new_3030.sql Normal file
View File

@@ -0,0 +1,35 @@
INSERT INTO Bauteile (
TXLCode,
OL1, OL2, OW1, OW2,
R11, R12, R13,
R21, R22, R23,
R31, R32, R33,
R41, R42, R43,
LW, CW,
MessComm, RauComm
) SELECT
`3030_messdaten`.`TXLCode` AS `TXLCode`,
`3030_messdaten`.`ol1` AS `OL1`,
`3030_messdaten`.`ol2` AS `OL2`,
`3030_messdaten`.`ow1` AS `OW1`,
`3030_messdaten`.`ow2` AS `OW2`,
`3030_messdaten`.`r11` AS `R11`,
`3030_messdaten`.`r12` AS `R12`,
`3030_messdaten`.`r13` AS `R13`,
`3030_messdaten`.`r21` AS `R21`,
`3030_messdaten`.`r22` AS `R22`,
`3030_messdaten`.`r23` AS `R23`,
`3030_messdaten`.`r31` AS `R31`,
`3030_messdaten`.`r32` AS `R32`,
`3030_messdaten`.`r33` AS `R33`,
`3030_messdaten`.`r41` AS `R41`,
`3030_messdaten`.`r42` AS `R42`,
`3030_messdaten`.`r43` AS `R43`,
`3030_rauheiten`.`lw` AS `LW`,
`3030_rauheiten`.`cw` AS `CW`,
`3030_messdaten`.`comment` AS `MessComm`,
`3030_rauheiten`.`comment` AS `RauComm`
FROM 3030_messdaten, 3030_rauheiten
WHERE
`3030_messdaten`.`TXLCode` = `3030_rauheiten`.`TXLCode`;

35
sql/old2new_3040.sql Normal file
View File

@@ -0,0 +1,35 @@
INSERT INTO Bauteile (
TXLCode,
OL1, OL2, OW1, OW2,
R11, R12, R13,
R21, R22, R23,
R31, R32, R33,
R41, R42, R43,
LW, CW,
MessComm, RauComm
) SELECT
`3040_messdaten`.`TXLCode` AS `TXLCode`,
`3040_messdaten`.`ol1` AS `OL1`,
`3040_messdaten`.`ol2` AS `OL2`,
`3040_messdaten`.`ow1` AS `OW1`,
`3040_messdaten`.`ow2` AS `OW2`,
`3040_messdaten`.`r11` AS `R11`,
`3040_messdaten`.`r12` AS `R12`,
`3040_messdaten`.`r13` AS `R13`,
`3040_messdaten`.`r21` AS `R21`,
`3040_messdaten`.`r22` AS `R22`,
`3040_messdaten`.`r23` AS `R23`,
`3040_messdaten`.`r31` AS `R31`,
`3040_messdaten`.`r32` AS `R32`,
`3040_messdaten`.`r33` AS `R33`,
`3040_messdaten`.`r41` AS `R41`,
`3040_messdaten`.`r42` AS `R42`,
`3040_messdaten`.`r43` AS `R43`,
`3040_rauheiten`.`lw` AS `LW`,
`3040_rauheiten`.`cw` AS `CW`,
`3040_messdaten`.`comment` AS `MessComm`,
`3040_rauheiten`.`comment` AS `RauComm`
FROM 3040_messdaten, 3040_rauheiten
WHERE
`3040_messdaten`.`TXLCode` = `3040_rauheiten`.`TXLCode`;