From bbc5193970d4f4590d9241b5c05f23665e8ba2e0 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Fri, 7 Aug 2020 14:35:20 +0200 Subject: [PATCH 01/28] #2381 First working version --- db/Dockerfile | 16 ++++++++-------- db/docker/docker-boot.sh | 3 ++- db/docker/docker-init.sh | 1 - db/docker/docker.cnf | 2 -- db/dump/fixtures.sql | 2 -- 5 files changed, 10 insertions(+), 14 deletions(-) diff --git a/db/Dockerfile b/db/Dockerfile index 60e25319f..00d54993a 100644 --- a/db/Dockerfile +++ b/db/Dockerfile @@ -1,4 +1,4 @@ -FROM mysql:8.0.18 +FROM mariadb:10.4.13 ENV MYSQL_ROOT_PASSWORD root ENV TZ Europe/Madrid @@ -7,9 +7,9 @@ ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update \ && apt-get install -y --no-install-recommends curl ca-certificates \ && curl -sL https://apt.verdnatura.es/conf/verdnatura.gpg | apt-key add - \ - && echo "deb http://apt.verdnatura.es/ stretch main" > /etc/apt/sources.list.d/vn.list \ + && echo "deb http://apt.verdnatura.es/ jessie main" > /etc/apt/sources.list.d/vn.list \ && apt-get update \ - && apt-get install -y vn-mysql libmysqlclient21 \ + && apt-get install -y vn-mariadb \ && apt-get purge -y --auto-remove curl ca-certificates \ && rm -rf /var/lib/apt/lists/* @@ -19,16 +19,16 @@ COPY docker/docker-init.sh docker/docker-start.sh /usr/local/bin/ RUN mkdir /mysql-data \ && chown -R mysql:mysql /mysql-data -WORKDIR /docker-entrypoint-initdb.d +COPY dump /docker-boot/dump +COPY changes /docker-boot/changes +COPY import-changes.sh config.ini /docker-boot/ -COPY dump dump COPY docker/docker-boot.sh /docker-entrypoint-initdb.d/ -COPY changes import/changes -COPY import-changes.sh config.ini import/ ARG STAMP=unknown RUN gosu mysql docker-init.sh mysqld \ - && rm -rf /docker-entrypoint-initdb.d/* + && rm -rf /docker-entrypoint-initdb.d/* \ + && rm -rf /docker-boot USER mysql ENTRYPOINT ["docker-start.sh"] diff --git a/db/docker/docker-boot.sh b/db/docker/docker-boot.sh index 6a0d17c69..5e8ad4c6c 100755 --- a/db/docker/docker-boot.sh +++ b/db/docker/docker-boot.sh @@ -1,5 +1,6 @@ #!/bin/bash +cd /docker-boot export MYSQL_PWD=root mysql_import() { @@ -11,7 +12,7 @@ mysql_import() { mysql_import dump/structure.sql mysql_import dump/mysqlPlugins.sql mysql_import dump/dumpedFixtures.sql -import/import-changes.sh +./import-changes.sh mysql_import dump/fixtures.sql echo "[INFO] -> Import finished" diff --git a/db/docker/docker-init.sh b/db/docker/docker-init.sh index 19d13a15d..f2c9d58d7 100755 --- a/db/docker/docker-init.sh +++ b/db/docker/docker-init.sh @@ -13,5 +13,4 @@ docker_setup_db docker_process_init_files /docker-entrypoint-initdb.d/* -mysql_expire_root_user docker_temp_server_stop diff --git a/db/docker/docker.cnf b/db/docker/docker.cnf index 1a0241487..be79ecf69 100644 --- a/db/docker/docker.cnf +++ b/db/docker/docker.cnf @@ -2,9 +2,7 @@ innodb_log_file_size = 4M innodb_autoextend_increment = 4 innodb_page_size = 8K -innodb_default_row_format = COMPACT log_bin_trust_function_creators = ON datadir = /mysql-data sql_mode = NO_ENGINE_SUBSTITUTION -innodb_temp_data_file_path = /tmp/ibtmp1:12M:autoextend skip-log-bin diff --git a/db/dump/fixtures.sql b/db/dump/fixtures.sql index 9aaae957b..e4d266ed8 100644 --- a/db/dump/fixtures.sql +++ b/db/dump/fixtures.sql @@ -1,8 +1,6 @@ CREATE SCHEMA IF NOT EXISTS `vn2008`; CREATE SCHEMA IF NOT EXISTS `tmp`; -ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root'; - ALTER TABLE `vn`.`itemTaxCountry` AUTO_INCREMENT = 1; ALTER TABLE `vn`.`address` AUTO_INCREMENT = 1; ALTER TABLE `vn`.`zoneGeo` AUTO_INCREMENT = 1; From 9a4e20bb31b25e6169a04660572637081e5d9ca6 Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Tue, 11 Aug 2020 11:03:43 +0200 Subject: [PATCH 02/28] new models and fixtures --- back/model-config.json | 9 +++++ back/models/mail.json | 36 +++++++++++++++++ back/models/worker-time-control-mail.json | 39 +++++++++++++++++++ back/models/worker-time-control-params.js | 3 ++ back/models/worker-time-control-params.json | 35 +++++++++++++++++ .../00-workerTimeControlParams.sql | 6 +++ db/dump/fixtures.sql | 4 +- 7 files changed, 130 insertions(+), 2 deletions(-) create mode 100644 back/models/mail.json create mode 100644 back/models/worker-time-control-mail.json create mode 100644 back/models/worker-time-control-params.js create mode 100644 back/models/worker-time-control-params.json create mode 100644 db/changes/12300-Summer/00-workerTimeControlParams.sql diff --git a/back/model-config.json b/back/model-config.json index 323e5f233..3d0085fc2 100644 --- a/back/model-config.json +++ b/back/model-config.json @@ -67,6 +67,15 @@ }, "UserLog": { "dataSource": "vn" + }, + "WorkerTimeControlParams": { + "dataSource": "vn" + }, + "WorkerTimeControlMail": { + "dataSource": "vn" + }, + "Mail": { + "dataSource": "vn" } } diff --git a/back/models/mail.json b/back/models/mail.json new file mode 100644 index 000000000..cf5c11993 --- /dev/null +++ b/back/models/mail.json @@ -0,0 +1,36 @@ +{ + "name": "Mail", + "base": "VnModel", + "options": { + "mysql": { + "table": "mail" + } + }, + "properties": { + "id": { + "id": true, + "type": "Number", + "required": true + }, + "sender": { + "type": "String" + }, + "replyTo": { + "type": "String" + }, + "subject": { + "type": "String" + }, + "body": { + "type": "String" + } + }, + "acls": [ + { + "accessType": "READ", + "principalType": "ROLE", + "principalId": "$everyone", + "permission": "ALLOW" + } + ] +} diff --git a/back/models/worker-time-control-mail.json b/back/models/worker-time-control-mail.json new file mode 100644 index 000000000..4a0fd31f1 --- /dev/null +++ b/back/models/worker-time-control-mail.json @@ -0,0 +1,39 @@ +{ + "name": "WorkerTimeControlMail", + "base": "VnModel", + "options": { + "mysql": { + "table": "workerTimeControlMail" + } + }, + "properties": { + "id": { + "id": true, + "type": "Number", + "required": true + }, + "workerFk": { + "type": "Number" + }, + "year": { + "type": "Number" + }, + "week": { + "type": "Number" + }, + "state": { + "type": "String" + }, + "updated": { + "type": "Date" + } + }, + "acls": [ + { + "accessType": "READ", + "principalType": "ROLE", + "principalId": "$everyone", + "permission": "ALLOW" + } + ] +} diff --git a/back/models/worker-time-control-params.js b/back/models/worker-time-control-params.js new file mode 100644 index 000000000..c71d4c237 --- /dev/null +++ b/back/models/worker-time-control-params.js @@ -0,0 +1,3 @@ +module.exports = Self => { + require('../methods/imap-time-control/checkInbox')(Self); +}; diff --git a/back/models/worker-time-control-params.json b/back/models/worker-time-control-params.json new file mode 100644 index 000000000..cc904cf40 --- /dev/null +++ b/back/models/worker-time-control-params.json @@ -0,0 +1,35 @@ +{ + "name": "WorkerTimeControlParams", + "description": "imap config", + "base": "VnModel", + "options": { + "mysql": { + "table": "workerTimeControlParams" + } + }, + "properties": { + "mailHost": { + "type": "String" + }, + "mailUser": { + "type": "String" + }, + "mailPass": { + "type": "String" + }, + "mailSuccessFolder": { + "type": "String" + }, + "mailErrorFolder": { + "type": "String" + } + }, + "acls": [ + { + "accessType": "READ", + "principalType": "ROLE", + "principalId": "$everyone", + "permission": "ALLOW" + } + ] +} diff --git a/db/changes/12300-Summer/00-workerTimeControlParams.sql b/db/changes/12300-Summer/00-workerTimeControlParams.sql new file mode 100644 index 000000000..47ef2e3ea --- /dev/null +++ b/db/changes/12300-Summer/00-workerTimeControlParams.sql @@ -0,0 +1,6 @@ +ALTER TABLE `vn`.`workerTimeControlParams` +ADD COLUMN `mailUser` VARCHAR(45) NOT NULL AFTER `askInOut`, +ADD COLUMN `mailPass` VARCHAR(45) NOT NULL AFTER `mailUser`, +ADD COLUMN `mailHost` VARCHAR(45) NOT NULL AFTER `mailPass`, +ADD COLUMN `mailSuccessFolder` VARCHAR(45) NOT NULL AFTER `mailHost`, +ADD COLUMN `mailErrorFolder` VARCHAR(45) NOT NULL AFTER `mailSuccessFolder`; diff --git a/db/dump/fixtures.sql b/db/dump/fixtures.sql index a1018ab5a..80f21297f 100644 --- a/db/dump/fixtures.sql +++ b/db/dump/fixtures.sql @@ -2034,9 +2034,9 @@ INSERT INTO `vn`.`queuePriority`(`id`, `priority`) (2, 'Normal'), (3, 'Baja'); -INSERT INTO `vn`.`workerTimeControlParams` (`id`, `dayBreak`, `weekBreak`, `weekScope`, `dayWorkMax`, `dayStayMax`, `weekMaxBreak`, `weekMaxScope`, `askInOut`) +INSERT INTO `vn`.`workerTimeControlParams` (`id`, `dayBreak`, `weekBreak`, `weekScope`, `dayWorkMax`, `dayStayMax`, `weekMaxBreak`, `weekMaxScope`, `askInOut`, `mailSuccessFolder`, `mailErrorFolder`) VALUES - (1, 43200, 129600, 734400, 43200, 50400, 259200, 1296000, 36000); + (1, 43200, 129600, 734400, 43200, 50400, 259200, 1296000, 36000, 'Leidos.exito', 'Leidos.error'); INSERT IGNORE INTO `vn`.`greugeConfig` (`id`, `freightPickUpPrice`) VALUES ('1', '11'); From 860f9f4e874288ca05cf55668ff79b289a443136 Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Tue, 11 Aug 2020 11:12:40 +0200 Subject: [PATCH 03/28] new method for imap --- back/methods/imap-time-control/checkInbox.js | 129 +++++++++++ package-lock.json | 215 +++++++++++++++++-- package.json | 2 + 3 files changed, 325 insertions(+), 21 deletions(-) create mode 100644 back/methods/imap-time-control/checkInbox.js diff --git a/back/methods/imap-time-control/checkInbox.js b/back/methods/imap-time-control/checkInbox.js new file mode 100644 index 000000000..ff0b0a46e --- /dev/null +++ b/back/methods/imap-time-control/checkInbox.js @@ -0,0 +1,129 @@ +const Imap = require('imap'); + +module.exports = Self => { + Self.remoteMethod('checkInbox', { + description: 'Check an email inbox and process it', + accessType: 'READ', + returns: + { + arg: 'body', + type: 'file', + root: true + }, + http: { + path: `/checkInbox`, + verb: 'GET' + } + }); + + Self.checkInbox = async() => { + let imapConfig = await Self.app.models.WorkerTimeControlParams.findOne(); + let imap = new Imap({ + user: imapConfig.mailUser, + password: imapConfig.mailPass, + host: imapConfig.mailHost, + port: 993, + tls: true + }); + let isEmailOk; + let emailText = ''; + + function openInbox(cb) { + imap.openBox('INBOX', true, cb); + } + + imap.once('ready', function() { + openInbox(function(err, box) { + if (err) throw err; + let f = imap.seq.fetch('1:3', { + bodies: ['HEADER.FIELDS (FROM SUBJECT)', '1'], + struct: true + }); + f.on('message', function(msg, seqno) { + isEmailOk = false; + msg.on('body', function(stream, info) { + let buffer = ''; + stream.on('data', function(chunk) { + buffer = chunk.toString('utf8'); + if (info.which === '1') { + emailText = buffer.split('\n')[0]; + emailText = emailText.toUpperCase(); + emailText = emailText.replace(/\s/g, ''); + if (emailText === 'OK') + isEmailOk = true; // isEmailOk + } + }); + stream.once('end', function() { + if (info.which === 'HEADER.FIELDS (FROM SUBJECT)') { + console.log('isEmailOk', isEmailOk); + if (isEmailOk) { + emailConfirm(buffer); + imap.seq.move(seqno, 'exito', function(err) { + console.log('Move correcte: ' + err); + console.log('Move error: ' + seqno); + }); + } else { + emailReply(buffer); + imap.seq.move(seqno, 'error', function(err) { + console.log('Move error: ' + err); + console.log('Move error: ' + seqno); + }); + } + } + }); + }); + }); + // msg.on('attributes', function(attrs) { + // console.log('ATRIBUTO', attrs.struct[0]); + // console.log('ATRIBUTO', attrs.struct[0].params); + // }); + }); + }); + + imap.connect(); + return 'pepinillos'; + }; + async function getUser(workerEmail) { + let firstPosition = workerEmail.search('<') + 1; + let lastPosition = workerEmail.search('@') - firstPosition; + let userName = workerEmail.substr(firstPosition, lastPosition); + let user = await Self.app.models.Account.findOne({where: {name: userName}}); + return user; + } + + async function getEmailDate(subject) { + let date = subject.match(/\d+/g); + return date; + } + + async function emailConfirm(buffer) { + let now = new Date(); + let from = JSON.stringify(Imap.parseHeader(buffer).from); + let subject = JSON.stringify(Imap.parseHeader(buffer).subject); + + let timeControlDate = await getEmailDate(subject); + let week = timeControlDate[0]; + let year = timeControlDate[1]; + let user = await getUser(from); + + let workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ + where: { + week: week, + year: year, + worker: user.id + } + }); + await workerMail.updateAttributes({ + updated: now, + state: 'CONFIRMED' + }); + // MOVER A CARPETA EXITO + } + async function emailReply(subject, workerEmail) { + console.log('bbbbb'); + + // INSERT EN VN.MAIL + // UPDATE EN WORKERTIMECONTROLMAIL + // MOVER A CARPETA ERROR + } +}; diff --git a/package-lock.json b/package-lock.json index 92030199a..28cfafa08 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4955,7 +4955,7 @@ }, "util": { "version": "0.10.3", - "resolved": "http://registry.npmjs.org/util/-/util-0.10.3.tgz", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", "dev": true, "requires": { @@ -5917,7 +5917,7 @@ "base": { "version": "0.11.2", "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "integrity": "sha1-e95c7RRbbVUakNuH+DxVi060io8=", "dev": true, "requires": { "cache-base": "^1.0.1", @@ -6423,7 +6423,7 @@ "cache-base": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "integrity": "sha1-Cn9GQWgxyLZi7jb+TnxZ129marI=", "dev": true, "requires": { "collection-visit": "^1.0.0", @@ -6637,7 +6637,7 @@ "class-utils": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "integrity": "sha1-+TNprouafOAv1B+q0MqDAzGQxGM=", "dev": true, "requires": { "arr-union": "^3.1.0", @@ -7762,7 +7762,7 @@ "dot-prop": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz", - "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==", + "integrity": "sha1-HxngwuGqDjJ5fEl5nyg3rGr2nFc=", "requires": { "is-obj": "^1.0.0" } @@ -7925,6 +7925,11 @@ "iconv-lite": "~0.4.13" } }, + "encoding-japanese": { + "version": "1.0.30", + "resolved": "https://registry.npmjs.org/encoding-japanese/-/encoding-japanese-1.0.30.tgz", + "integrity": "sha512-bd/DFLAoJetvv7ar/KIpE3CNO8wEuyrt9Xuw6nSMiZ+Vrz/Q21BPsMHvARL2Wz6IKHKXgb+DWZqtRg1vql9cBg==" + }, "end-of-stream": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", @@ -8889,7 +8894,7 @@ }, "file-loader": { "version": "1.1.11", - "resolved": "http://registry.npmjs.org/file-loader/-/file-loader-1.1.11.tgz", + "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-1.1.11.tgz", "integrity": "sha512-TGR4HU7HUsGg6GCOPJnFk06RhWgEWFLAGWiT6rcD+GRC2keU3s9RGJ+b3Z6/U73jwwNb2gKLJ7YCrp+jvU4ALg==", "dev": true, "requires": { @@ -10075,7 +10080,7 @@ "global-modules": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", - "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", + "integrity": "sha1-bXcPDrUjrHgWTXK15xqIdyZcw+o=", "dev": true, "requires": { "global-prefix": "^1.0.1", @@ -11412,8 +11417,7 @@ "he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "dev": true + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==" }, "helmet": { "version": "3.21.2", @@ -11613,6 +11617,17 @@ } } }, + "html-to-text": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/html-to-text/-/html-to-text-5.1.1.tgz", + "integrity": "sha512-Bci6bD/JIfZSvG4s0gW/9mMKwBRoe/1RWLxUME/d6WUSZCdY7T60bssf/jFf7EYXRyqU4P5xdClVqiYU0/ypdA==", + "requires": { + "he": "^1.2.0", + "htmlparser2": "^3.10.1", + "lodash": "^4.17.11", + "minimist": "^1.2.0" + } + }, "html-webpack-plugin": { "version": "4.0.0-beta.11", "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.0.0-beta.11.tgz", @@ -11848,6 +11863,38 @@ "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=", "dev": true }, + "imap": { + "version": "0.8.19", + "resolved": "https://registry.npmjs.org/imap/-/imap-0.8.19.tgz", + "integrity": "sha1-NniHOTSrCc6mukh0HyhNoq9Z2NU=", + "requires": { + "readable-stream": "1.1.x", + "utf7": ">=1.0.2" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" + } + } + }, "import-fresh": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.1.0.tgz", @@ -12258,7 +12305,7 @@ "is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "integrity": "sha1-LBY7P6+xtgbZ0Xko8FwqHDjgdnc=", "dev": true, "requires": { "isobject": "^3.0.1" @@ -12612,7 +12659,7 @@ "jasmine-spec-reporter": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/jasmine-spec-reporter/-/jasmine-spec-reporter-4.2.1.tgz", - "integrity": "sha512-FZBoZu7VE5nR7Nilzy+Np8KuVIOxF4oXDPDknehCYBDE080EnlPu0afdZNmpGDBRCUBv3mj5qgqCRmk6W/K8vg==", + "integrity": "sha1-HWMq7ANBZwrTJPkrqEtLMrNeniI=", "dev": true, "requires": { "colors": "1.1.2" @@ -17602,6 +17649,32 @@ "type-check": "~0.3.2" } }, + "libbase64": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/libbase64/-/libbase64-1.2.1.tgz", + "integrity": "sha512-l+nePcPbIG1fNlqMzrh68MLkX/gTxk/+vdvAb388Ssi7UuUN31MI44w4Yf33mM3Cm4xDfw48mdf3rkdHszLNew==" + }, + "libmime": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/libmime/-/libmime-5.0.0.tgz", + "integrity": "sha512-2Bm96d5ktnE217Ib1FldvUaPAaOst6GtZrsxJCwnJgi9lnsoAKIHyU0sae8rNx6DNYbjdqqh8lv5/b9poD8qOg==", + "requires": { + "encoding-japanese": "1.0.30", + "iconv-lite": "0.6.2", + "libbase64": "1.2.1", + "libqp": "1.1.0" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz", + "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, "liboneandone": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/liboneandone/-/liboneandone-1.2.0.tgz", @@ -17611,6 +17684,11 @@ "request": "^2.74.0" } }, + "libqp": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/libqp/-/libqp-1.1.0.tgz", + "integrity": "sha1-9ebgatdLeU+1tbZpiL9yjvHe2+g=" + }, "liftoff": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-3.1.0.tgz", @@ -17633,6 +17711,14 @@ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", "dev": true }, + "linkify-it": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.2.tgz", + "integrity": "sha512-gDBO4aHNZS6coiZCKVhSNh43F9ioIL4JwRjLZPkoLIY4yZFwg264Y5lu2x6rb1Js42Gh6Yqm2f6L2AJcnkzinQ==", + "requires": { + "uc.micro": "^1.0.1" + } + }, "load-json-file": { "version": "1.1.0", "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", @@ -18379,6 +18465,68 @@ "yallist": "^3.0.2" } }, + "mailparser": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/mailparser/-/mailparser-2.8.0.tgz", + "integrity": "sha512-Ja5H6/I1NKIFdFJF5HdZkaMGCN8F+1lu3870ZmrabkHQshhrPk4OWeEMiF0OVo82+6XJqemJPCg6pqgXaj3B6Q==", + "requires": { + "encoding-japanese": "1.0.30", + "he": "1.2.0", + "html-to-text": "5.1.1", + "iconv-lite": "0.6.2", + "libmime": "5.0.0", + "linkify-it": "3.0.2", + "mailsplit": "5.0.0", + "nodemailer": "6.4.10", + "tlds": "1.207.0" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz", + "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + }, + "nodemailer": { + "version": "6.4.10", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.4.10.tgz", + "integrity": "sha512-j+pS9CURhPgk6r0ENr7dji+As2xZiHSvZeVnzKniLOw1eRAyM/7flP0u65tCnsapV8JFu+t0l/5VeHsCZEeh9g==" + } + } + }, + "mailsplit": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/mailsplit/-/mailsplit-5.0.0.tgz", + "integrity": "sha512-HeXA0eyCKBtZqbr7uoeb3Nn2L7VV8Vm27x6/YBb0ZiNzRzLoNS2PqRgGYADwh0cBzLYtqddq40bSSirqLO2LGw==", + "requires": { + "libbase64": "1.2.1", + "libmime": "4.2.1", + "libqp": "1.1.0" + }, + "dependencies": { + "iconv-lite": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.5.0.tgz", + "integrity": "sha512-NnEhI9hIEKHOzJ4f697DMz9IQEXr/MMJ5w64vN2/4Ai+wRnvV7SBrL0KLoRlwaKVghOc7LQ5YkPLuX146b6Ydw==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "libmime": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/libmime/-/libmime-4.2.1.tgz", + "integrity": "sha512-09y7zjSc5im1aNsq815zgo4/G3DnIzym3aDOHsGq4Ee5vrX4PdgQRybAsztz9Rv0NhO+J5C0llEUloa3sUmjmA==", + "requires": { + "encoding-japanese": "1.0.30", + "iconv-lite": "0.5.0", + "libbase64": "1.2.1", + "libqp": "1.1.0" + } + } + } + }, "make-dir": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", @@ -21087,7 +21235,7 @@ "dependencies": { "jsesc": { "version": "0.5.0", - "resolved": "http://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", "dev": true } @@ -21474,7 +21622,7 @@ }, "safe-regex": { "version": "1.1.0", - "resolved": "http://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", "dev": true, "requires": { @@ -21675,7 +21823,7 @@ "dependencies": { "source-map": { "version": "0.4.4", - "resolved": "http://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", "dev": true, "requires": { @@ -22123,7 +22271,7 @@ "snapdragon-node": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "integrity": "sha1-bBdfhv8UvbByRWPo88GwIaKGhTs=", "dev": true, "requires": { "define-property": "^1.0.0", @@ -22174,7 +22322,7 @@ "snapdragon-util": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "integrity": "sha1-+VZHlIbyrNeXAGk/b3uAXkWrVuI=", "dev": true, "requires": { "kind-of": "^3.2.0" @@ -22458,7 +22606,7 @@ "split-string": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "integrity": "sha1-fLCd2jqGWFcFxks5pkZgOGguj+I=", "dev": true, "requires": { "extend-shallow": "^3.0.0" @@ -23596,6 +23744,11 @@ "setimmediate": "^1.0.4" } }, + "tlds": { + "version": "1.207.0", + "resolved": "https://registry.npmjs.org/tlds/-/tlds-1.207.0.tgz", + "integrity": "sha512-k7d7Q1LqjtAvhtEOs3yN14EabsNO8ZCoY6RESSJDB9lst3bTx3as/m1UuAeCKzYxiyhR1qq72ZPhpSf+qlqiwg==" + }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", @@ -23731,7 +23884,7 @@ "touch": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", - "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", + "integrity": "sha1-/jZfX3XsntTlaCXgu3bSSrdK+Ds=", "dev": true, "requires": { "nopt": "~1.0.10" @@ -23880,6 +24033,11 @@ "is-typedarray": "^1.0.0" } }, + "uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" + }, "uglify-js": { "version": "3.4.10", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz", @@ -24220,6 +24378,21 @@ "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", "dev": true }, + "utf7": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/utf7/-/utf7-1.0.2.tgz", + "integrity": "sha1-lV9JCq5lO6IguUVqCod2wZk2CZE=", + "requires": { + "semver": "~5.3.0" + }, + "dependencies": { + "semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=" + } + } + }, "utf8-bytes": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/utf8-bytes/-/utf8-bytes-0.0.1.tgz", @@ -25009,7 +25182,7 @@ }, "globby": { "version": "6.1.0", - "resolved": "http://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", "dev": true, "requires": { @@ -25022,7 +25195,7 @@ "dependencies": { "pify": { "version": "2.3.0", - "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", "dev": true } @@ -25495,7 +25668,7 @@ }, "xmlbuilder": { "version": "9.0.7", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", + "resolved": "http://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=" }, "xmlchars": { diff --git a/package.json b/package.json index b7cca0364..837eab8b3 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "fs-extra": "^5.0.0", "helmet": "^3.21.2", "i18n": "^0.8.4", + "imap": "^0.8.19", "loopback": "^3.26.0", "loopback-boot": "^2.27.1", "loopback-component-explorer": "^6.5.0", @@ -23,6 +24,7 @@ "loopback-connector-mysql": "^5.4.3", "loopback-connector-remote": "^3.4.1", "loopback-context": "^3.4.0", + "mailparser": "^2.8.0", "md5": "^2.2.1", "object-diff": "0.0.4", "object.pick": "^1.3.0", From fa344f4ff68e3fc00e192f56352138bb7cbcdb99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20S=C3=A1nchez?= Date: Sat, 19 Sep 2020 13:02:00 +0200 Subject: [PATCH 04/28] 2449 - Autocompletion --- front/core/components/autocomplete/index.js | 4 +- front/core/components/drop-down/index.js | 3 ++ .../front/basic-data/step-one/index.html | 11 ++++-- .../ticket/front/basic-data/step-one/index.js | 12 +++++- .../back/methods/agency-mode/byWarehouse.js | 38 +++++++++++++++++++ modules/zone/back/models/agency-mode.js | 3 ++ 6 files changed, 64 insertions(+), 7 deletions(-) create mode 100644 modules/zone/back/methods/agency-mode/byWarehouse.js create mode 100644 modules/zone/back/models/agency-mode.js diff --git a/front/core/components/autocomplete/index.js b/front/core/components/autocomplete/index.js index 30e984fc6..b335d266f 100755 --- a/front/core/components/autocomplete/index.js +++ b/front/core/components/autocomplete/index.js @@ -248,7 +248,8 @@ export default class Autocomplete extends Field { 'where', 'order', 'limit', - 'searchFunction' + 'searchFunction', + 'whereFunction' ]); } @@ -290,6 +291,7 @@ ngModule.vnComponent('vnAutocomplete', { limit: ' + ng-model="$ctrl.agencyModeId" + where="{warehouseFk: $ctrl.warehouseId}"> + vn-acl="productionBoss" + where-function="$ctrl.zoneWhere()"> {{::name}} - Max. {{::hour | date: 'HH:mm'}} h. diff --git a/modules/ticket/front/basic-data/step-one/index.js b/modules/ticket/front/basic-data/step-one/index.js index 45fd397dd..0e18326ae 100644 --- a/modules/ticket/front/basic-data/step-one/index.js +++ b/modules/ticket/front/basic-data/step-one/index.js @@ -56,12 +56,14 @@ class Controller extends Component { set warehouseId(value) { if (value != this.ticket.warehouseFk) { this.ticket.warehouseFk = value; - this.getShipped({ + this.ticket.agencyModeFk = null; + this.ticket.zoneFk = null; + /* this.getShipped({ landed: this.ticket.landed, addressFk: this.ticket.addressFk, agencyModeFk: this.ticket.agencyModeFk, warehouseFk: value - }); + }); */ } } @@ -241,6 +243,12 @@ class Controller extends Component { || !this.ticket.companyFk || !this.ticket.shipped || !this.ticket.landed || !this.ticket.zoneFk; } + + zoneWhere() { + if (this.agencyModeId) + return {agencyModeFk: this.agencyModeId}; + return {}; + } } ngModule.vnComponent('vnTicketBasicDataStepOne', { diff --git a/modules/zone/back/methods/agency-mode/byWarehouse.js b/modules/zone/back/methods/agency-mode/byWarehouse.js new file mode 100644 index 000000000..c89217eef --- /dev/null +++ b/modules/zone/back/methods/agency-mode/byWarehouse.js @@ -0,0 +1,38 @@ +const ParameterizedSQL = require('loopback-connector').ParameterizedSQL; +const mergeFilters = require('vn-loopback/util/filter').mergeFilters; + +module.exports = Self => { + Self.remoteMethod('byWarehouse', { + description: 'Returns a list of agencies from a warehouse', + accepts: [{ + arg: 'filter', + type: 'Object', + description: `Filter defining where, order, offset, and limit - must be a JSON-encoded string` + }], + returns: { + type: ['object'], + root: true + }, + http: { + path: `/byWarehouse`, + verb: 'GET' + } + }); + + Self.byWarehouse = async filter => { + const conn = Self.dataSource.connector; + const where = {isActive: true}; + filter = mergeFilters(filter, {where}); + + let stmt = new ParameterizedSQL( + `SELECT id, name + FROM ( + SELECT DISTINCT am.id, am.name, am.isActive, zw.warehouseFk + FROM zoneWarehouse zw + JOIN zone z ON z.id = zw.zoneFk + JOIN agencyMode am ON am.id = z.agencyModeFk) am`); + stmt.merge(conn.makeSuffix(filter)); + + return conn.executeStmt(stmt); + }; +}; diff --git a/modules/zone/back/models/agency-mode.js b/modules/zone/back/models/agency-mode.js new file mode 100644 index 000000000..93658f471 --- /dev/null +++ b/modules/zone/back/models/agency-mode.js @@ -0,0 +1,3 @@ +module.exports = Self => { + require('../methods/agency-mode/byWarehouse')(Self); +}; From 6abd707a6db0345f075f5feae8980b54f7be72f0 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Mon, 21 Sep 2020 19:16:51 +0200 Subject: [PATCH 05/28] Tests fixed --- modules/client/back/methods/client/specs/consumption.spec.js | 2 +- modules/ticket/back/methods/ticket-request/specs/filter.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/client/back/methods/client/specs/consumption.spec.js b/modules/client/back/methods/client/specs/consumption.spec.js index 30a0572b3..f70c09370 100644 --- a/modules/client/back/methods/client/specs/consumption.spec.js +++ b/modules/client/back/methods/client/specs/consumption.spec.js @@ -24,7 +24,7 @@ describe('client consumption() filter', () => { where: { clientFk: 101 }, - order: 'itemTypeFk, itemName, itemSize' + order: 'itemFk' }; const result = await app.models.Client.consumption(ctx, filter); diff --git a/modules/ticket/back/methods/ticket-request/specs/filter.spec.js b/modules/ticket/back/methods/ticket-request/specs/filter.spec.js index 175bf9c1a..68d7601e4 100644 --- a/modules/ticket/back/methods/ticket-request/specs/filter.spec.js +++ b/modules/ticket/back/methods/ticket-request/specs/filter.spec.js @@ -66,7 +66,7 @@ describe('ticket-request filter()', () => { it('should return the ticket request matching the warehouse ID', async() => { let ctx = {req: {accessToken: {userId: 9}}, args: {warehouse: 1}}; - let result = await app.models.TicketRequest.filter(ctx); + let result = await app.models.TicketRequest.filter(ctx, {order: 'id'}); let requestId = result[0].id; expect(requestId).toEqual(3); From 2d1cf566f8ed85dd93712020ad13abe4074929ee Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Mon, 21 Sep 2020 22:54:36 +0200 Subject: [PATCH 06/28] All tests fixed --- modules/order/front/main/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/order/front/main/index.html b/modules/order/front/main/index.html index aad40488e..d622fea38 100644 --- a/modules/order/front/main/index.html +++ b/modules/order/front/main/index.html @@ -3,7 +3,7 @@ url="Orders/filter" limit="20" data="orders" - order="landed DESC, clientFk"> + order="landed DESC, clientFk, id DESC"> Date: Tue, 22 Sep 2020 07:38:20 +0200 Subject: [PATCH 07/28] Added new method --- .../front/basic-data/step-one/index.html | 2 +- .../ticket/front/basic-data/step-one/index.js | 10 +++- .../back/methods/zone/includingExpired.js | 60 +++++++++++++++++++ modules/zone/back/models/zone.js | 1 + 4 files changed, 70 insertions(+), 3 deletions(-) create mode 100644 modules/zone/back/methods/zone/includingExpired.js diff --git a/modules/ticket/front/basic-data/step-one/index.html b/modules/ticket/front/basic-data/step-one/index.html index eb2fe9560..59435635e 100644 --- a/modules/ticket/front/basic-data/step-one/index.html +++ b/modules/ticket/front/basic-data/step-one/index.html @@ -70,7 +70,7 @@ { + Self.remoteMethod('includingExpired', { + description: 'Returns a list of agencies from a warehouse', + accepts: [{ + arg: 'filter', + type: 'Object', + description: `Filter defining where, order, offset, and limit - must be a JSON-encoded string` + }], + returns: { + type: ['object'], + root: true + }, + http: { + path: `/includingExpired`, + verb: 'GET' + } + }); + + Self.includingExpired = async filter => { + const conn = Self.dataSource.connector; + const where = filter.where; + // filter = mergeFilters(filter, {where}); + const stmts = []; + let stmt; + + console.log(where); + + if (where.agencyModeFk) { + stmt = new ParameterizedSQL(`CALL vn.zone_getLanded(?, ?, ?, ?, ?)`, [ + where.shipped, + where.addressFk, + where.agencyModeFk, + where.warehouseFk, + true]); + stmts.push(stmt); + } + + stmt = new ParameterizedSQL( + `SELECT id, name, agencyModeFk + FROM vn.zone z`); + + if (where.agencyModeFk) + stmt.merge(`JOIN tmp.zoneGetLanded zgl ON zgl.zoneFk = z.id`); + + stmt.merge(conn.makePagination(filter)); + + let index; + if (stmts.length) + index = stmts.push(stmt) - 1; + else stmts.push(stmt); + + const sql = ParameterizedSQL.join(stmts, ';'); + const result = await conn.executeStmt(sql); + + return index ? result[index] : result; + }; +}; diff --git a/modules/zone/back/models/zone.js b/modules/zone/back/models/zone.js index b0f21c998..0b1b9d106 100644 --- a/modules/zone/back/models/zone.js +++ b/modules/zone/back/models/zone.js @@ -5,6 +5,7 @@ module.exports = Self => { require('../methods/zone/toggleIsIncluded')(Self); require('../methods/zone/getUpcomingDeliveries')(Self); require('../methods/zone/deleteZone')(Self); + require('../methods/zone/includingExpired')(Self); Self.validatesPresenceOf('agencyModeFk', { message: `Agency cannot be blank` From 06f03c6b849c7d50afd49d8011aa2c1c0c93c13d Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Tue, 22 Sep 2020 13:59:00 +0200 Subject: [PATCH 08/28] mail models and fix checkInbox --- back/methods/imap-time-control/checkInbox.js | 165 +++++++++++++------ back/model-config.json | 3 + back/models/mail-forward.json | 26 +++ back/models/mail.json | 3 +- db/tests/vn/workerTimeControlCheck.spec.js | 2 +- modules/worker/back/models/worker.json | 3 + 6 files changed, 145 insertions(+), 57 deletions(-) create mode 100644 back/models/mail-forward.json diff --git a/back/methods/imap-time-control/checkInbox.js b/back/methods/imap-time-control/checkInbox.js index ff0b0a46e..4f3cb06b0 100644 --- a/back/methods/imap-time-control/checkInbox.js +++ b/back/methods/imap-time-control/checkInbox.js @@ -1,5 +1,5 @@ const Imap = require('imap'); - +const {NULL} = require('node-sass'); module.exports = Self => { Self.remoteMethod('checkInbox', { description: 'Check an email inbox and process it', @@ -26,7 +26,8 @@ module.exports = Self => { tls: true }); let isEmailOk; - let emailText = ''; + let uid; + let emailBody; function openInbox(cb) { imap.openBox('INBOX', true, cb); @@ -35,7 +36,7 @@ module.exports = Self => { imap.once('ready', function() { openInbox(function(err, box) { if (err) throw err; - let f = imap.seq.fetch('1:3', { + let f = imap.seq.fetch('1:*', { bodies: ['HEADER.FIELDS (FROM SUBJECT)', '1'], struct: true }); @@ -43,87 +44,143 @@ module.exports = Self => { isEmailOk = false; msg.on('body', function(stream, info) { let buffer = ''; + let bufferCopy = ''; stream.on('data', function(chunk) { + // console.log('chunk', chunk); buffer = chunk.toString('utf8'); - if (info.which === '1') { - emailText = buffer.split('\n')[0]; - emailText = emailText.toUpperCase(); - emailText = emailText.replace(/\s/g, ''); - if (emailText === 'OK') - isEmailOk = true; // isEmailOk + // console.log('buffer', buffer); + if (info.which === '1' && bufferCopy.length == 0) + bufferCopy = buffer.replace(/\s/g, ' '); + }); + stream.on('end', function() { + if (bufferCopy.length > 0) { + emailBody = bufferCopy.toUpperCase().trim(); + + const bodyPositionOK = emailBody.match(/\bOK\b/i); + + if (bodyPositionOK != null && (bodyPositionOK.index == 0 || bodyPositionOK.index == 122)) + isEmailOk = true; + else + isEmailOk = false; } }); - stream.once('end', function() { + msg.once('attributes', function(attrs) { + uid = attrs.uid; + // let structure = attrs.struct[2][0]; + // console.log('attrs.struct', structure); + // console.log('attrs', structure.params); + // console.log('attrs.struct', structure.find(item => item.subtype === 'html')); + }); + msg.once('end', function() { if (info.which === 'HEADER.FIELDS (FROM SUBJECT)') { - console.log('isEmailOk', isEmailOk); if (isEmailOk) { + imap.move(uid, 'exito', function(err) { + }); emailConfirm(buffer); - imap.seq.move(seqno, 'exito', function(err) { - console.log('Move correcte: ' + err); - console.log('Move error: ' + seqno); - }); } else { - emailReply(buffer); - imap.seq.move(seqno, 'error', function(err) { - console.log('Move error: ' + err); - console.log('Move error: ' + seqno); + imap.move(uid, 'error', function(err) { }); + emailReply(buffer, emailBody); } } }); }); }); - // msg.on('attributes', function(attrs) { - // console.log('ATRIBUTO', attrs.struct[0]); - // console.log('ATRIBUTO', attrs.struct[0].params); - // }); + f.once('end', function() { + imap.end(); + }); }); }); imap.connect(); - return 'pepinillos'; + return 'Leer emails de gestion horaria'; }; - async function getUser(workerEmail) { - let firstPosition = workerEmail.search('<') + 1; - let lastPosition = workerEmail.search('@') - firstPosition; - let userName = workerEmail.substr(firstPosition, lastPosition); - let user = await Self.app.models.Account.findOne({where: {name: userName}}); - return user; - } - - async function getEmailDate(subject) { - let date = subject.match(/\d+/g); - return date; - } async function emailConfirm(buffer) { - let now = new Date(); - let from = JSON.stringify(Imap.parseHeader(buffer).from); - let subject = JSON.stringify(Imap.parseHeader(buffer).subject); + // try { + const now = new Date(); + const from = JSON.stringify(Imap.parseHeader(buffer).from); + const subject = JSON.stringify(Imap.parseHeader(buffer).subject); - let timeControlDate = await getEmailDate(subject); - let week = timeControlDate[0]; - let year = timeControlDate[1]; - let user = await getUser(from); + const timeControlDate = await getEmailDate(subject); + const week = timeControlDate[0]; + const year = timeControlDate[1]; + const user = await getUser(from); let workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ where: { week: week, year: year, - worker: user.id + workerFk: user.id } }); - await workerMail.updateAttributes({ - updated: now, - state: 'CONFIRMED' - }); - // MOVER A CARPETA EXITO + if (workerMail != NULL) { + await workerMail.updateAttributes({ + updated: now, + state: 'CONFIRMED' + }); + } + // } catch (err) { + // throw err; + // } } - async function emailReply(subject, workerEmail) { - console.log('bbbbb'); - // INSERT EN VN.MAIL - // UPDATE EN WORKERTIMECONTROLMAIL - // MOVER A CARPETA ERROR + async function emailReply(buffer, emailBody) { + // try { + const now = new Date(); + const from = JSON.stringify(Imap.parseHeader(buffer).from); + const subject = JSON.stringify(Imap.parseHeader(buffer).subject); + + const timeControlDate = await getEmailDate(subject); + const week = timeControlDate[0]; + const year = timeControlDate[1]; + const user = await getUser(from); + + let workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ + where: { + week: week, + year: year, + workerFk: user.id + } + }); + if (workerMail != NULL) { + await workerMail.updateAttributes({ + updated: now, + state: 'REVISE' + }); + } + + await sendMail(user, subject, emailBody); + // } catch (err) { + // throw err; + // } + } + + async function getUser(workerEmail) { + const userEmail = workerEmail.match(/(?<=<)(.*?)(?=>)/); + + let [user] = await Self.rawSql(`SELECT u.id,u.name FROM account.user u + LEFT JOIN account.mailForward m on m.account = u.id + WHERE forwardTo =? OR + CONCAT(u.name,'@verdnatura.es') = ?`, + [userEmail[0], userEmail[0]]); + + return user; + } + + async function getEmailDate(subject) { + const date = subject.match(/\d+/g); + return date; + } + + async function sendMail(user, subject, emailBody) { + const sendTo = 'rrhh@verdnatura.es'; + const emailSubject = subject + ' ' + user.name; + + await Self.app.models.Mail.create({ + sender: sendTo, + subject: emailSubject, + body: emailBody + }); } }; diff --git a/back/model-config.json b/back/model-config.json index 46733696f..07900448c 100644 --- a/back/model-config.json +++ b/back/model-config.json @@ -79,6 +79,9 @@ }, "Mail": { "dataSource": "vn" + }, + "MailForward": { + "dataSource": "vn" } } diff --git a/back/models/mail-forward.json b/back/models/mail-forward.json new file mode 100644 index 000000000..40b695a7a --- /dev/null +++ b/back/models/mail-forward.json @@ -0,0 +1,26 @@ +{ + "name": "MailForward", + "base": "VnModel", + "options": { + "mysql": { + "table": "account.mailForward" + } + }, + "properties": { + "account": { + "id": true, + "type": "Number" + }, + "forwardTo": { + "type": "String" + } + }, + "acls": [ + { + "accessType": "READ", + "principalType": "ROLE", + "principalId": "$everyone", + "permission": "ALLOW" + } + ] +} diff --git a/back/models/mail.json b/back/models/mail.json index cf5c11993..3861460f3 100644 --- a/back/models/mail.json +++ b/back/models/mail.json @@ -9,8 +9,7 @@ "properties": { "id": { "id": true, - "type": "Number", - "required": true + "type": "Number" }, "sender": { "type": "String" diff --git a/db/tests/vn/workerTimeControlCheck.spec.js b/db/tests/vn/workerTimeControlCheck.spec.js index 4869e38a6..f70a0b1c3 100644 --- a/db/tests/vn/workerTimeControlCheck.spec.js +++ b/db/tests/vn/workerTimeControlCheck.spec.js @@ -1,7 +1,7 @@ const app = require('vn-loopback/server/server'); const ParameterizedSQL = require('loopback-connector').ParameterizedSQL; -// #2257 xdescribe dbtest workerTimeControl_check() +// #2261 xdescribe dbtest workerTimeControl_check() xdescribe('worker workerTimeControl_check()', () => { it(`should throw an error if the worker can't sign on that tablet`, async() => { let stmts = []; diff --git a/modules/worker/back/models/worker.json b/modules/worker/back/models/worker.json index 6af7e8608..45eee23bf 100644 --- a/modules/worker/back/models/worker.json +++ b/modules/worker/back/models/worker.json @@ -31,6 +31,9 @@ "userFk": { "type" : "Number", "required": true + }, + "bossFk": { + "type" : "Number" } }, "relations": { From 2b2970bfcd1af3c6db22f8a941eef213bc585c4a Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Wed, 23 Sep 2020 07:35:45 +0200 Subject: [PATCH 09/28] fix checkInbox --- back/methods/imap-time-control/checkInbox.js | 64 +++++++++----------- back/models/worker-time-control-mail.json | 3 + 2 files changed, 33 insertions(+), 34 deletions(-) diff --git a/back/methods/imap-time-control/checkInbox.js b/back/methods/imap-time-control/checkInbox.js index 4f3cb06b0..a79fe4418 100644 --- a/back/methods/imap-time-control/checkInbox.js +++ b/back/methods/imap-time-control/checkInbox.js @@ -46,9 +46,7 @@ module.exports = Self => { let buffer = ''; let bufferCopy = ''; stream.on('data', function(chunk) { - // console.log('chunk', chunk); buffer = chunk.toString('utf8'); - // console.log('buffer', buffer); if (info.which === '1' && bufferCopy.length == 0) bufferCopy = buffer.replace(/\s/g, ' '); }); @@ -66,10 +64,6 @@ module.exports = Self => { }); msg.once('attributes', function(attrs) { uid = attrs.uid; - // let structure = attrs.struct[2][0]; - // console.log('attrs.struct', structure); - // console.log('attrs', structure.params); - // console.log('attrs.struct', structure.find(item => item.subtype === 'html')); }); msg.once('end', function() { if (info.which === 'HEADER.FIELDS (FROM SUBJECT)') { @@ -97,7 +91,7 @@ module.exports = Self => { }; async function emailConfirm(buffer) { - // try { + console.log('buffer', buffer); const now = new Date(); const from = JSON.stringify(Imap.parseHeader(buffer).from); const subject = JSON.stringify(Imap.parseHeader(buffer).subject); @@ -106,27 +100,28 @@ module.exports = Self => { const week = timeControlDate[0]; const year = timeControlDate[1]; const user = await getUser(from); + let workerMail; - let workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ - where: { - week: week, - year: year, - workerFk: user.id - } - }); + if (user.id != NULL) { + workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ + where: { + week: week, + year: year, + workerFk: user.id + } + }); + } if (workerMail != NULL) { await workerMail.updateAttributes({ updated: now, state: 'CONFIRMED' }); } - // } catch (err) { - // throw err; - // } } async function emailReply(buffer, emailBody) { - // try { + console.log('buffer', buffer); + console.log('emailBody', emailBody); const now = new Date(); const from = JSON.stringify(Imap.parseHeader(buffer).from); const subject = JSON.stringify(Imap.parseHeader(buffer).subject); @@ -135,25 +130,26 @@ module.exports = Self => { const week = timeControlDate[0]; const year = timeControlDate[1]; const user = await getUser(from); + let workerMail; - let workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ - where: { - week: week, - year: year, - workerFk: user.id - } - }); - if (workerMail != NULL) { - await workerMail.updateAttributes({ - updated: now, - state: 'REVISE' + if (user.id != NULL) { + workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ + where: { + week: week, + year: year, + workerFk: user.id + } }); - } - await sendMail(user, subject, emailBody); - // } catch (err) { - // throw err; - // } + if (workerMail != NULL) { + await workerMail.updateAttributes({ + updated: now, + state: 'REVISE', + emailResponse: emailBody + }); + } else + await sendMail(user, subject, emailBody); + } } async function getUser(workerEmail) { diff --git a/back/models/worker-time-control-mail.json b/back/models/worker-time-control-mail.json index 4a0fd31f1..81ca235d7 100644 --- a/back/models/worker-time-control-mail.json +++ b/back/models/worker-time-control-mail.json @@ -26,6 +26,9 @@ }, "updated": { "type": "Date" + }, + "emailResponse": { + "type": "String" } }, "acls": [ From d4c819ebf722e7c8cd185cd26f4f00ac711aa271 Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Tue, 11 Aug 2020 11:03:43 +0200 Subject: [PATCH 10/28] new models and fixtures --- back/model-config.json | 9 +++++ back/models/mail.json | 36 +++++++++++++++++ back/models/worker-time-control-mail.json | 39 +++++++++++++++++++ back/models/worker-time-control-params.js | 3 ++ back/models/worker-time-control-params.json | 35 +++++++++++++++++ .../00-workerTimeControlParams.sql | 6 +++ db/dump/fixtures.sql | 4 +- 7 files changed, 130 insertions(+), 2 deletions(-) create mode 100644 back/models/mail.json create mode 100644 back/models/worker-time-control-mail.json create mode 100644 back/models/worker-time-control-params.js create mode 100644 back/models/worker-time-control-params.json create mode 100644 db/changes/12300-Summer/00-workerTimeControlParams.sql diff --git a/back/model-config.json b/back/model-config.json index dc5cde217..46733696f 100644 --- a/back/model-config.json +++ b/back/model-config.json @@ -70,6 +70,15 @@ }, "UserLog": { "dataSource": "vn" + }, + "WorkerTimeControlParams": { + "dataSource": "vn" + }, + "WorkerTimeControlMail": { + "dataSource": "vn" + }, + "Mail": { + "dataSource": "vn" } } diff --git a/back/models/mail.json b/back/models/mail.json new file mode 100644 index 000000000..cf5c11993 --- /dev/null +++ b/back/models/mail.json @@ -0,0 +1,36 @@ +{ + "name": "Mail", + "base": "VnModel", + "options": { + "mysql": { + "table": "mail" + } + }, + "properties": { + "id": { + "id": true, + "type": "Number", + "required": true + }, + "sender": { + "type": "String" + }, + "replyTo": { + "type": "String" + }, + "subject": { + "type": "String" + }, + "body": { + "type": "String" + } + }, + "acls": [ + { + "accessType": "READ", + "principalType": "ROLE", + "principalId": "$everyone", + "permission": "ALLOW" + } + ] +} diff --git a/back/models/worker-time-control-mail.json b/back/models/worker-time-control-mail.json new file mode 100644 index 000000000..4a0fd31f1 --- /dev/null +++ b/back/models/worker-time-control-mail.json @@ -0,0 +1,39 @@ +{ + "name": "WorkerTimeControlMail", + "base": "VnModel", + "options": { + "mysql": { + "table": "workerTimeControlMail" + } + }, + "properties": { + "id": { + "id": true, + "type": "Number", + "required": true + }, + "workerFk": { + "type": "Number" + }, + "year": { + "type": "Number" + }, + "week": { + "type": "Number" + }, + "state": { + "type": "String" + }, + "updated": { + "type": "Date" + } + }, + "acls": [ + { + "accessType": "READ", + "principalType": "ROLE", + "principalId": "$everyone", + "permission": "ALLOW" + } + ] +} diff --git a/back/models/worker-time-control-params.js b/back/models/worker-time-control-params.js new file mode 100644 index 000000000..c71d4c237 --- /dev/null +++ b/back/models/worker-time-control-params.js @@ -0,0 +1,3 @@ +module.exports = Self => { + require('../methods/imap-time-control/checkInbox')(Self); +}; diff --git a/back/models/worker-time-control-params.json b/back/models/worker-time-control-params.json new file mode 100644 index 000000000..cc904cf40 --- /dev/null +++ b/back/models/worker-time-control-params.json @@ -0,0 +1,35 @@ +{ + "name": "WorkerTimeControlParams", + "description": "imap config", + "base": "VnModel", + "options": { + "mysql": { + "table": "workerTimeControlParams" + } + }, + "properties": { + "mailHost": { + "type": "String" + }, + "mailUser": { + "type": "String" + }, + "mailPass": { + "type": "String" + }, + "mailSuccessFolder": { + "type": "String" + }, + "mailErrorFolder": { + "type": "String" + } + }, + "acls": [ + { + "accessType": "READ", + "principalType": "ROLE", + "principalId": "$everyone", + "permission": "ALLOW" + } + ] +} diff --git a/db/changes/12300-Summer/00-workerTimeControlParams.sql b/db/changes/12300-Summer/00-workerTimeControlParams.sql new file mode 100644 index 000000000..47ef2e3ea --- /dev/null +++ b/db/changes/12300-Summer/00-workerTimeControlParams.sql @@ -0,0 +1,6 @@ +ALTER TABLE `vn`.`workerTimeControlParams` +ADD COLUMN `mailUser` VARCHAR(45) NOT NULL AFTER `askInOut`, +ADD COLUMN `mailPass` VARCHAR(45) NOT NULL AFTER `mailUser`, +ADD COLUMN `mailHost` VARCHAR(45) NOT NULL AFTER `mailPass`, +ADD COLUMN `mailSuccessFolder` VARCHAR(45) NOT NULL AFTER `mailHost`, +ADD COLUMN `mailErrorFolder` VARCHAR(45) NOT NULL AFTER `mailSuccessFolder`; diff --git a/db/dump/fixtures.sql b/db/dump/fixtures.sql index 22fa2076a..5d886c9d8 100644 --- a/db/dump/fixtures.sql +++ b/db/dump/fixtures.sql @@ -2067,9 +2067,9 @@ INSERT INTO `vn`.`queuePriority`(`id`, `priority`) (2, 'Normal'), (3, 'Baja'); -INSERT INTO `vn`.`workerTimeControlParams` (`id`, `dayBreak`, `weekBreak`, `weekScope`, `dayWorkMax`, `dayStayMax`, `weekMaxBreak`, `weekMaxScope`, `askInOut`) +INSERT INTO `vn`.`workerTimeControlParams` (`id`, `dayBreak`, `weekBreak`, `weekScope`, `dayWorkMax`, `dayStayMax`, `weekMaxBreak`, `weekMaxScope`, `askInOut`, `mailSuccessFolder`, `mailErrorFolder`) VALUES - (1, 43200, 129600, 734400, 43200, 50400, 259200, 1296000, 36000); + (1, 43200, 129600, 734400, 43200, 50400, 259200, 1296000, 36000, 'Leidos.exito', 'Leidos.error'); INSERT IGNORE INTO `vn`.`greugeConfig` (`id`, `freightPickUpPrice`) VALUES ('1', '11'); From 01574b8967ff0332373c411a992eded5360c2ac0 Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Tue, 11 Aug 2020 11:12:40 +0200 Subject: [PATCH 11/28] new method for imap --- back/methods/imap-time-control/checkInbox.js | 129 +++++++++++++ package-lock.json | 183 ++++++++++++++++++- package.json | 2 + 3 files changed, 309 insertions(+), 5 deletions(-) create mode 100644 back/methods/imap-time-control/checkInbox.js diff --git a/back/methods/imap-time-control/checkInbox.js b/back/methods/imap-time-control/checkInbox.js new file mode 100644 index 000000000..ff0b0a46e --- /dev/null +++ b/back/methods/imap-time-control/checkInbox.js @@ -0,0 +1,129 @@ +const Imap = require('imap'); + +module.exports = Self => { + Self.remoteMethod('checkInbox', { + description: 'Check an email inbox and process it', + accessType: 'READ', + returns: + { + arg: 'body', + type: 'file', + root: true + }, + http: { + path: `/checkInbox`, + verb: 'GET' + } + }); + + Self.checkInbox = async() => { + let imapConfig = await Self.app.models.WorkerTimeControlParams.findOne(); + let imap = new Imap({ + user: imapConfig.mailUser, + password: imapConfig.mailPass, + host: imapConfig.mailHost, + port: 993, + tls: true + }); + let isEmailOk; + let emailText = ''; + + function openInbox(cb) { + imap.openBox('INBOX', true, cb); + } + + imap.once('ready', function() { + openInbox(function(err, box) { + if (err) throw err; + let f = imap.seq.fetch('1:3', { + bodies: ['HEADER.FIELDS (FROM SUBJECT)', '1'], + struct: true + }); + f.on('message', function(msg, seqno) { + isEmailOk = false; + msg.on('body', function(stream, info) { + let buffer = ''; + stream.on('data', function(chunk) { + buffer = chunk.toString('utf8'); + if (info.which === '1') { + emailText = buffer.split('\n')[0]; + emailText = emailText.toUpperCase(); + emailText = emailText.replace(/\s/g, ''); + if (emailText === 'OK') + isEmailOk = true; // isEmailOk + } + }); + stream.once('end', function() { + if (info.which === 'HEADER.FIELDS (FROM SUBJECT)') { + console.log('isEmailOk', isEmailOk); + if (isEmailOk) { + emailConfirm(buffer); + imap.seq.move(seqno, 'exito', function(err) { + console.log('Move correcte: ' + err); + console.log('Move error: ' + seqno); + }); + } else { + emailReply(buffer); + imap.seq.move(seqno, 'error', function(err) { + console.log('Move error: ' + err); + console.log('Move error: ' + seqno); + }); + } + } + }); + }); + }); + // msg.on('attributes', function(attrs) { + // console.log('ATRIBUTO', attrs.struct[0]); + // console.log('ATRIBUTO', attrs.struct[0].params); + // }); + }); + }); + + imap.connect(); + return 'pepinillos'; + }; + async function getUser(workerEmail) { + let firstPosition = workerEmail.search('<') + 1; + let lastPosition = workerEmail.search('@') - firstPosition; + let userName = workerEmail.substr(firstPosition, lastPosition); + let user = await Self.app.models.Account.findOne({where: {name: userName}}); + return user; + } + + async function getEmailDate(subject) { + let date = subject.match(/\d+/g); + return date; + } + + async function emailConfirm(buffer) { + let now = new Date(); + let from = JSON.stringify(Imap.parseHeader(buffer).from); + let subject = JSON.stringify(Imap.parseHeader(buffer).subject); + + let timeControlDate = await getEmailDate(subject); + let week = timeControlDate[0]; + let year = timeControlDate[1]; + let user = await getUser(from); + + let workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ + where: { + week: week, + year: year, + worker: user.id + } + }); + await workerMail.updateAttributes({ + updated: now, + state: 'CONFIRMED' + }); + // MOVER A CARPETA EXITO + } + async function emailReply(subject, workerEmail) { + console.log('bbbbb'); + + // INSERT EN VN.MAIL + // UPDATE EN WORKERTIMECONTROLMAIL + // MOVER A CARPETA ERROR + } +}; diff --git a/package-lock.json b/package-lock.json index 37af78e3a..8bd4ddb07 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8795,6 +8795,11 @@ "iconv-lite": "~0.4.13" } }, + "encoding-japanese": { + "version": "1.0.30", + "resolved": "https://registry.npmjs.org/encoding-japanese/-/encoding-japanese-1.0.30.tgz", + "integrity": "sha512-bd/DFLAoJetvv7ar/KIpE3CNO8wEuyrt9Xuw6nSMiZ+Vrz/Q21BPsMHvARL2Wz6IKHKXgb+DWZqtRg1vql9cBg==" + }, "end-of-stream": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", @@ -12288,8 +12293,7 @@ "he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "dev": true + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==" }, "helmet": { "version": "3.21.2", @@ -12489,6 +12493,17 @@ } } }, + "html-to-text": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/html-to-text/-/html-to-text-5.1.1.tgz", + "integrity": "sha512-Bci6bD/JIfZSvG4s0gW/9mMKwBRoe/1RWLxUME/d6WUSZCdY7T60bssf/jFf7EYXRyqU4P5xdClVqiYU0/ypdA==", + "requires": { + "he": "^1.2.0", + "htmlparser2": "^3.10.1", + "lodash": "^4.17.11", + "minimist": "^1.2.0" + } + }, "html-webpack-plugin": { "version": "4.0.0-beta.11", "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.0.0-beta.11.tgz", @@ -12724,6 +12739,38 @@ "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=", "dev": true }, + "imap": { + "version": "0.8.19", + "resolved": "https://registry.npmjs.org/imap/-/imap-0.8.19.tgz", + "integrity": "sha1-NniHOTSrCc6mukh0HyhNoq9Z2NU=", + "requires": { + "readable-stream": "1.1.x", + "utf7": ">=1.0.2" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" + } + } + }, "import-fresh": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.1.0.tgz", @@ -13488,7 +13535,7 @@ "jasmine-spec-reporter": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/jasmine-spec-reporter/-/jasmine-spec-reporter-4.2.1.tgz", - "integrity": "sha512-FZBoZu7VE5nR7Nilzy+Np8KuVIOxF4oXDPDknehCYBDE080EnlPu0afdZNmpGDBRCUBv3mj5qgqCRmk6W/K8vg==", + "integrity": "sha1-HWMq7ANBZwrTJPkrqEtLMrNeniI=", "dev": true, "requires": { "colors": "1.1.2" @@ -18481,6 +18528,32 @@ "type-check": "~0.3.2" } }, + "libbase64": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/libbase64/-/libbase64-1.2.1.tgz", + "integrity": "sha512-l+nePcPbIG1fNlqMzrh68MLkX/gTxk/+vdvAb388Ssi7UuUN31MI44w4Yf33mM3Cm4xDfw48mdf3rkdHszLNew==" + }, + "libmime": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/libmime/-/libmime-5.0.0.tgz", + "integrity": "sha512-2Bm96d5ktnE217Ib1FldvUaPAaOst6GtZrsxJCwnJgi9lnsoAKIHyU0sae8rNx6DNYbjdqqh8lv5/b9poD8qOg==", + "requires": { + "encoding-japanese": "1.0.30", + "iconv-lite": "0.6.2", + "libbase64": "1.2.1", + "libqp": "1.1.0" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz", + "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, "liboneandone": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/liboneandone/-/liboneandone-1.2.0.tgz", @@ -18490,6 +18563,11 @@ "request": "^2.74.0" } }, + "libqp": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/libqp/-/libqp-1.1.0.tgz", + "integrity": "sha1-9ebgatdLeU+1tbZpiL9yjvHe2+g=" + }, "liftoff": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-3.1.0.tgz", @@ -18512,6 +18590,14 @@ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", "dev": true }, + "linkify-it": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.2.tgz", + "integrity": "sha512-gDBO4aHNZS6coiZCKVhSNh43F9ioIL4JwRjLZPkoLIY4yZFwg264Y5lu2x6rb1Js42Gh6Yqm2f6L2AJcnkzinQ==", + "requires": { + "uc.micro": "^1.0.1" + } + }, "load-json-file": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", @@ -19258,6 +19344,68 @@ "yallist": "^3.0.2" } }, + "mailparser": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/mailparser/-/mailparser-2.8.0.tgz", + "integrity": "sha512-Ja5H6/I1NKIFdFJF5HdZkaMGCN8F+1lu3870ZmrabkHQshhrPk4OWeEMiF0OVo82+6XJqemJPCg6pqgXaj3B6Q==", + "requires": { + "encoding-japanese": "1.0.30", + "he": "1.2.0", + "html-to-text": "5.1.1", + "iconv-lite": "0.6.2", + "libmime": "5.0.0", + "linkify-it": "3.0.2", + "mailsplit": "5.0.0", + "nodemailer": "6.4.10", + "tlds": "1.207.0" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz", + "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + }, + "nodemailer": { + "version": "6.4.10", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.4.10.tgz", + "integrity": "sha512-j+pS9CURhPgk6r0ENr7dji+As2xZiHSvZeVnzKniLOw1eRAyM/7flP0u65tCnsapV8JFu+t0l/5VeHsCZEeh9g==" + } + } + }, + "mailsplit": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/mailsplit/-/mailsplit-5.0.0.tgz", + "integrity": "sha512-HeXA0eyCKBtZqbr7uoeb3Nn2L7VV8Vm27x6/YBb0ZiNzRzLoNS2PqRgGYADwh0cBzLYtqddq40bSSirqLO2LGw==", + "requires": { + "libbase64": "1.2.1", + "libmime": "4.2.1", + "libqp": "1.1.0" + }, + "dependencies": { + "iconv-lite": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.5.0.tgz", + "integrity": "sha512-NnEhI9hIEKHOzJ4f697DMz9IQEXr/MMJ5w64vN2/4Ai+wRnvV7SBrL0KLoRlwaKVghOc7LQ5YkPLuX146b6Ydw==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "libmime": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/libmime/-/libmime-4.2.1.tgz", + "integrity": "sha512-09y7zjSc5im1aNsq815zgo4/G3DnIzym3aDOHsGq4Ee5vrX4PdgQRybAsztz9Rv0NhO+J5C0llEUloa3sUmjmA==", + "requires": { + "encoding-japanese": "1.0.30", + "iconv-lite": "0.5.0", + "libbase64": "1.2.1", + "libqp": "1.1.0" + } + } + } + }, "make-dir": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", @@ -24464,6 +24612,11 @@ "setimmediate": "^1.0.4" } }, + "tlds": { + "version": "1.207.0", + "resolved": "https://registry.npmjs.org/tlds/-/tlds-1.207.0.tgz", + "integrity": "sha512-k7d7Q1LqjtAvhtEOs3yN14EabsNO8ZCoY6RESSJDB9lst3bTx3as/m1UuAeCKzYxiyhR1qq72ZPhpSf+qlqiwg==" + }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", @@ -24748,6 +24901,11 @@ "is-typedarray": "^1.0.0" } }, + "uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" + }, "uglify-js": { "version": "3.4.10", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz", @@ -25088,6 +25246,21 @@ "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", "dev": true }, + "utf7": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/utf7/-/utf7-1.0.2.tgz", + "integrity": "sha1-lV9JCq5lO6IguUVqCod2wZk2CZE=", + "requires": { + "semver": "~5.3.0" + }, + "dependencies": { + "semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=" + } + } + }, "utf8-bytes": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/utf8-bytes/-/utf8-bytes-0.0.1.tgz", @@ -25877,7 +26050,7 @@ }, "globby": { "version": "6.1.0", - "resolved": "http://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", "dev": true, "requires": { @@ -25890,7 +26063,7 @@ "dependencies": { "pify": { "version": "2.3.0", - "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", "dev": true } diff --git a/package.json b/package.json index f9d291467..b407bdfef 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "fs-extra": "^5.0.0", "helmet": "^3.21.2", "i18n": "^0.8.4", + "imap": "^0.8.19", "loopback": "^3.26.0", "loopback-boot": "^2.27.1", "loopback-component-explorer": "^6.5.0", @@ -23,6 +24,7 @@ "loopback-connector-mysql": "^5.4.3", "loopback-connector-remote": "^3.4.1", "loopback-context": "^3.4.0", + "mailparser": "^2.8.0", "md5": "^2.2.1", "object-diff": "0.0.4", "object.pick": "^1.3.0", From ca41b93995fc9d563482aaca7011bd96a0238bbc Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Tue, 22 Sep 2020 13:59:00 +0200 Subject: [PATCH 12/28] mail models and fix checkInbox --- back/methods/imap-time-control/checkInbox.js | 165 +++++++++++++------ back/model-config.json | 3 + back/models/mail-forward.json | 26 +++ back/models/mail.json | 3 +- db/tests/vn/workerTimeControlCheck.spec.js | 2 +- modules/worker/back/models/worker.json | 3 + 6 files changed, 145 insertions(+), 57 deletions(-) create mode 100644 back/models/mail-forward.json diff --git a/back/methods/imap-time-control/checkInbox.js b/back/methods/imap-time-control/checkInbox.js index ff0b0a46e..4f3cb06b0 100644 --- a/back/methods/imap-time-control/checkInbox.js +++ b/back/methods/imap-time-control/checkInbox.js @@ -1,5 +1,5 @@ const Imap = require('imap'); - +const {NULL} = require('node-sass'); module.exports = Self => { Self.remoteMethod('checkInbox', { description: 'Check an email inbox and process it', @@ -26,7 +26,8 @@ module.exports = Self => { tls: true }); let isEmailOk; - let emailText = ''; + let uid; + let emailBody; function openInbox(cb) { imap.openBox('INBOX', true, cb); @@ -35,7 +36,7 @@ module.exports = Self => { imap.once('ready', function() { openInbox(function(err, box) { if (err) throw err; - let f = imap.seq.fetch('1:3', { + let f = imap.seq.fetch('1:*', { bodies: ['HEADER.FIELDS (FROM SUBJECT)', '1'], struct: true }); @@ -43,87 +44,143 @@ module.exports = Self => { isEmailOk = false; msg.on('body', function(stream, info) { let buffer = ''; + let bufferCopy = ''; stream.on('data', function(chunk) { + // console.log('chunk', chunk); buffer = chunk.toString('utf8'); - if (info.which === '1') { - emailText = buffer.split('\n')[0]; - emailText = emailText.toUpperCase(); - emailText = emailText.replace(/\s/g, ''); - if (emailText === 'OK') - isEmailOk = true; // isEmailOk + // console.log('buffer', buffer); + if (info.which === '1' && bufferCopy.length == 0) + bufferCopy = buffer.replace(/\s/g, ' '); + }); + stream.on('end', function() { + if (bufferCopy.length > 0) { + emailBody = bufferCopy.toUpperCase().trim(); + + const bodyPositionOK = emailBody.match(/\bOK\b/i); + + if (bodyPositionOK != null && (bodyPositionOK.index == 0 || bodyPositionOK.index == 122)) + isEmailOk = true; + else + isEmailOk = false; } }); - stream.once('end', function() { + msg.once('attributes', function(attrs) { + uid = attrs.uid; + // let structure = attrs.struct[2][0]; + // console.log('attrs.struct', structure); + // console.log('attrs', structure.params); + // console.log('attrs.struct', structure.find(item => item.subtype === 'html')); + }); + msg.once('end', function() { if (info.which === 'HEADER.FIELDS (FROM SUBJECT)') { - console.log('isEmailOk', isEmailOk); if (isEmailOk) { + imap.move(uid, 'exito', function(err) { + }); emailConfirm(buffer); - imap.seq.move(seqno, 'exito', function(err) { - console.log('Move correcte: ' + err); - console.log('Move error: ' + seqno); - }); } else { - emailReply(buffer); - imap.seq.move(seqno, 'error', function(err) { - console.log('Move error: ' + err); - console.log('Move error: ' + seqno); + imap.move(uid, 'error', function(err) { }); + emailReply(buffer, emailBody); } } }); }); }); - // msg.on('attributes', function(attrs) { - // console.log('ATRIBUTO', attrs.struct[0]); - // console.log('ATRIBUTO', attrs.struct[0].params); - // }); + f.once('end', function() { + imap.end(); + }); }); }); imap.connect(); - return 'pepinillos'; + return 'Leer emails de gestion horaria'; }; - async function getUser(workerEmail) { - let firstPosition = workerEmail.search('<') + 1; - let lastPosition = workerEmail.search('@') - firstPosition; - let userName = workerEmail.substr(firstPosition, lastPosition); - let user = await Self.app.models.Account.findOne({where: {name: userName}}); - return user; - } - - async function getEmailDate(subject) { - let date = subject.match(/\d+/g); - return date; - } async function emailConfirm(buffer) { - let now = new Date(); - let from = JSON.stringify(Imap.parseHeader(buffer).from); - let subject = JSON.stringify(Imap.parseHeader(buffer).subject); + // try { + const now = new Date(); + const from = JSON.stringify(Imap.parseHeader(buffer).from); + const subject = JSON.stringify(Imap.parseHeader(buffer).subject); - let timeControlDate = await getEmailDate(subject); - let week = timeControlDate[0]; - let year = timeControlDate[1]; - let user = await getUser(from); + const timeControlDate = await getEmailDate(subject); + const week = timeControlDate[0]; + const year = timeControlDate[1]; + const user = await getUser(from); let workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ where: { week: week, year: year, - worker: user.id + workerFk: user.id } }); - await workerMail.updateAttributes({ - updated: now, - state: 'CONFIRMED' - }); - // MOVER A CARPETA EXITO + if (workerMail != NULL) { + await workerMail.updateAttributes({ + updated: now, + state: 'CONFIRMED' + }); + } + // } catch (err) { + // throw err; + // } } - async function emailReply(subject, workerEmail) { - console.log('bbbbb'); - // INSERT EN VN.MAIL - // UPDATE EN WORKERTIMECONTROLMAIL - // MOVER A CARPETA ERROR + async function emailReply(buffer, emailBody) { + // try { + const now = new Date(); + const from = JSON.stringify(Imap.parseHeader(buffer).from); + const subject = JSON.stringify(Imap.parseHeader(buffer).subject); + + const timeControlDate = await getEmailDate(subject); + const week = timeControlDate[0]; + const year = timeControlDate[1]; + const user = await getUser(from); + + let workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ + where: { + week: week, + year: year, + workerFk: user.id + } + }); + if (workerMail != NULL) { + await workerMail.updateAttributes({ + updated: now, + state: 'REVISE' + }); + } + + await sendMail(user, subject, emailBody); + // } catch (err) { + // throw err; + // } + } + + async function getUser(workerEmail) { + const userEmail = workerEmail.match(/(?<=<)(.*?)(?=>)/); + + let [user] = await Self.rawSql(`SELECT u.id,u.name FROM account.user u + LEFT JOIN account.mailForward m on m.account = u.id + WHERE forwardTo =? OR + CONCAT(u.name,'@verdnatura.es') = ?`, + [userEmail[0], userEmail[0]]); + + return user; + } + + async function getEmailDate(subject) { + const date = subject.match(/\d+/g); + return date; + } + + async function sendMail(user, subject, emailBody) { + const sendTo = 'rrhh@verdnatura.es'; + const emailSubject = subject + ' ' + user.name; + + await Self.app.models.Mail.create({ + sender: sendTo, + subject: emailSubject, + body: emailBody + }); } }; diff --git a/back/model-config.json b/back/model-config.json index 46733696f..07900448c 100644 --- a/back/model-config.json +++ b/back/model-config.json @@ -79,6 +79,9 @@ }, "Mail": { "dataSource": "vn" + }, + "MailForward": { + "dataSource": "vn" } } diff --git a/back/models/mail-forward.json b/back/models/mail-forward.json new file mode 100644 index 000000000..40b695a7a --- /dev/null +++ b/back/models/mail-forward.json @@ -0,0 +1,26 @@ +{ + "name": "MailForward", + "base": "VnModel", + "options": { + "mysql": { + "table": "account.mailForward" + } + }, + "properties": { + "account": { + "id": true, + "type": "Number" + }, + "forwardTo": { + "type": "String" + } + }, + "acls": [ + { + "accessType": "READ", + "principalType": "ROLE", + "principalId": "$everyone", + "permission": "ALLOW" + } + ] +} diff --git a/back/models/mail.json b/back/models/mail.json index cf5c11993..3861460f3 100644 --- a/back/models/mail.json +++ b/back/models/mail.json @@ -9,8 +9,7 @@ "properties": { "id": { "id": true, - "type": "Number", - "required": true + "type": "Number" }, "sender": { "type": "String" diff --git a/db/tests/vn/workerTimeControlCheck.spec.js b/db/tests/vn/workerTimeControlCheck.spec.js index 4869e38a6..f70a0b1c3 100644 --- a/db/tests/vn/workerTimeControlCheck.spec.js +++ b/db/tests/vn/workerTimeControlCheck.spec.js @@ -1,7 +1,7 @@ const app = require('vn-loopback/server/server'); const ParameterizedSQL = require('loopback-connector').ParameterizedSQL; -// #2257 xdescribe dbtest workerTimeControl_check() +// #2261 xdescribe dbtest workerTimeControl_check() xdescribe('worker workerTimeControl_check()', () => { it(`should throw an error if the worker can't sign on that tablet`, async() => { let stmts = []; diff --git a/modules/worker/back/models/worker.json b/modules/worker/back/models/worker.json index 6af7e8608..45eee23bf 100644 --- a/modules/worker/back/models/worker.json +++ b/modules/worker/back/models/worker.json @@ -31,6 +31,9 @@ "userFk": { "type" : "Number", "required": true + }, + "bossFk": { + "type" : "Number" } }, "relations": { From 28dc557e2fe14da7f57af59c3d70b2c069b708cb Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Wed, 23 Sep 2020 07:35:45 +0200 Subject: [PATCH 13/28] fix checkInbox --- back/methods/imap-time-control/checkInbox.js | 64 +++++++++----------- back/models/worker-time-control-mail.json | 3 + 2 files changed, 33 insertions(+), 34 deletions(-) diff --git a/back/methods/imap-time-control/checkInbox.js b/back/methods/imap-time-control/checkInbox.js index 4f3cb06b0..a79fe4418 100644 --- a/back/methods/imap-time-control/checkInbox.js +++ b/back/methods/imap-time-control/checkInbox.js @@ -46,9 +46,7 @@ module.exports = Self => { let buffer = ''; let bufferCopy = ''; stream.on('data', function(chunk) { - // console.log('chunk', chunk); buffer = chunk.toString('utf8'); - // console.log('buffer', buffer); if (info.which === '1' && bufferCopy.length == 0) bufferCopy = buffer.replace(/\s/g, ' '); }); @@ -66,10 +64,6 @@ module.exports = Self => { }); msg.once('attributes', function(attrs) { uid = attrs.uid; - // let structure = attrs.struct[2][0]; - // console.log('attrs.struct', structure); - // console.log('attrs', structure.params); - // console.log('attrs.struct', structure.find(item => item.subtype === 'html')); }); msg.once('end', function() { if (info.which === 'HEADER.FIELDS (FROM SUBJECT)') { @@ -97,7 +91,7 @@ module.exports = Self => { }; async function emailConfirm(buffer) { - // try { + console.log('buffer', buffer); const now = new Date(); const from = JSON.stringify(Imap.parseHeader(buffer).from); const subject = JSON.stringify(Imap.parseHeader(buffer).subject); @@ -106,27 +100,28 @@ module.exports = Self => { const week = timeControlDate[0]; const year = timeControlDate[1]; const user = await getUser(from); + let workerMail; - let workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ - where: { - week: week, - year: year, - workerFk: user.id - } - }); + if (user.id != NULL) { + workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ + where: { + week: week, + year: year, + workerFk: user.id + } + }); + } if (workerMail != NULL) { await workerMail.updateAttributes({ updated: now, state: 'CONFIRMED' }); } - // } catch (err) { - // throw err; - // } } async function emailReply(buffer, emailBody) { - // try { + console.log('buffer', buffer); + console.log('emailBody', emailBody); const now = new Date(); const from = JSON.stringify(Imap.parseHeader(buffer).from); const subject = JSON.stringify(Imap.parseHeader(buffer).subject); @@ -135,25 +130,26 @@ module.exports = Self => { const week = timeControlDate[0]; const year = timeControlDate[1]; const user = await getUser(from); + let workerMail; - let workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ - where: { - week: week, - year: year, - workerFk: user.id - } - }); - if (workerMail != NULL) { - await workerMail.updateAttributes({ - updated: now, - state: 'REVISE' + if (user.id != NULL) { + workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ + where: { + week: week, + year: year, + workerFk: user.id + } }); - } - await sendMail(user, subject, emailBody); - // } catch (err) { - // throw err; - // } + if (workerMail != NULL) { + await workerMail.updateAttributes({ + updated: now, + state: 'REVISE', + emailResponse: emailBody + }); + } else + await sendMail(user, subject, emailBody); + } } async function getUser(workerEmail) { diff --git a/back/models/worker-time-control-mail.json b/back/models/worker-time-control-mail.json index 4a0fd31f1..81ca235d7 100644 --- a/back/models/worker-time-control-mail.json +++ b/back/models/worker-time-control-mail.json @@ -26,6 +26,9 @@ }, "updated": { "type": "Date" + }, + "emailResponse": { + "type": "String" } }, "acls": [ From eff0641769bb4158200cf015bb990b9fe44435e3 Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Wed, 23 Sep 2020 08:13:36 +0200 Subject: [PATCH 14/28] delete console.log --- back/methods/imap-time-control/checkInbox.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/back/methods/imap-time-control/checkInbox.js b/back/methods/imap-time-control/checkInbox.js index a79fe4418..82e3396e3 100644 --- a/back/methods/imap-time-control/checkInbox.js +++ b/back/methods/imap-time-control/checkInbox.js @@ -91,7 +91,6 @@ module.exports = Self => { }; async function emailConfirm(buffer) { - console.log('buffer', buffer); const now = new Date(); const from = JSON.stringify(Imap.parseHeader(buffer).from); const subject = JSON.stringify(Imap.parseHeader(buffer).subject); @@ -120,8 +119,6 @@ module.exports = Self => { } async function emailReply(buffer, emailBody) { - console.log('buffer', buffer); - console.log('emailBody', emailBody); const now = new Date(); const from = JSON.stringify(Imap.parseHeader(buffer).from); const subject = JSON.stringify(Imap.parseHeader(buffer).subject); From 1f23f6c53c57622041b8e8baa4b27cfc8da10ef8 Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Wed, 23 Sep 2020 09:11:00 +0200 Subject: [PATCH 15/28] delete import --- back/methods/imap-time-control/checkInbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/methods/imap-time-control/checkInbox.js b/back/methods/imap-time-control/checkInbox.js index 82e3396e3..8cb893c76 100644 --- a/back/methods/imap-time-control/checkInbox.js +++ b/back/methods/imap-time-control/checkInbox.js @@ -1,5 +1,5 @@ const Imap = require('imap'); -const {NULL} = require('node-sass'); + module.exports = Self => { Self.remoteMethod('checkInbox', { description: 'Check an email inbox and process it', From 3f4e5a6c0cf821fda0f4d1c9a8477f255612d558 Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Wed, 23 Sep 2020 09:31:21 +0200 Subject: [PATCH 16/28] fix checkinbox --- back/methods/imap-time-control/checkInbox.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/back/methods/imap-time-control/checkInbox.js b/back/methods/imap-time-control/checkInbox.js index 8cb893c76..6a6b697a7 100644 --- a/back/methods/imap-time-control/checkInbox.js +++ b/back/methods/imap-time-control/checkInbox.js @@ -101,7 +101,7 @@ module.exports = Self => { const user = await getUser(from); let workerMail; - if (user.id != NULL) { + if (user.id != null) { workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ where: { week: week, @@ -110,7 +110,7 @@ module.exports = Self => { } }); } - if (workerMail != NULL) { + if (workerMail != null) { await workerMail.updateAttributes({ updated: now, state: 'CONFIRMED' @@ -129,7 +129,7 @@ module.exports = Self => { const user = await getUser(from); let workerMail; - if (user.id != NULL) { + if (user.id != null) { workerMail = await Self.app.models.WorkerTimeControlMail.findOne({ where: { week: week, @@ -138,7 +138,7 @@ module.exports = Self => { } }); - if (workerMail != NULL) { + if (workerMail != null) { await workerMail.updateAttributes({ updated: now, state: 'REVISE', From 5ec5979a3e1763002555477d439598e1deaea2b1 Mon Sep 17 00:00:00 2001 From: joan Date: Wed, 23 Sep 2020 11:21:25 +0200 Subject: [PATCH 17/28] Updated tests --- .../05-ticket/06_basic_data_steps.spec.js | 3 +- .../front/basic-data/step-one/index.html | 2 +- .../ticket/front/basic-data/step-one/index.js | 24 ++++++----- .../front/basic-data/step-one/index.spec.js | 39 ++++++++++++------ .../agency-mode/specs/byWarehouse.spec.js | 21 ++++++++++ modules/zone/back/methods/agency/getLanded.js | 17 ++++---- .../methods/agency/specs/getLanded.spec.js | 4 +- .../back/methods/zone/includingExpired.js | 27 +++++++++---- .../zone/specs/includingExpired.spec.js | 40 +++++++++++++++++++ 9 files changed, 135 insertions(+), 42 deletions(-) create mode 100644 modules/zone/back/methods/agency-mode/specs/byWarehouse.spec.js create mode 100644 modules/zone/back/methods/zone/specs/includingExpired.spec.js diff --git a/e2e/paths/05-ticket/06_basic_data_steps.spec.js b/e2e/paths/05-ticket/06_basic_data_steps.spec.js index 3191673a5..f9ad65a29 100644 --- a/e2e/paths/05-ticket/06_basic_data_steps.spec.js +++ b/e2e/paths/05-ticket/06_basic_data_steps.spec.js @@ -50,7 +50,7 @@ describe('Ticket Edit basic data path', () => { }); it(`should edit the ticket agency then check there are no zones for it`, async() => { - await page.autocompleteSearch(selectors.ticketBasicData.agency, 'Entanglement'); + await page.autocompleteSearch(selectors.ticketBasicData.agency, 'inhouse pickup'); await page.waitFor(1000); let emptyZone = await page .expectPropertyValue(selectors.ticketBasicData.zone, 'value', ''); @@ -59,6 +59,7 @@ describe('Ticket Edit basic data path', () => { }); it(`should edit the ticket zone then check the agency is for the new zone`, async() => { + await page.clearInput(selectors.ticketBasicData.agency); await page.autocompleteSearch(selectors.ticketBasicData.zone, 'Zone expensive A'); let zone = await page .waitToGetProperty(selectors.ticketBasicData.agency, 'value'); diff --git a/modules/ticket/front/basic-data/step-one/index.html b/modules/ticket/front/basic-data/step-one/index.html index 59435635e..0e8d25b7c 100644 --- a/modules/ticket/front/basic-data/step-one/index.html +++ b/modules/ticket/front/basic-data/step-one/index.html @@ -66,7 +66,7 @@ show-field="name" value-field="id" ng-model="$ctrl.agencyModeId" - where="{warehouseFk: $ctrl.warehouseId}"> + where-function="$ctrl.agencyModeWhere()"> { jest.spyOn(controller, 'getShipped'); controller.ticket.warehouseId = 1; controller.warehouseId = 2; - const landed = new Date(); - const expectedResult = { - landed: landed, - addressFk: 121, - agencyModeFk: 7, - warehouseFk: 2 - }; - controller.landed = landed; - expect(controller.getShipped).toHaveBeenCalledWith(expectedResult); expect(controller.ticket.warehouseFk).toEqual(2); }); }); @@ -125,7 +116,6 @@ describe('Ticket', () => { shipped: shipped, addressFk: 121, agencyModeFk: 7, - showExpiredZones: false, warehouseFk: 1 }; controller.shipped = shipped; @@ -176,8 +166,7 @@ describe('Ticket', () => { shipped: shipped, addressFk: 121, agencyModeFk: agencyModeId, - warehouseFk: 1, - showExpiredZones: false, + warehouseFk: 1 }; controller.ticket.shipped = shipped; controller.agencyModeId = 8; @@ -363,5 +352,31 @@ describe('Ticket', () => { expect(controller.landed).toEqual(landed); }); }); + + describe('zoneWhere() getter', () => { + it('should return an object containing filter properties', async() => { + const shipped = new Date(); + controller.ticket.shipped = shipped; + + const expectedResult = { + addressFk: 121, + agencyModeFk: 7, + shipped: shipped, + warehouseFk: 1 + }; + const result = controller.zoneWhere(); + + expect(result).toEqual(expect.objectContaining(expectedResult)); + }); + }); + + describe('agencyModeWhere() getter', () => { + it('should return an object containing the warehouseFk property', async() => { + const expectedResult = {warehouseFk: 1}; + const result = controller.agencyModeWhere(); + + expect(result).toEqual(expect.objectContaining(expectedResult)); + }); + }); }); }); diff --git a/modules/zone/back/methods/agency-mode/specs/byWarehouse.spec.js b/modules/zone/back/methods/agency-mode/specs/byWarehouse.spec.js new file mode 100644 index 000000000..a2c2ca592 --- /dev/null +++ b/modules/zone/back/methods/agency-mode/specs/byWarehouse.spec.js @@ -0,0 +1,21 @@ +const app = require('vn-loopback/server/server'); + +describe('AgencyMode byWarehhouse()', () => { + const warehouseId = 1; + it('should return all the agencies', async() => { + const where = {}; + const agencies = await app.models.AgencyMode.byWarehouse({where}); + + expect(agencies.length).toBeGreaterThan(10); + }); + + it('should return only the agencies for a warehouse', async() => { + const where = {warehouseFk: warehouseId}; + const agencies = await app.models.AgencyMode.byWarehouse({where}); + + const validWarehouse = agencies.every(agency => agency.warehouseFk = warehouseId); + + expect(agencies.length).toEqual(6); + expect(validWarehouse).toBeTruthy(); + }); +}); diff --git a/modules/zone/back/methods/agency/getLanded.js b/modules/zone/back/methods/agency/getLanded.js index ef68331e6..27ac88327 100644 --- a/modules/zone/back/methods/agency/getLanded.js +++ b/modules/zone/back/methods/agency/getLanded.js @@ -1,7 +1,7 @@ const ParameterizedSQL = require('loopback-connector').ParameterizedSQL; module.exports = Self => { - Self.remoteMethod('getLanded', { + Self.remoteMethodCtx('getLanded', { description: 'Returns the first shipped and landed possible for params', accessType: 'READ', accepts: [{ @@ -23,11 +23,6 @@ module.exports = Self => { arg: 'warehouseFk', type: 'number', required: true - }, - { - arg: 'showExpiredZones', - type: 'boolean', - required: true }], returns: { type: 'object', @@ -39,7 +34,13 @@ module.exports = Self => { } }); - Self.getLanded = async(shipped, addressFk, agencyModeFk, warehouseFk, showExpiredZones) => { + Self.getLanded = async(ctx, shipped, addressFk, agencyModeFk, warehouseFk) => { + const userId = ctx.req.accessToken.userId; + const models = Self.app.models; + const isProductionBoss = await models.Account.hasRole(userId, 'productionBoss'); + let showExpired = false; + if (isProductionBoss) showExpired = true; + let stmts = []; stmts.push(new ParameterizedSQL( `CALL vn.zone_getLanded(?, ?, ?, ?, ?)`, [ @@ -47,7 +48,7 @@ module.exports = Self => { addressFk, agencyModeFk, warehouseFk, - showExpiredZones + showExpired ] )); diff --git a/modules/zone/back/methods/agency/specs/getLanded.spec.js b/modules/zone/back/methods/agency/specs/getLanded.spec.js index c24379530..fee3bd608 100644 --- a/modules/zone/back/methods/agency/specs/getLanded.spec.js +++ b/modules/zone/back/methods/agency/specs/getLanded.spec.js @@ -2,13 +2,13 @@ const app = require('vn-loopback/server/server'); describe('agency getLanded()', () => { it('should return a landing date', async() => { + const ctx = {req: {accessToken: {userId: 1}}}; const shipped = new Date(); shipped.setDate(shipped.getDate() + 1); const addressFk = 121; const agencyModeFk = 7; const warehouseFk = 1; - const showExpiredZones = true; - let result = await app.models.Agency.getLanded(shipped, addressFk, agencyModeFk, warehouseFk, showExpiredZones); + let result = await app.models.Agency.getLanded(ctx, shipped, addressFk, agencyModeFk, warehouseFk); expect(result.landed).toBeDefined(); }); diff --git a/modules/zone/back/methods/zone/includingExpired.js b/modules/zone/back/methods/zone/includingExpired.js index 14af42c26..6428d5b88 100644 --- a/modules/zone/back/methods/zone/includingExpired.js +++ b/modules/zone/back/methods/zone/includingExpired.js @@ -2,7 +2,7 @@ const ParameterizedSQL = require('loopback-connector').ParameterizedSQL; const mergeFilters = require('vn-loopback/util/filter').mergeFilters; module.exports = Self => { - Self.remoteMethod('includingExpired', { + Self.remoteMethodCtx('includingExpired', { description: 'Returns a list of agencies from a warehouse', accepts: [{ arg: 'filter', @@ -19,33 +19,44 @@ module.exports = Self => { } }); - Self.includingExpired = async filter => { + Self.includingExpired = async(ctx, filter) => { + const userId = ctx.req.accessToken.userId; const conn = Self.dataSource.connector; + const models = Self.app.models; const where = filter.where; - // filter = mergeFilters(filter, {where}); + const stmts = []; let stmt; - console.log(where); + const filterByAvailability = where.shipped && where.addressFk + && where.agencyModeFk && where.warehouseFk; + + if (filterByAvailability) { + const isProductionBoss = await models.Account.hasRole(userId, 'productionBoss'); + let showExpired = false; + if (isProductionBoss) showExpired = true; - if (where.agencyModeFk) { stmt = new ParameterizedSQL(`CALL vn.zone_getLanded(?, ?, ?, ?, ?)`, [ where.shipped, where.addressFk, where.agencyModeFk, where.warehouseFk, - true]); + showExpired]); stmts.push(stmt); } + delete where.shipped; + delete where.addressFk; + delete where.warehouseFk; + stmt = new ParameterizedSQL( `SELECT id, name, agencyModeFk FROM vn.zone z`); - if (where.agencyModeFk) + if (filterByAvailability) stmt.merge(`JOIN tmp.zoneGetLanded zgl ON zgl.zoneFk = z.id`); - stmt.merge(conn.makePagination(filter)); + stmt.merge(conn.makeWhere(filter.where)); let index; if (stmts.length) diff --git a/modules/zone/back/methods/zone/specs/includingExpired.spec.js b/modules/zone/back/methods/zone/specs/includingExpired.spec.js new file mode 100644 index 000000000..ebda57868 --- /dev/null +++ b/modules/zone/back/methods/zone/specs/includingExpired.spec.js @@ -0,0 +1,40 @@ +const app = require('vn-loopback/server/server'); + +describe('zone includingExpired()', () => { + const inhousePickupId = 1; + const addressId = 101; + const warehouseId = 1; + + it('should return an array containing all zones', async() => { + const ctx = {req: {accessToken: {userId: 1}}}; + const where = {}; + const result = await app.models.Zone.includingExpired(ctx, {where}); + + expect(result.length).toBeGreaterThan(2); + }); + + it('should return an array containing zones from the agencyMode "Inhouse pickup"', async() => { + const ctx = {req: {accessToken: {userId: 1}}}; + const where = {agencyModeFk: inhousePickupId}; + const result = await app.models.Zone.includingExpired(ctx, {where}); + + const validAgency = result.every(zone => zone.agencyModeFk = inhousePickupId); + + expect(result.length).toEqual(3); + expect(validAgency).toBeTruthy(); + }); + + it('should return an array containing available zones', async() => { + const ctx = {req: {accessToken: {userId: 1}}}; + const where = { + shipped: new Date(), + addressFk: addressId, + agencyModeFk: inhousePickupId, + warehouseFk: warehouseId + }; + const result = await app.models.Zone.includingExpired(ctx, {where}); + const firstZone = result[0]; + + expect(firstZone.name).toEqual('Zone pickup A'); + }); +}); From a8589d694554632fa5621ef867092ac6d440395e Mon Sep 17 00:00:00 2001 From: joan Date: Wed, 23 Sep 2020 14:13:44 +0200 Subject: [PATCH 18/28] Autocomplete warehouse on agency selection --- .../front/basic-data/step-one/index.html | 18 ++++++++++++++---- .../ticket/front/basic-data/step-one/index.js | 3 +++ .../back/methods/agency-mode/byWarehouse.js | 2 +- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/modules/ticket/front/basic-data/step-one/index.html b/modules/ticket/front/basic-data/step-one/index.html index 0e8d25b7c..98d92e7e2 100644 --- a/modules/ticket/front/basic-data/step-one/index.html +++ b/modules/ticket/front/basic-data/step-one/index.html @@ -7,8 +7,10 @@
- - - diff --git a/modules/ticket/front/basic-data/step-one/index.js b/modules/ticket/front/basic-data/step-one/index.js index d7dbb8cd1..e7eb30583 100644 --- a/modules/ticket/front/basic-data/step-one/index.js +++ b/modules/ticket/front/basic-data/step-one/index.js @@ -99,6 +99,9 @@ class Controller extends Component { if (!value) return; + const agencyMode = this.$.agencyMode.selection; + this.ticket.warehouseFk = agencyMode.warehouseFk; + this.getLanded({ shipped: this.ticket.shipped, addressFk: this.ticket.addressFk, diff --git a/modules/zone/back/methods/agency-mode/byWarehouse.js b/modules/zone/back/methods/agency-mode/byWarehouse.js index c89217eef..f336f5ed2 100644 --- a/modules/zone/back/methods/agency-mode/byWarehouse.js +++ b/modules/zone/back/methods/agency-mode/byWarehouse.js @@ -25,7 +25,7 @@ module.exports = Self => { filter = mergeFilters(filter, {where}); let stmt = new ParameterizedSQL( - `SELECT id, name + `SELECT id, name, warehouseFk FROM ( SELECT DISTINCT am.id, am.name, am.isActive, zw.warehouseFk FROM zoneWarehouse zw From 75ac6ad8d3de1140b02a83e42688dac2cc76994d Mon Sep 17 00:00:00 2001 From: joan Date: Wed, 23 Sep 2020 14:20:41 +0200 Subject: [PATCH 19/28] Updated unit test --- modules/ticket/front/basic-data/step-one/index.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ticket/front/basic-data/step-one/index.spec.js b/modules/ticket/front/basic-data/step-one/index.spec.js index eea22b73b..bd88b88ac 100644 --- a/modules/ticket/front/basic-data/step-one/index.spec.js +++ b/modules/ticket/front/basic-data/step-one/index.spec.js @@ -160,6 +160,7 @@ describe('Ticket', () => { describe('agencyModeId() setter', () => { it('should set agencyModeId property and call getLanded() method', () => { jest.spyOn(controller, 'getLanded'); + controller.$.agencyMode = {selection: {warehouseFk: 1}}; const shipped = new Date(); const agencyModeId = 8; const expectedResult = { From 44e23ca560a3f9a7cf97efb62fb1c701219cfe50 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 24 Sep 2020 09:00:42 +0200 Subject: [PATCH 20/28] Removed sql version --- db/changes/12300-Summer/00-workerTimeControlParams.sql | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 db/changes/12300-Summer/00-workerTimeControlParams.sql diff --git a/db/changes/12300-Summer/00-workerTimeControlParams.sql b/db/changes/12300-Summer/00-workerTimeControlParams.sql deleted file mode 100644 index 47ef2e3ea..000000000 --- a/db/changes/12300-Summer/00-workerTimeControlParams.sql +++ /dev/null @@ -1,6 +0,0 @@ -ALTER TABLE `vn`.`workerTimeControlParams` -ADD COLUMN `mailUser` VARCHAR(45) NOT NULL AFTER `askInOut`, -ADD COLUMN `mailPass` VARCHAR(45) NOT NULL AFTER `mailUser`, -ADD COLUMN `mailHost` VARCHAR(45) NOT NULL AFTER `mailPass`, -ADD COLUMN `mailSuccessFolder` VARCHAR(45) NOT NULL AFTER `mailHost`, -ADD COLUMN `mailErrorFolder` VARCHAR(45) NOT NULL AFTER `mailSuccessFolder`; From 53e729edddded0e2c9abf3f34248db6f0dff6b41 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 24 Sep 2020 10:14:53 +0200 Subject: [PATCH 21/28] 2366 - Merge event colors --- modules/worker/front/calendar/index.html | 9 +- modules/worker/front/calendar/index.js | 17 +- modules/worker/front/calendar/index.spec.js | 2 +- modules/worker/front/calendar/locale/es.yml | 1 + modules/worker/front/calendar/style.scss | 5 + package-lock.json | 217 +++++++++----------- 6 files changed, 122 insertions(+), 129 deletions(-) diff --git a/modules/worker/front/calendar/index.html b/modules/worker/front/calendar/index.html index 621d6c23f..6636f5c62 100644 --- a/modules/worker/front/calendar/index.html +++ b/modules/worker/front/calendar/index.html @@ -38,7 +38,7 @@ order="DESC"> -
+
+
+ + + + Festive + +
{ - this.events[new Date(day).getTime()] = event; + let addEvent = (day, newEvent) => { + const timestamp = new Date(day).getTime(); + const event = this.events[timestamp]; + + if (event) { + const oldName = event.name; + Object.assign(event, newEvent); + event.name = `${oldName}, ${event.name}`; + } else + this.events[timestamp] = newEvent; }; if (data.holidays) { @@ -97,7 +105,7 @@ class Controller extends Section { addEvent(holiday.dated, { name: holidayName, - color: '#ff0' + border: '2px solid #FF4444' }); }); } @@ -128,6 +136,9 @@ class Controller extends Section { dayNumber.title = event.name; dayNumber.style.backgroundColor = event.color; dayNumber.style.color = 'rgba(0, 0, 0, 0.7)'; + + if (event.border) + dayNumber.style.border = event.border; } pick(absenceType) { diff --git a/modules/worker/front/calendar/index.spec.js b/modules/worker/front/calendar/index.spec.js index cb42fb316..14a5e2e0d 100644 --- a/modules/worker/front/calendar/index.spec.js +++ b/modules/worker/front/calendar/index.spec.js @@ -95,7 +95,7 @@ describe('Worker', () => { let events = controller.events; - expect(events[today.getTime()].name).toEqual('Holiday'); + expect(events[today.getTime()].name).toEqual('New year, Holiday'); expect(events[tomorrow.getTime()].name).toEqual('Easter'); expect(events[yesterday.getTime()].name).toEqual('Leave'); expect(events[yesterday.getTime()].color).toEqual('#bbb'); diff --git a/modules/worker/front/calendar/locale/es.yml b/modules/worker/front/calendar/locale/es.yml index 68a9cf54d..0626b7550 100644 --- a/modules/worker/front/calendar/locale/es.yml +++ b/modules/worker/front/calendar/locale/es.yml @@ -1,5 +1,6 @@ Calendar: Calendario Holidays: Vacaciones +Festive: Festivo Used: Utilizados Year: Año of: de diff --git a/modules/worker/front/calendar/style.scss b/modules/worker/front/calendar/style.scss index 1934a6ca0..917798ddb 100644 --- a/modules/worker/front/calendar/style.scss +++ b/modules/worker/front/calendar/style.scss @@ -36,4 +36,9 @@ vn-worker-calendar { top: 16px; right: 16px } + + vn-side-menu div > .input { + border-color: rgba(0, 0, 0, 0.3); + border-bottom: 1px solid rgba(0, 0, 0, 0.3); + } } diff --git a/package-lock.json b/package-lock.json index 6bc1b14a6..f0ae74065 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2954,6 +2954,22 @@ } } }, + "@babel/runtime-corejs3": { + "version": "7.11.2", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.11.2.tgz", + "integrity": "sha512-qh5IR+8VgFz83VBa6OkaET6uN/mJOhHONuy3m1sgF0CV6mXdPSEBdA7e1eUbVvyNtANjMbg22JUv71BaDXLY6A==", + "requires": { + "core-js-pure": "^3.0.0", + "regenerator-runtime": "^0.13.4" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.13.7", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", + "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" + } + } + }, "@babel/template": { "version": "7.6.0", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.6.0.tgz", @@ -4935,11 +4951,6 @@ "@types/yargs": "^13.0.0" } }, - "@kyleshockey/object-assign-deep": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@kyleshockey/object-assign-deep/-/object-assign-deep-0.4.2.tgz", - "integrity": "sha1-hJAPDu/DcnmPR1G1JigwuCCJIuw=" - }, "@sindresorhus/is": { "version": "0.14.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", @@ -6692,6 +6703,7 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, "requires": { "core-js": "^2.4.0", "regenerator-runtime": "^0.11.0" @@ -7169,9 +7181,9 @@ } }, "btoa": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.1.2.tgz", - "integrity": "sha1-PkC4FmP4HS3WWWpMtxSo3BbPq+A=" + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==" }, "buffer": { "version": "4.9.1", @@ -8014,7 +8026,8 @@ "core-js": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz", - "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==" + "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==", + "dev": true }, "core-js-compat": { "version": "3.6.5", @@ -8034,6 +8047,11 @@ } } }, + "core-js-pure": { + "version": "3.6.5", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.6.5.tgz", + "integrity": "sha512-lacdXOimsiD0QyNf9BC/mxivNJ/ybBGJXQFKzRekp1WTHoVUWsUHEn+2T8GJAzzIhyOuXA+gOxCVN3l+5PLPUA==" + }, "core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", @@ -8086,23 +8104,11 @@ } }, "cross-fetch": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-0.0.8.tgz", - "integrity": "sha1-Ae2U3EB98sAPGAf95wCnz6SKIFw=", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz", + "integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==", "requires": { - "node-fetch": "1.7.3", - "whatwg-fetch": "2.0.3" - }, - "dependencies": { - "node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - } + "node-fetch": "2.6.1" } }, "cross-spawn": { @@ -8331,9 +8337,9 @@ "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=" }, "deep-extend": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.5.1.tgz", - "integrity": "sha512-N8vBdOa+DF7zkRrDCsaOXoCs/E2fJfx9B9MrKnnSiHNh4ws7eSys6YQE4KvT1cecKmOASYQBhbKjeuDD9lT81w==" + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" }, "deep-is": { "version": "0.1.3", @@ -8810,24 +8816,11 @@ "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=", "dev": true }, - "encode-3986": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/encode-3986/-/encode-3986-1.0.0.tgz", - "integrity": "sha1-lA1RSY+HQa3hhLda0UObMXwMemA=" - }, "encodeurl": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" }, - "encoding": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", - "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", - "requires": { - "iconv-lite": "~0.4.13" - } - }, "encoding-japanese": { "version": "1.0.30", "resolved": "https://registry.npmjs.org/encoding-japanese/-/encoding-japanese-1.0.30.tgz", @@ -13351,31 +13344,11 @@ "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" }, "isomorphic-form-data": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isomorphic-form-data/-/isomorphic-form-data-0.0.1.tgz", - "integrity": "sha1-Am9ifgMrDNhBPsyHVZKLlKRosGI=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isomorphic-form-data/-/isomorphic-form-data-2.0.0.tgz", + "integrity": "sha512-TYgVnXWeESVmQSg4GLVbalmQ+B4NPi/H4eWxqALKj63KsUrcu301YDjBqaOw3h+cbak7Na4Xyps3BiptHtxTfg==", "requires": { - "form-data": "^1.0.0-rc3" - }, - "dependencies": { - "async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.2.tgz", - "integrity": "sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg==", - "requires": { - "lodash": "^4.17.11" - } - }, - "form-data": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-1.0.1.tgz", - "integrity": "sha1-rjFduaSQf6BlUCMEpm13M0de43w=", - "requires": { - "async": "^2.0.1", - "combined-stream": "^1.0.5", - "mime-types": "^2.1.11" - } - } + "form-data": "^2.3.2" } }, "isstream": { @@ -13568,7 +13541,7 @@ "jasmine-spec-reporter": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/jasmine-spec-reporter/-/jasmine-spec-reporter-4.2.1.tgz", - "integrity": "sha1-HWMq7ANBZwrTJPkrqEtLMrNeniI=", + "integrity": "sha512-FZBoZu7VE5nR7Nilzy+Np8KuVIOxF4oXDPDknehCYBDE080EnlPu0afdZNmpGDBRCUBv3mj5qgqCRmk6W/K8vg==", "dev": true, "requires": { "colors": "1.1.2" @@ -20350,9 +20323,9 @@ "integrity": "sha512-sSHCgWfJ+Lui/u+0msF3oyCgvdkhxDbkCS6Q8uiJquzOimkJBvX6hl5aSSA7DR1XbMpdM8r7phjcF63sF4rkKg==" }, "node-fetch": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", - "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" }, "node-forge": { "version": "0.8.5", @@ -22176,7 +22149,8 @@ "regenerator-runtime": { "version": "0.11.1", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", - "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true }, "regenerator-transform": { "version": "0.14.5", @@ -24393,57 +24367,67 @@ } }, "swagger-client": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/swagger-client/-/swagger-client-3.9.0.tgz", - "integrity": "sha512-uyCq2xoaAtmE0oIQ0fCfnsDoy/v97ANnAZywtyk4yumBP74xXp4NFlpZaqZJHN9K9dbPzgs3MH98VocZeM0ExQ==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/swagger-client/-/swagger-client-3.11.0.tgz", + "integrity": "sha512-5cM2S8qDmA0fwpGW71384Bik7MXI5D8XJz6uVHeH3X3gy9hZo8SDc7MeNShnxSLKAGIUHs9gIqjSeCrUftMNPw==", "requires": { - "@kyleshockey/js-yaml": "^1.0.1", - "@kyleshockey/object-assign-deep": "^0.4.0", - "babel-runtime": "^6.26.0", - "btoa": "1.1.2", - "buffer": "^5.1.0", - "cookie": "^0.3.1", - "cross-fetch": "0.0.8", - "deep-extend": "^0.5.1", - "encode-3986": "^1.0.0", - "fast-json-patch": "^2.0.6", - "isomorphic-form-data": "0.0.1", - "lodash": "^4.16.2", - "qs": "^6.3.0", + "@babel/runtime-corejs3": "^7.11.2", + "btoa": "^1.2.1", + "buffer": "^5.6.0", + "cookie": "~0.4.1", + "cross-fetch": "^3.0.6", + "deep-extend": "~0.6.0", + "fast-json-patch": "^2.2.1", + "isomorphic-form-data": "~2.0.0", + "js-yaml": "^3.14.0", + "lodash": "^4.17.19", + "qs": "^6.9.4", "querystring-browser": "^1.0.4", - "traverse": "^0.6.6", - "url": "^0.11.0", - "utf8-bytes": "0.0.1", - "utfstring": "^2.0.0" + "traverse": "~0.6.6", + "url": "~0.11.0" }, "dependencies": { - "@kyleshockey/js-yaml": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@kyleshockey/js-yaml/-/js-yaml-1.0.1.tgz", - "integrity": "sha512-coFyIk1LvTscq1cUU4nCCfYwv+cmG4fCP+wgDKgYZjhM4f++YwZy+g0k+1tUqa4GuUpBTEOGH2KUqKFFWdT73g==", - "requires": { - "argparse": "^1.0.7" - } - }, "buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz", - "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz", + "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==", "requires": { "base64-js": "^1.0.2", "ieee754": "^1.1.4" } }, "cookie": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", - "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=" + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==" + }, + "fast-json-patch": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-2.2.1.tgz", + "integrity": "sha512-4j5uBaTnsYAV5ebkidvxiLUYOwjQ+JSFljeqfTxCrH9bDmlCQaOJFS84oDJ2rAXZq2yskmk3ORfoP9DCwqFNig==", + "requires": { + "fast-deep-equal": "^2.0.1" + } + }, + "js-yaml": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz", + "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } }, "punycode": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" }, + "qs": { + "version": "6.9.4", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.4.tgz", + "integrity": "sha512-A1kFqHekCTM7cz0udomYUoYNWjBebHm/5wzU/XqrBRBNWectVH0QIiN+NEcZ0Dte5hvzHwbr8+XQmguPhJ6WdQ==" + }, "url": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", @@ -24547,9 +24531,9 @@ }, "dependencies": { "bl": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.2.tgz", - "integrity": "sha512-j4OH8f6Qg2bGuWfRiltT2HYGx0e1QcBTrK9KAHNMwMZdQnDZFk0ZSYIpADjYCB3U12nicC5tVJwSIhwOWjb4RQ==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz", + "integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==", "requires": { "buffer": "^5.5.0", "inherits": "^2.0.4", @@ -25466,16 +25450,6 @@ } } }, - "utf8-bytes": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/utf8-bytes/-/utf8-bytes-0.0.1.tgz", - "integrity": "sha1-EWsCVEjJtQAIHN+/H01sbDfYg30=" - }, - "utfstring": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/utfstring/-/utfstring-2.0.0.tgz", - "integrity": "sha512-/ugBfyvIoLe9xqkFHio3CxXnpUKQ1p2LfTxPr6QTRj6GiwpHo73YGdh03UmAzDQNOWpNIE0J5nLss00L4xlWgg==" - }, "util": { "version": "0.11.1", "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", @@ -26278,7 +26252,7 @@ }, "globby": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "resolved": "http://registry.npmjs.org/globby/-/globby-6.1.0.tgz", "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", "dev": true, "requires": { @@ -26291,7 +26265,7 @@ "dependencies": { "pify": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", "dev": true } @@ -26549,11 +26523,6 @@ "iconv-lite": "0.4.24" } }, - "whatwg-fetch": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz", - "integrity": "sha1-nITsLc9oGH/wC8ZOEnS0QhduHIQ=" - }, "whatwg-mimetype": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", From d18d7670ec21d00503862bcecb3a42e7f33208e9 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 24 Sep 2020 10:44:12 +0200 Subject: [PATCH 22/28] Updated unit tests --- modules/worker/front/calendar/index.html | 2 +- modules/worker/front/calendar/style.scss | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/worker/front/calendar/index.html b/modules/worker/front/calendar/index.html index 6636f5c62..fe61e828e 100644 --- a/modules/worker/front/calendar/index.html +++ b/modules/worker/front/calendar/index.html @@ -50,7 +50,7 @@
- + Festive diff --git a/modules/worker/front/calendar/style.scss b/modules/worker/front/calendar/style.scss index 917798ddb..65f27e43e 100644 --- a/modules/worker/front/calendar/style.scss +++ b/modules/worker/front/calendar/style.scss @@ -41,4 +41,12 @@ vn-worker-calendar { border-color: rgba(0, 0, 0, 0.3); border-bottom: 1px solid rgba(0, 0, 0, 0.3); } + + .festive { + background-color:white; + border: 2px solid #FF4444; + width: 24px; + min-width: 24px; + height: 24px + } } From d2dbf417f4560033cb11a4b42f0c47edcbc96038 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 24 Sep 2020 11:15:35 +0200 Subject: [PATCH 23/28] Updated to standard color --- front/core/components/calendar/style.scss | 2 +- modules/worker/front/calendar/index.js | 6 ++++-- modules/worker/front/calendar/style.scss | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/front/core/components/calendar/style.scss b/front/core/components/calendar/style.scss index 28c87793b..76cb7f6f2 100644 --- a/front/core/components/calendar/style.scss +++ b/front/core/components/calendar/style.scss @@ -55,7 +55,7 @@ } &.event .day-number { background-color: $color-main; - color: $color-font-dark; + color: $color-font-bg; } & > .day-number { display: flex; diff --git a/modules/worker/front/calendar/index.js b/modules/worker/front/calendar/index.js index 3ab7ebc9b..897430665 100644 --- a/modules/worker/front/calendar/index.js +++ b/modules/worker/front/calendar/index.js @@ -105,7 +105,7 @@ class Controller extends Section { addEvent(holiday.dated, { name: holidayName, - border: '2px solid #FF4444' + className: 'festive' }); }); } @@ -135,10 +135,12 @@ class Controller extends Section { let dayNumber = element.firstElementChild; dayNumber.title = event.name; dayNumber.style.backgroundColor = event.color; - dayNumber.style.color = 'rgba(0, 0, 0, 0.7)'; if (event.border) dayNumber.style.border = event.border; + + if (event.className) + dayNumber.classList.add(event.className); } pick(absenceType) { diff --git a/modules/worker/front/calendar/style.scss b/modules/worker/front/calendar/style.scss index 65f27e43e..b778a68b5 100644 --- a/modules/worker/front/calendar/style.scss +++ b/modules/worker/front/calendar/style.scss @@ -44,7 +44,7 @@ vn-worker-calendar { .festive { background-color:white; - border: 2px solid #FF4444; + border: 2px solid $color-alert; width: 24px; min-width: 24px; height: 24px From 69e2597b91f907d8b53f2620c6cf5e15c31c0f13 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 24 Sep 2020 14:01:56 +0200 Subject: [PATCH 24/28] Updated e2e --- e2e/paths/05-ticket/06_basic_data_steps.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/paths/05-ticket/06_basic_data_steps.spec.js b/e2e/paths/05-ticket/06_basic_data_steps.spec.js index f9ad65a29..f6660ae39 100644 --- a/e2e/paths/05-ticket/06_basic_data_steps.spec.js +++ b/e2e/paths/05-ticket/06_basic_data_steps.spec.js @@ -50,7 +50,7 @@ describe('Ticket Edit basic data path', () => { }); it(`should edit the ticket agency then check there are no zones for it`, async() => { - await page.autocompleteSearch(selectors.ticketBasicData.agency, 'inhouse pickup'); + await page.autocompleteSearch(selectors.ticketBasicData.agency, 'Super-Man delivery'); await page.waitFor(1000); let emptyZone = await page .expectPropertyValue(selectors.ticketBasicData.zone, 'value', ''); From f1d36df558efc3aebc4f946861ed52a4a5a40f56 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 24 Sep 2020 15:00:00 +0200 Subject: [PATCH 25/28] #2458 - Removed states from pending tickets --- modules/ticket/back/methods/ticket/filter.js | 9 +++++++-- modules/ticket/front/index/index.html | 3 ++- modules/ticket/front/summary/index.js | 9 +++++++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/modules/ticket/back/methods/ticket/filter.js b/modules/ticket/back/methods/ticket/filter.js index 62ca149f0..6dbe52524 100644 --- a/modules/ticket/back/methods/ticket/filter.js +++ b/modules/ticket/back/methods/ticket/filter.js @@ -161,8 +161,13 @@ module.exports = Self => { if (value) { return {and: [ {'st.alertLevel': 0}, - {'st.code': {neq: 'OK'}}, - {'st.code': {neq: 'BOARDING'}} + {'st.code': {nin: [ + 'OK', + 'BOARDING', + 'PRINTED', + 'PRINTED_AUTO', + 'PICKER_DESIGNED' + ]}} ]}; } else { return {and: [ diff --git a/modules/ticket/front/index/index.html b/modules/ticket/front/index/index.html index 3e9809952..e9066a41b 100644 --- a/modules/ticket/front/index/index.html +++ b/modules/ticket/front/index/index.html @@ -161,7 +161,8 @@
+ ticket="$ctrl.selectedTicket" + model="model"> Date: Thu, 24 Sep 2020 15:00:43 +0200 Subject: [PATCH 26/28] Removed jenkins success notifications --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c810dc474..d07b47809 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -134,7 +134,7 @@ pipeline { } } - if (!env.COMMITTER_EMAIL) return + if (!env.COMMITTER_EMAIL || currentBuild.currentResult == 'SUCCESS') return; try { mail( to: env.COMMITTER_EMAIL, From 790c9bfe6f607ae6f46a0dbd8bdc5671d54052fe Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Fri, 25 Sep 2020 14:50:04 +0200 Subject: [PATCH 27/28] update models and fixtures --- back/model-config.json | 6 - back/models/mail-forward.json | 26 --- db/dump/dumpedFixtures.sql | 24 +- db/dump/fixtures.sql | 214 +++++++++--------- modules/account/back/model-config.json | 3 + .../account/back}/models/mail.json | 0 .../methods/state/specs/editableState.spec.js | 2 +- .../methods/state/specs/isEditable.spec.js | 2 +- 8 files changed, 128 insertions(+), 149 deletions(-) delete mode 100644 back/models/mail-forward.json rename {back => modules/account/back}/models/mail.json (100%) diff --git a/back/model-config.json b/back/model-config.json index 3a89d2b23..b8a8f04ac 100644 --- a/back/model-config.json +++ b/back/model-config.json @@ -79,12 +79,6 @@ }, "WorkerTimeControlMail": { "dataSource": "vn" - }, - "Mail": { - "dataSource": "vn" - }, - "MailForward": { - "dataSource": "vn" } } diff --git a/back/models/mail-forward.json b/back/models/mail-forward.json deleted file mode 100644 index 40b695a7a..000000000 --- a/back/models/mail-forward.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "MailForward", - "base": "VnModel", - "options": { - "mysql": { - "table": "account.mailForward" - } - }, - "properties": { - "account": { - "id": true, - "type": "Number" - }, - "forwardTo": { - "type": "String" - } - }, - "acls": [ - { - "accessType": "READ", - "principalType": "ROLE", - "principalId": "$everyone", - "permission": "ALLOW" - } - ] -} diff --git a/db/dump/dumpedFixtures.sql b/db/dump/dumpedFixtures.sql index 374c1ed50..02b5b6ec2 100644 --- a/db/dump/dumpedFixtures.sql +++ b/db/dump/dumpedFixtures.sql @@ -36,7 +36,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-09 11:46:28 +-- Dump completed on 2020-09-24 12:39:30 USE `account`; -- MySQL dump 10.13 Distrib 5.7.28, for osx10.15 (x86_64) -- @@ -124,7 +124,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-09 11:46:30 +-- Dump completed on 2020-09-24 12:39:32 USE `salix`; -- MySQL dump 10.13 Distrib 5.7.28, for osx10.15 (x86_64) -- @@ -149,7 +149,7 @@ USE `salix`; LOCK TABLES `ACL` WRITE; /*!40000 ALTER TABLE `ACL` DISABLE KEYS */; -INSERT INTO `ACL` VALUES (1,'Account','*','*','ALLOW','ROLE','employee'),(3,'Address','*','*','ALLOW','ROLE','employee'),(5,'AgencyService','*','READ','ALLOW','ROLE','employee'),(7,'Client','*','*','ALLOW','ROLE','employee'),(9,'ClientObservation','*','*','ALLOW','ROLE','employee'),(11,'ContactChannel','*','READ','ALLOW','ROLE','trainee'),(13,'Employee','*','READ','ALLOW','ROLE','employee'),(14,'PayMethod','*','READ','ALLOW','ROLE','trainee'),(16,'FakeProduction','*','READ','ALLOW','ROLE','employee'),(17,'Warehouse','* ','READ','ALLOW','ROLE','trainee'),(18,'State','*','READ','ALLOW','ROLE','employee'),(20,'TicketState','*','*','ALLOW','ROLE','employee'),(24,'Delivery','*','READ','ALLOW','ROLE','employee'),(25,'Zone','*','READ','ALLOW','ROLE','employee'),(26,'ClientCredit','*','*','ALLOW','ROLE','employee'),(27,'ClientCreditLimit','*','READ','ALLOW','ROLE','trainee'),(30,'GreugeType','*','READ','ALLOW','ROLE','trainee'),(31,'Mandate','*','READ','ALLOW','ROLE','trainee'),(32,'MandateType','*','READ','ALLOW','ROLE','trainee'),(33,'Company','*','READ','ALLOW','ROLE','trainee'),(34,'Greuge','*','READ','ALLOW','ROLE','trainee'),(35,'AddressObservation','*','*','ALLOW','ROLE','employee'),(36,'ObservationType','*','*','ALLOW','ROLE','employee'),(37,'Greuge','*','WRITE','ALLOW','ROLE','employee'),(38,'AgencyMode','*','READ','ALLOW','ROLE','employee'),(39,'ItemTag','*','WRITE','ALLOW','ROLE','buyer'),(40,'ItemBotanical','*','WRITE','ALLOW','ROLE','buyer'),(41,'ItemBotanical','*','READ','ALLOW','ROLE','employee'),(42,'ItemPlacement','*','WRITE','ALLOW','ROLE','buyer'),(43,'ItemPlacement','*','WRITE','ALLOW','ROLE','replenisher'),(44,'ItemPlacement','*','READ','ALLOW','ROLE','employee'),(45,'ItemBarcode','*','READ','ALLOW','ROLE','employee'),(46,'ItemBarcode','*','WRITE','ALLOW','ROLE','buyer'),(47,'ItemBarcode','*','WRITE','ALLOW','ROLE','replenisher'),(48,'ItemNiche','*','READ','ALLOW','ROLE','employee'),(49,'ItemNiche','*','WRITE','ALLOW','ROLE','buyer'),(50,'ItemNiche','*','WRITE','ALLOW','ROLE','replenisher'),(51,'ItemTag','*','READ','ALLOW','ROLE','employee'),(53,'Item','*','READ','ALLOW','ROLE','employee'),(54,'Item','*','WRITE','ALLOW','ROLE','buyer'),(55,'Recovery','*','READ','ALLOW','ROLE','trainee'),(56,'Recovery','*','WRITE','ALLOW','ROLE','administrative'),(58,'CreditClassification','*','*','ALLOW','ROLE','insurance'),(60,'CreditInsurance','*','*','ALLOW','ROLE','insurance'),(61,'InvoiceOut','*','READ','ALLOW','ROLE','employee'),(62,'Ticket','*','*','ALLOW','ROLE','employee'),(63,'TicketObservation','*','*','ALLOW','ROLE','employee'),(64,'Route','*','READ','ALLOW','ROLE','employee'),(65,'Sale','*','READ','ALLOW','ROLE','employee'),(66,'TicketTracking','*','READ','ALLOW','ROLE','employee'),(68,'TicketPackaging','*','*','ALLOW','ROLE','employee'),(69,'Packaging','*','READ','ALLOW','ROLE','employee'),(70,'Packaging','*','WRITE','ALLOW','ROLE','logistic'),(71,'SaleChecked','*','READ','ALLOW','ROLE','employee'),(72,'SaleComponent','*','READ','ALLOW','ROLE','employee'),(73,'Expedition','*','READ','ALLOW','ROLE','employee'),(74,'Expedition','*','WRITE','ALLOW','ROLE','deliveryBoss'),(75,'Expedition','*','WRITE','ALLOW','ROLE','production'),(76,'AnnualAverageInvoiced','*','READ','ALLOW','ROLE','employee'),(77,'WorkerMana','*','READ','ALLOW','ROLE','employee'),(78,'TicketTracking','*','WRITE','ALLOW','ROLE','production'),(79,'TicketTracking','changeState','*','ALLOW','ROLE','employee'),(80,'Sale','deleteSales','*','ALLOW','ROLE','employee'),(81,'Sale','moveToTicket','*','ALLOW','ROLE','employee'),(82,'Sale','updateQuantity','*','ALLOW','ROLE','employee'),(83,'Sale','updatePrice','*','ALLOW','ROLE','employee'),(84,'Sale','updateDiscount','*','ALLOW','ROLE','employee'),(85,'SaleTracking','*','READ','ALLOW','ROLE','employee'),(86,'Order','*','*','ALLOW','ROLE','employee'),(87,'OrderRow','*','*','ALLOW','ROLE','employee'),(88,'ClientContact','*','*','ALLOW','ROLE','employee'),(89,'Sale','moveToNewTicket','*','ALLOW','ROLE','employee'),(90,'Sale','reserve','*','ALLOW','ROLE','employee'),(91,'TicketWeekly','*','READ','ALLOW','ROLE','employee'),(94,'Agency','landsThatDay','*','ALLOW','ROLE','employee'),(96,'ClaimEnd','*','READ','ALLOW','ROLE','employee'),(97,'ClaimEnd','*','WRITE','ALLOW','ROLE','salesAssistant'),(98,'ClaimBeginning','*','*','ALLOW','ROLE','employee'),(99,'ClaimDevelopment','*','READ','ALLOW','ROLE','employee'),(100,'ClaimDevelopment','*','WRITE','ALLOW','ROLE','salesAssistant'),(101,'Claim','*','*','ALLOW','ROLE','employee'),(102,'Claim','createFromSales','*','ALLOW','ROLE','employee'),(103,'ClaimEnd','importTicketSales','WRITE','ALLOW','ROLE','salesAssistant'),(104,'Item','*','WRITE','ALLOW','ROLE','marketingBoss'),(105,'ItemBarcode','*','WRITE','ALLOW','ROLE','marketingBoss'),(106,'ItemBotanical','*','WRITE','ALLOW','ROLE','marketingBoss'),(107,'ItemNiche','*','WRITE','ALLOW','ROLE','marketingBoss'),(108,'ItemPlacement','*','WRITE','ALLOW','ROLE','marketingBoss'),(109,'UserConfig','*','*','ALLOW','ROLE','employee'),(110,'Bank','*','READ','ALLOW','ROLE','trainee'),(111,'ClientLog','*','READ','ALLOW','ROLE','trainee'),(112,'Defaulter','*','READ','ALLOW','ROLE','employee'),(113,'ClientRisk','*','READ','ALLOW','ROLE','trainee'),(114,'Receipt','*','READ','ALLOW','ROLE','trainee'),(115,'Receipt','*','WRITE','ALLOW','ROLE','administrative'),(116,'BankEntity','*','*','ALLOW','ROLE','employee'),(117,'ClientSample','*','*','ALLOW','ROLE','employee'),(118,'WorkerTeam','*','*','ALLOW','ROLE','salesPerson'),(119,'Travel','*','READ','ALLOW','ROLE','employee'),(120,'Travel','*','WRITE','ALLOW','ROLE','buyer'),(121,'Item','regularize','*','ALLOW','ROLE','employee'),(122,'TicketRequest','*','*','ALLOW','ROLE','employee'),(123,'Worker','*','*','ALLOW','ROLE','employee'),(124,'Client','confirmTransaction','WRITE','ALLOW','ROLE','administrative'),(125,'Agency','getAgenciesWithWarehouse','*','ALLOW','ROLE','employee'),(126,'Client','activeWorkersWithRole','*','ALLOW','ROLE','employee'),(127,'TicketLog','*','READ','ALLOW','ROLE','employee'),(129,'TicketService','*','*','ALLOW','ROLE','employee'),(130,'Expedition','*','WRITE','ALLOW','ROLE','packager'),(131,'CreditInsurance','*','READ','ALLOW','ROLE','trainee'),(132,'CreditClassification','*','READ','ALLOW','ROLE','trainee'),(133,'ItemTag','*','WRITE','ALLOW','ROLE','marketingBoss'),(135,'ZoneGeo','*','READ','ALLOW','ROLE','employee'),(136,'ZoneCalendar','*','READ','ALLOW','ROLE','employee'),(137,'ZoneIncluded','*','READ','ALLOW','ROLE','employee'),(138,'LabourHoliday','*','READ','ALLOW','ROLE','employee'),(139,'LabourHolidayLegend','*','READ','ALLOW','ROLE','employee'),(140,'LabourHolidayType','*','READ','ALLOW','ROLE','employee'),(141,'Zone','*','*','ALLOW','ROLE','deliveryBoss'),(142,'ZoneCalendar','*','WRITE','ALLOW','ROLE','deliveryBoss'),(143,'ZoneIncluded','*','*','ALLOW','ROLE','deliveryBoss'),(144,'Stowaway','*','*','ALLOW','ROLE','employee'),(145,'Ticket','getPossibleStowaways','READ','ALLOW','ROLE','employee'),(147,'UserConfigView','*','*','ALLOW','ROLE','employee'),(148,'UserConfigView','*','*','ALLOW','ROLE','employee'),(149,'Sip','*','READ','ALLOW','ROLE','employee'),(150,'Sip','*','WRITE','ALLOW','ROLE','hr'),(151,'Department','*','READ','ALLOW','ROLE','employee'),(152,'Department','*','WRITE','ALLOW','ROLE','hr'),(153,'Route','*','READ','ALLOW','ROLE','employee'),(154,'Route','*','WRITE','ALLOW','ROLE','delivery'),(155,'Calendar','*','READ','ALLOW','ROLE','hr'),(156,'WorkerLabour','*','READ','ALLOW','ROLE','hr'),(157,'Calendar','absences','READ','ALLOW','ROLE','employee'),(158,'ItemTag','*','WRITE','ALLOW','ROLE','accessory'),(160,'TicketServiceType','*','READ','ALLOW','ROLE','employee'),(161,'TicketConfig','*','READ','ALLOW','ROLE','employee'),(162,'InvoiceOut','delete','WRITE','ALLOW','ROLE','invoicing'),(163,'InvoiceOut','book','WRITE','ALLOW','ROLE','invoicing'),(164,'InvoiceOut','regenerate','WRITE','ALLOW','ROLE','invoicing'),(165,'TicketDms','*','READ','ALLOW','ROLE','employee'),(167,'Worker','isSubordinate','READ','ALLOW','ROLE','employee'),(168,'Worker','mySubordinates','READ','ALLOW','ROLE','employee'),(169,'WorkerTimeControl','filter','READ','ALLOW','ROLE','employee'),(170,'WorkerTimeControl','addTime','WRITE','ALLOW','ROLE','employee'),(171,'TicketServiceType','*','WRITE','ALLOW','ROLE','administrative'),(172,'Sms','*','READ','ALLOW','ROLE','employee'),(173,'Sms','send','WRITE','ALLOW','ROLE','employee'),(174,'Agency','getLanded','READ','ALLOW','ROLE','employee'),(175,'Agency','getShipped','READ','ALLOW','ROLE','employee'),(176,'Device','*','*','ALLOW','ROLE','employee'),(177,'Device','*','*','ALLOW','ROLE','employee'),(178,'WorkerTimeControl','*','*','ALLOW','ROLE','employee'),(179,'ItemLog','*','READ','ALLOW','ROLE','employee'),(180,'RouteLog','*','READ','ALLOW','ROLE','employee'),(181,'Dms','removeFile','WRITE','ALLOW','ROLE','employee'),(182,'Dms','uploadFile','WRITE','ALLOW','ROLE','employee'),(183,'Dms','downloadFile','READ','ALLOW','ROLE','employee'),(184,'Client','uploadFile','WRITE','ALLOW','ROLE','employee'),(185,'ClientDms','removeFile','WRITE','ALLOW','ROLE','employee'),(186,'ClientDms','*','READ','ALLOW','ROLE','trainee'),(187,'Ticket','uploadFile','WRITE','ALLOW','ROLE','employee'),(188,'TicketDms','removeFile','WRITE','ALLOW','ROLE','employee'),(189,'TicketDms','*','READ','ALLOW','ROLE','employee'),(190,'Route','updateVolume','WRITE','ALLOW','ROLE','deliveryBoss'),(191,'Agency','getLanded','READ','ALLOW','ROLE','employee'),(192,'Agency','getShipped','READ','ALLOW','ROLE','employee'),(194,'Postcode','*','WRITE','ALLOW','ROLE','employee'),(195,'Ticket','addSale','WRITE','ALLOW','ROLE','employee'),(196,'Dms','updateFile','WRITE','ALLOW','ROLE','employee'),(197,'Dms','*','READ','ALLOW','ROLE','trainee'),(198,'ClaimDms','removeFile','WRITE','ALLOW','ROLE','employee'),(199,'ClaimDms','*','READ','ALLOW','ROLE','employee'),(200,'Claim','uploadFile','WRITE','ALLOW','ROLE','employee'),(201,'Sale','updateConcept','WRITE','ALLOW','ROLE','employee'),(202,'Claim','updateClaimAction','WRITE','ALLOW','ROLE','salesAssistant'),(203,'UserPhone','*','*','ALLOW','ROLE','employee'),(204,'WorkerDms','removeFile','WRITE','ALLOW','ROLE','hr'),(205,'WorkerDms','*','READ','ALLOW','ROLE','hr'),(206,'Chat','*','*','ALLOW','ROLE','employee'),(207,'Chat','sendMessage','*','ALLOW','ROLE','employee'),(208,'Sale','recalculatePrice','WRITE','ALLOW','ROLE','employee'),(209,'Ticket','recalculateComponents','WRITE','ALLOW','ROLE','employee'),(211,'TravelLog','*','READ','ALLOW','ROLE','buyer'),(212,'Thermograph','*','*','ALLOW','ROLE','buyer'),(213,'TravelThermograph','*','WRITE','ALLOW','ROLE','buyer'),(214,'Entry','*','*','ALLOW','ROLE','buyer'),(215,'TicketWeekly','*','WRITE','ALLOW','ROLE','buyer'),(216,'TravelThermograph','*','READ','ALLOW','ROLE','employee'),(218,'Intrastat','*','*','ALLOW','ROLE','buyer'),(219,'Account','acl','READ','ALLOW','ROLE','account'),(220,'Account','getCurrentUserData','READ','ALLOW','ROLE','account'),(221,'UserConfig','getUserConfig','READ','ALLOW','ROLE','account'),(222,'Client','*','READ','ALLOW','ROLE','trainee'),(226,'ClientObservation','*','READ','ALLOW','ROLE','trainee'),(227,'Address','*','READ','ALLOW','ROLE','trainee'),(228,'AddressObservation','*','READ','ALLOW','ROLE','trainee'),(230,'ClientCredit','*','READ','ALLOW','ROLE','trainee'),(231,'ClientContact','*','READ','ALLOW','ROLE','trainee'),(232,'ClientSample','*','READ','ALLOW','ROLE','trainee'),(233,'EntryLog','*','READ','ALLOW','ROLE','buyer'),(234,'WorkerLog','*','READ','ALLOW','ROLE','hr'),(235,'CustomsAgent','*','*','ALLOW','ROLE','employee'),(236,'Buy','*','*','ALLOW','ROLE','buyer'); +INSERT INTO `ACL` VALUES (1,'Account','*','*','ALLOW','ROLE','employee'),(3,'Address','*','*','ALLOW','ROLE','employee'),(5,'AgencyService','*','READ','ALLOW','ROLE','employee'),(7,'Client','*','*','ALLOW','ROLE','employee'),(9,'ClientObservation','*','*','ALLOW','ROLE','employee'),(11,'ContactChannel','*','READ','ALLOW','ROLE','trainee'),(13,'Employee','*','READ','ALLOW','ROLE','employee'),(14,'PayMethod','*','READ','ALLOW','ROLE','trainee'),(16,'FakeProduction','*','READ','ALLOW','ROLE','employee'),(17,'Warehouse','* ','READ','ALLOW','ROLE','trainee'),(18,'State','*','READ','ALLOW','ROLE','employee'),(20,'TicketState','*','*','ALLOW','ROLE','employee'),(24,'Delivery','*','READ','ALLOW','ROLE','employee'),(25,'Zone','*','READ','ALLOW','ROLE','employee'),(26,'ClientCredit','*','*','ALLOW','ROLE','employee'),(27,'ClientCreditLimit','*','READ','ALLOW','ROLE','trainee'),(30,'GreugeType','*','READ','ALLOW','ROLE','trainee'),(31,'Mandate','*','READ','ALLOW','ROLE','trainee'),(32,'MandateType','*','READ','ALLOW','ROLE','trainee'),(33,'Company','*','READ','ALLOW','ROLE','trainee'),(34,'Greuge','*','READ','ALLOW','ROLE','trainee'),(35,'AddressObservation','*','*','ALLOW','ROLE','employee'),(36,'ObservationType','*','*','ALLOW','ROLE','employee'),(37,'Greuge','*','WRITE','ALLOW','ROLE','employee'),(38,'AgencyMode','*','READ','ALLOW','ROLE','employee'),(39,'ItemTag','*','WRITE','ALLOW','ROLE','buyer'),(40,'ItemBotanical','*','WRITE','ALLOW','ROLE','buyer'),(41,'ItemBotanical','*','READ','ALLOW','ROLE','employee'),(42,'ItemPlacement','*','WRITE','ALLOW','ROLE','buyer'),(43,'ItemPlacement','*','WRITE','ALLOW','ROLE','replenisher'),(44,'ItemPlacement','*','READ','ALLOW','ROLE','employee'),(45,'ItemBarcode','*','READ','ALLOW','ROLE','employee'),(46,'ItemBarcode','*','WRITE','ALLOW','ROLE','buyer'),(47,'ItemBarcode','*','WRITE','ALLOW','ROLE','replenisher'),(48,'ItemNiche','*','READ','ALLOW','ROLE','employee'),(49,'ItemNiche','*','WRITE','ALLOW','ROLE','buyer'),(50,'ItemNiche','*','WRITE','ALLOW','ROLE','replenisher'),(51,'ItemTag','*','READ','ALLOW','ROLE','employee'),(53,'Item','*','READ','ALLOW','ROLE','employee'),(54,'Item','*','WRITE','ALLOW','ROLE','buyer'),(55,'Recovery','*','READ','ALLOW','ROLE','trainee'),(56,'Recovery','*','WRITE','ALLOW','ROLE','administrative'),(58,'CreditClassification','*','*','ALLOW','ROLE','insurance'),(60,'CreditInsurance','*','*','ALLOW','ROLE','insurance'),(61,'InvoiceOut','*','READ','ALLOW','ROLE','employee'),(62,'Ticket','*','*','ALLOW','ROLE','employee'),(63,'TicketObservation','*','*','ALLOW','ROLE','employee'),(64,'Route','*','READ','ALLOW','ROLE','employee'),(65,'Sale','*','READ','ALLOW','ROLE','employee'),(66,'TicketTracking','*','READ','ALLOW','ROLE','employee'),(68,'TicketPackaging','*','*','ALLOW','ROLE','employee'),(69,'Packaging','*','READ','ALLOW','ROLE','employee'),(70,'Packaging','*','WRITE','ALLOW','ROLE','logistic'),(71,'SaleChecked','*','READ','ALLOW','ROLE','employee'),(72,'SaleComponent','*','READ','ALLOW','ROLE','employee'),(73,'Expedition','*','READ','ALLOW','ROLE','employee'),(74,'Expedition','*','WRITE','ALLOW','ROLE','deliveryBoss'),(75,'Expedition','*','WRITE','ALLOW','ROLE','production'),(76,'AnnualAverageInvoiced','*','READ','ALLOW','ROLE','employee'),(77,'WorkerMana','*','READ','ALLOW','ROLE','employee'),(78,'TicketTracking','*','WRITE','ALLOW','ROLE','production'),(79,'TicketTracking','changeState','*','ALLOW','ROLE','employee'),(80,'Sale','deleteSales','*','ALLOW','ROLE','employee'),(81,'Sale','moveToTicket','*','ALLOW','ROLE','employee'),(82,'Sale','updateQuantity','*','ALLOW','ROLE','employee'),(83,'Sale','updatePrice','*','ALLOW','ROLE','employee'),(84,'Sale','updateDiscount','*','ALLOW','ROLE','employee'),(85,'SaleTracking','*','READ','ALLOW','ROLE','employee'),(86,'Order','*','*','ALLOW','ROLE','employee'),(87,'OrderRow','*','*','ALLOW','ROLE','employee'),(88,'ClientContact','*','*','ALLOW','ROLE','employee'),(89,'Sale','moveToNewTicket','*','ALLOW','ROLE','employee'),(90,'Sale','reserve','*','ALLOW','ROLE','employee'),(91,'TicketWeekly','*','READ','ALLOW','ROLE','employee'),(94,'Agency','landsThatDay','*','ALLOW','ROLE','employee'),(96,'ClaimEnd','*','READ','ALLOW','ROLE','employee'),(97,'ClaimEnd','*','WRITE','ALLOW','ROLE','salesAssistant'),(98,'ClaimBeginning','*','*','ALLOW','ROLE','employee'),(99,'ClaimDevelopment','*','READ','ALLOW','ROLE','employee'),(100,'ClaimDevelopment','*','WRITE','ALLOW','ROLE','salesAssistant'),(101,'Claim','*','*','ALLOW','ROLE','employee'),(102,'Claim','createFromSales','*','ALLOW','ROLE','employee'),(103,'ClaimEnd','importTicketSales','WRITE','ALLOW','ROLE','salesAssistant'),(104,'Item','*','WRITE','ALLOW','ROLE','marketingBoss'),(105,'ItemBarcode','*','WRITE','ALLOW','ROLE','marketingBoss'),(106,'ItemBotanical','*','WRITE','ALLOW','ROLE','marketingBoss'),(107,'ItemNiche','*','WRITE','ALLOW','ROLE','marketingBoss'),(108,'ItemPlacement','*','WRITE','ALLOW','ROLE','marketingBoss'),(109,'UserConfig','*','*','ALLOW','ROLE','employee'),(110,'Bank','*','READ','ALLOW','ROLE','trainee'),(111,'ClientLog','*','READ','ALLOW','ROLE','trainee'),(112,'Defaulter','*','READ','ALLOW','ROLE','employee'),(113,'ClientRisk','*','READ','ALLOW','ROLE','trainee'),(114,'Receipt','*','READ','ALLOW','ROLE','trainee'),(115,'Receipt','*','WRITE','ALLOW','ROLE','administrative'),(116,'BankEntity','*','*','ALLOW','ROLE','employee'),(117,'ClientSample','*','*','ALLOW','ROLE','employee'),(118,'WorkerTeam','*','*','ALLOW','ROLE','salesPerson'),(119,'Travel','*','READ','ALLOW','ROLE','employee'),(120,'Travel','*','WRITE','ALLOW','ROLE','buyer'),(121,'Item','regularize','*','ALLOW','ROLE','employee'),(122,'TicketRequest','*','*','ALLOW','ROLE','employee'),(123,'Worker','*','*','ALLOW','ROLE','employee'),(124,'Client','confirmTransaction','WRITE','ALLOW','ROLE','administrative'),(125,'Agency','getAgenciesWithWarehouse','*','ALLOW','ROLE','employee'),(126,'Client','activeWorkersWithRole','*','ALLOW','ROLE','employee'),(127,'TicketLog','*','READ','ALLOW','ROLE','employee'),(129,'TicketService','*','*','ALLOW','ROLE','employee'),(130,'Expedition','*','WRITE','ALLOW','ROLE','packager'),(131,'CreditInsurance','*','READ','ALLOW','ROLE','trainee'),(132,'CreditClassification','*','READ','ALLOW','ROLE','trainee'),(133,'ItemTag','*','WRITE','ALLOW','ROLE','marketingBoss'),(135,'ZoneGeo','*','READ','ALLOW','ROLE','employee'),(136,'ZoneCalendar','*','READ','ALLOW','ROLE','employee'),(137,'ZoneIncluded','*','READ','ALLOW','ROLE','employee'),(138,'LabourHoliday','*','READ','ALLOW','ROLE','employee'),(139,'LabourHolidayLegend','*','READ','ALLOW','ROLE','employee'),(140,'LabourHolidayType','*','READ','ALLOW','ROLE','employee'),(141,'Zone','*','*','ALLOW','ROLE','deliveryBoss'),(142,'ZoneCalendar','*','WRITE','ALLOW','ROLE','deliveryBoss'),(143,'ZoneIncluded','*','*','ALLOW','ROLE','deliveryBoss'),(144,'Stowaway','*','*','ALLOW','ROLE','employee'),(145,'Ticket','getPossibleStowaways','READ','ALLOW','ROLE','employee'),(147,'UserConfigView','*','*','ALLOW','ROLE','employee'),(148,'UserConfigView','*','*','ALLOW','ROLE','employee'),(149,'Sip','*','READ','ALLOW','ROLE','employee'),(150,'Sip','*','WRITE','ALLOW','ROLE','hr'),(151,'Department','*','READ','ALLOW','ROLE','employee'),(152,'Department','*','WRITE','ALLOW','ROLE','hr'),(153,'Route','*','READ','ALLOW','ROLE','employee'),(154,'Route','*','WRITE','ALLOW','ROLE','delivery'),(155,'Calendar','*','READ','ALLOW','ROLE','hr'),(156,'WorkerLabour','*','READ','ALLOW','ROLE','hr'),(157,'Calendar','absences','READ','ALLOW','ROLE','employee'),(158,'ItemTag','*','WRITE','ALLOW','ROLE','accessory'),(160,'TicketServiceType','*','READ','ALLOW','ROLE','employee'),(161,'TicketConfig','*','READ','ALLOW','ROLE','employee'),(162,'InvoiceOut','delete','WRITE','ALLOW','ROLE','invoicing'),(163,'InvoiceOut','book','WRITE','ALLOW','ROLE','invoicing'),(164,'InvoiceOut','regenerate','WRITE','ALLOW','ROLE','invoicing'),(165,'TicketDms','*','READ','ALLOW','ROLE','employee'),(167,'Worker','isSubordinate','READ','ALLOW','ROLE','employee'),(168,'Worker','mySubordinates','READ','ALLOW','ROLE','employee'),(169,'WorkerTimeControl','filter','READ','ALLOW','ROLE','employee'),(170,'WorkerTimeControl','addTime','WRITE','ALLOW','ROLE','employee'),(171,'TicketServiceType','*','WRITE','ALLOW','ROLE','administrative'),(172,'Sms','*','READ','ALLOW','ROLE','employee'),(173,'Sms','send','WRITE','ALLOW','ROLE','employee'),(174,'Agency','getLanded','READ','ALLOW','ROLE','employee'),(175,'Agency','getShipped','READ','ALLOW','ROLE','employee'),(176,'Device','*','*','ALLOW','ROLE','employee'),(177,'Device','*','*','ALLOW','ROLE','employee'),(178,'WorkerTimeControl','*','*','ALLOW','ROLE','employee'),(179,'ItemLog','*','READ','ALLOW','ROLE','employee'),(180,'RouteLog','*','READ','ALLOW','ROLE','employee'),(181,'Dms','removeFile','WRITE','ALLOW','ROLE','employee'),(182,'Dms','uploadFile','WRITE','ALLOW','ROLE','employee'),(183,'Dms','downloadFile','READ','ALLOW','ROLE','employee'),(184,'Client','uploadFile','WRITE','ALLOW','ROLE','employee'),(185,'ClientDms','removeFile','WRITE','ALLOW','ROLE','employee'),(186,'ClientDms','*','READ','ALLOW','ROLE','trainee'),(187,'Ticket','uploadFile','WRITE','ALLOW','ROLE','employee'),(188,'TicketDms','removeFile','WRITE','ALLOW','ROLE','employee'),(189,'TicketDms','*','READ','ALLOW','ROLE','employee'),(190,'Route','updateVolume','WRITE','ALLOW','ROLE','deliveryBoss'),(191,'Agency','getLanded','READ','ALLOW','ROLE','employee'),(192,'Agency','getShipped','READ','ALLOW','ROLE','employee'),(194,'Postcode','*','WRITE','ALLOW','ROLE','employee'),(195,'Ticket','addSale','WRITE','ALLOW','ROLE','employee'),(196,'Dms','updateFile','WRITE','ALLOW','ROLE','employee'),(197,'Dms','*','READ','ALLOW','ROLE','trainee'),(198,'ClaimDms','removeFile','WRITE','ALLOW','ROLE','employee'),(199,'ClaimDms','*','READ','ALLOW','ROLE','employee'),(200,'Claim','uploadFile','WRITE','ALLOW','ROLE','employee'),(201,'Sale','updateConcept','WRITE','ALLOW','ROLE','employee'),(202,'Claim','updateClaimAction','WRITE','ALLOW','ROLE','salesAssistant'),(203,'UserPhone','*','*','ALLOW','ROLE','employee'),(204,'WorkerDms','removeFile','WRITE','ALLOW','ROLE','hr'),(205,'WorkerDms','*','READ','ALLOW','ROLE','hr'),(206,'Chat','*','*','ALLOW','ROLE','employee'),(207,'Chat','sendMessage','*','ALLOW','ROLE','employee'),(208,'Sale','recalculatePrice','WRITE','ALLOW','ROLE','employee'),(209,'Ticket','recalculateComponents','WRITE','ALLOW','ROLE','employee'),(211,'TravelLog','*','READ','ALLOW','ROLE','buyer'),(212,'Thermograph','*','*','ALLOW','ROLE','buyer'),(213,'TravelThermograph','*','WRITE','ALLOW','ROLE','buyer'),(214,'Entry','*','*','ALLOW','ROLE','buyer'),(215,'TicketWeekly','*','WRITE','ALLOW','ROLE','buyer'),(216,'TravelThermograph','*','READ','ALLOW','ROLE','employee'),(218,'Intrastat','*','*','ALLOW','ROLE','buyer'),(219,'Account','acl','READ','ALLOW','ROLE','account'),(220,'Account','getCurrentUserData','READ','ALLOW','ROLE','account'),(221,'UserConfig','getUserConfig','READ','ALLOW','ROLE','account'),(222,'Client','*','READ','ALLOW','ROLE','trainee'),(226,'ClientObservation','*','READ','ALLOW','ROLE','trainee'),(227,'Address','*','READ','ALLOW','ROLE','trainee'),(228,'AddressObservation','*','READ','ALLOW','ROLE','trainee'),(230,'ClientCredit','*','READ','ALLOW','ROLE','trainee'),(231,'ClientContact','*','READ','ALLOW','ROLE','trainee'),(232,'ClientSample','*','READ','ALLOW','ROLE','trainee'),(233,'EntryLog','*','READ','ALLOW','ROLE','buyer'),(234,'WorkerLog','*','READ','ALLOW','ROLE','hr'),(235,'CustomsAgent','*','*','ALLOW','ROLE','employee'),(236,'Buy','*','*','ALLOW','ROLE','buyer'),(237,'WorkerDms','filter','*','ALLOW','ROLE','employee'); /*!40000 ALTER TABLE `ACL` ENABLE KEYS */; UNLOCK TABLES; @@ -172,7 +172,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-09 11:46:30 +-- Dump completed on 2020-09-24 12:39:33 USE `vn`; -- MySQL dump 10.13 Distrib 5.7.28, for osx10.15 (x86_64) -- @@ -257,7 +257,7 @@ UNLOCK TABLES; LOCK TABLES `tag` WRITE; /*!40000 ALTER TABLE `tag` DISABLE KEYS */; -INSERT INTO `tag` VALUES (1,'color','Color',0,0,'ink',NULL,NULL,'inkFk'),(2,NULL,'Forma',1,0,NULL,NULL,NULL,NULL),(3,NULL,'Material',1,0,NULL,NULL,NULL,NULL),(4,NULL,'Longitud',1,1,NULL,'mm',NULL,'size'),(5,NULL,'Diámetro',1,1,NULL,'mm',NULL,'diameter'),(6,NULL,'Perímetro',1,1,NULL,'mm',NULL,NULL),(7,NULL,'Ancho de la base',1,1,NULL,'mm',NULL,NULL),(8,NULL,'Altura',1,1,NULL,'mm',NULL,'size'),(9,NULL,'Volumen',1,1,NULL,'ml',NULL,NULL),(10,NULL,'Densidad',1,1,NULL,NULL,NULL,NULL),(11,NULL,'Calidad',1,0,NULL,NULL,NULL,NULL),(12,NULL,'Textura',1,0,NULL,NULL,NULL,NULL),(13,NULL,'Material del mango',1,0,NULL,NULL,NULL,NULL),(14,NULL,'Compra mínima',1,0,NULL,NULL,NULL,NULL),(15,NULL,'Nº pétalos',1,1,NULL,NULL,NULL,NULL),(16,NULL,'Ancho',1,1,NULL,'mm',NULL,NULL),(18,NULL,'Profundidad',1,1,NULL,'mm',NULL,NULL),(19,NULL,'Largo',1,1,NULL,'mm',NULL,'size'),(20,NULL,'Ancho superior',1,1,NULL,'mm',NULL,NULL),(21,NULL,'Ancho inferior',1,1,NULL,'mm',NULL,NULL),(22,NULL,'Gramaje',1,1,NULL,'g',NULL,NULL),(23,'stems','Tallos',1,1,NULL,NULL,NULL,'stems'),(24,NULL,'Estado',1,0,NULL,NULL,NULL,NULL),(25,NULL,'Color principal',0,0,'ink',NULL,NULL,NULL),(26,NULL,'Color secundario',0,0,'ink',NULL,NULL,NULL),(27,NULL,'Longitud(cm)',1,1,NULL,'cm',NULL,NULL),(28,NULL,'Diámetro base',1,1,'','mm',NULL,'diameter'),(29,NULL,'Colección',1,0,NULL,NULL,NULL,NULL),(30,NULL,'Uds / caja',1,1,NULL,NULL,NULL,NULL),(31,NULL,'Contenido',1,0,NULL,NULL,NULL,NULL),(32,NULL,'Peso',1,1,NULL,'g',NULL,NULL),(33,NULL,'Grosor',1,1,NULL,'mm',NULL,NULL),(34,NULL,'Marca',1,0,NULL,NULL,NULL,NULL),(35,'origin','Origen',0,0,'origin',NULL,NULL,'originFk'),(36,NULL,'Proveedor',1,0,NULL,NULL,NULL,NULL),(37,'producer','Productor',0,0,'producer',NULL,NULL,'producerFk'),(38,NULL,'Duración',1,1,NULL,'s',NULL,NULL),(39,NULL,'Flor',1,0,NULL,NULL,NULL,NULL),(40,NULL,'Soporte',1,0,NULL,NULL,NULL,NULL),(41,NULL,'Tamaño flor',1,0,NULL,NULL,NULL,NULL),(42,NULL,'Apertura',1,0,NULL,NULL,NULL,NULL),(43,NULL,'Tallo',1,0,NULL,NULL,NULL,NULL),(44,NULL,'Nº hojas',1,1,NULL,NULL,NULL,NULL),(45,NULL,'Dimensiones',1,0,NULL,NULL,NULL,NULL),(46,NULL,'Diámetro boca',1,1,NULL,'mm',NULL,NULL),(47,NULL,'Nº flores',1,1,NULL,NULL,NULL,NULL),(48,NULL,'Uds / paquete',1,1,NULL,NULL,NULL,NULL),(49,NULL,'Maceta',1,1,NULL,'cm',NULL,'diameter'),(50,NULL,'Textura flor',1,0,NULL,NULL,NULL,NULL),(51,NULL,'Textura hoja',1,0,NULL,NULL,NULL,NULL),(52,NULL,'Tipo de IVA',1,0,NULL,NULL,NULL,NULL),(53,NULL,'Tronco',1,0,NULL,NULL,NULL,NULL),(54,NULL,'Hoja',1,0,NULL,NULL,NULL,NULL),(55,NULL,'Formato',1,0,NULL,NULL,NULL,NULL),(56,NULL,'Genero',1,0,NULL,NULL,NULL,NULL),(57,NULL,'Especie',1,0,NULL,NULL,NULL,NULL),(58,NULL,'Variedad',1,0,NULL,NULL,NULL,NULL),(59,NULL,'Medida grande',1,0,NULL,NULL,NULL,NULL),(60,NULL,'Medida mediano',1,0,NULL,NULL,NULL,NULL),(61,NULL,'Medida pequeño',1,0,NULL,NULL,NULL,NULL),(63,NULL,'Recipiente interior',1,0,NULL,NULL,NULL,NULL),(64,NULL,'Material secundario',1,0,NULL,NULL,NULL,NULL),(65,NULL,'Colores',1,0,NULL,NULL,NULL,NULL),(66,NULL,'Referencia',1,0,NULL,NULL,NULL,NULL),(67,'category','Categoria',1,0,NULL,NULL,NULL,NULL),(68,NULL,'Amb',1,0,NULL,NULL,NULL,NULL),(69,NULL,'Anchura',1,1,NULL,'cm',NULL,NULL),(70,NULL,'Hueco interior',1,0,NULL,NULL,NULL,NULL),(71,NULL,'Tamaño',1,0,NULL,NULL,NULL,NULL),(72,NULL,'Color botón',1,0,NULL,NULL,NULL,NULL),(73,NULL,'Tamaño minimo del botón',1,0,NULL,NULL,NULL,NULL),(74,NULL,'Obtentor',1,0,NULL,NULL,NULL,NULL),(75,NULL,'Longitud del brote',1,0,NULL,NULL,NULL,NULL),(76,NULL,'Tallos / u.v.',1,0,NULL,NULL,NULL,NULL),(77,NULL,'Madera de',1,0,NULL,NULL,NULL,NULL),(78,NULL,'Unidad de venta',1,0,NULL,NULL,NULL,NULL),(79,NULL,'Temporal',1,0,NULL,NULL,NULL,NULL),(80,NULL,'Gramaje/tallo',1,1,NULL,'g',NULL,NULL),(81,NULL,'Peso/paquete',1,1,NULL,'g',NULL,NULL),(82,NULL,'Flexibilidad del tallo',1,0,NULL,NULL,NULL,NULL),(83,NULL,'Nº planchas',1,1,NULL,NULL,NULL,NULL),(84,NULL,'Nº páginas',1,1,NULL,NULL,NULL,NULL),(85,NULL,'Editorial',1,0,NULL,NULL,NULL,NULL),(86,NULL,'Idioma',1,0,NULL,NULL,NULL,NULL),(87,NULL,'Fecha publicación',1,0,NULL,NULL,NULL,NULL),(88,NULL,'Cubierta',1,0,NULL,NULL,NULL,NULL),(89,NULL,'Encuadernación',1,0,NULL,NULL,NULL,NULL),(90,NULL,'Autor',1,0,NULL,NULL,NULL,NULL),(91,NULL,'Envoltorio',1,0,NULL,NULL,NULL,NULL),(92,NULL,'Nombre temporal',1,0,NULL,NULL,NULL,NULL),(93,NULL,'Modelo',1,0,NULL,NULL,NULL,NULL),(94,NULL,'Producto',1,0,NULL,NULL,NULL,NULL),(95,NULL,'Título',1,0,NULL,NULL,NULL,NULL),(96,NULL,'Tomo',1,0,NULL,NULL,NULL,NULL),(97,NULL,'Articulo',1,0,NULL,NULL,NULL,NULL),(98,NULL,'Metodo de cultivo',1,0,NULL,NULL,NULL,NULL),(99,NULL,'Edad',1,0,NULL,NULL,NULL,NULL),(100,NULL,'Agotado',1,0,NULL,NULL,NULL,NULL),(101,NULL,'Altura con asa',1,1,NULL,'cm',NULL,NULL),(102,NULL,'Nº tallos',1,1,NULL,NULL,NULL,NULL),(103,NULL,'Cultivo',1,0,NULL,NULL,NULL,NULL),(104,NULL,'Sabor',1,0,NULL,NULL,NULL,NULL),(105,NULL,'Talla',1,0,NULL,NULL,NULL,NULL),(106,NULL,'Calibre',1,1,NULL,NULL,NULL,NULL),(107,NULL,'Dulzura',1,1,NULL,'bx',NULL,NULL),(108,NULL,'Piezas',1,0,NULL,NULL,NULL,NULL),(109,NULL,'Altura con patas',1,0,NULL,NULL,NULL,NULL),(110,NULL,'Envase',1,0,NULL,NULL,NULL,NULL),(111,NULL,'Nº piezas',1,0,NULL,NULL,NULL,NULL),(112,NULL,'Uso',1,0,NULL,'cm',NULL,NULL),(113,NULL,'Color luz',1,0,NULL,NULL,NULL,NULL),(114,NULL,'Capacidad',1,0,NULL,NULL,NULL,NULL),(184,NULL,'Tallos por paquete',1,0,NULL,NULL,NULL,NULL),(205,NULL,'Apertura',1,0,NULL,NULL,'S05',NULL),(219,NULL,'Altura',1,0,NULL,NULL,'S20','size'),(552,NULL,'fout kenmerk',1,0,NULL,NULL,'081',NULL),(553,NULL,'Potinhoud',1,0,NULL,NULL,'A01',NULL),(554,NULL,'Marketingconcept',1,0,NULL,NULL,'A02',NULL),(555,NULL,'Leeftijd',1,0,NULL,NULL,'A03',NULL),(556,NULL,'Uitgangsmateriaal',1,0,NULL,NULL,'A04',NULL),(557,NULL,'Kleurbehandeld',1,0,NULL,NULL,'A05','inkFk'),(558,NULL,'Verzorging: Standplaats',1,0,NULL,NULL,'A06',NULL),(559,NULL,'Verzorging: Water',1,0,NULL,NULL,'A07',NULL),(560,NULL,'Verzorging: Voeding',1,0,NULL,NULL,'A08',NULL),(561,NULL,'Verzorging: Temperatuur',1,0,NULL,NULL,'A09',NULL),(562,NULL,'Verzorging: Specifieke in',1,0,NULL,NULL,'A10',NULL),(563,NULL,'Verzorging: Consumptie',1,0,NULL,NULL,'A11',NULL),(564,NULL,'Nabehandeling',1,0,NULL,NULL,'A13',NULL),(565,NULL,'Artikel beeld',1,0,NULL,NULL,'A23',NULL),(566,NULL,'Hoofdkleur 1',1,0,NULL,NULL,'B01',NULL),(567,NULL,'Hoofdkleur 2',1,0,NULL,NULL,'B02',NULL),(568,NULL,'RHS hoofdkleur 1',1,0,NULL,NULL,'B03',NULL),(569,NULL,'RHS hoofdkleur 2',1,0,NULL,NULL,'B04',NULL),(570,NULL,'Hoofdkleur 1 blad',1,0,NULL,NULL,'B05',NULL),(571,NULL,'Hoofdkleur 2 blad',1,0,NULL,NULL,'B06',NULL),(572,NULL,'RHS hoofdkleur 1 blad',1,0,NULL,NULL,'B07',NULL),(573,NULL,'RHS hoofdkleur 2 blad',1,0,NULL,NULL,'B08',NULL),(574,NULL,'Botanisch beeld',1,0,NULL,NULL,'B09',NULL),(575,NULL,'Hoofdkleur bes/vrucht',1,0,NULL,NULL,'B10',NULL),(576,NULL,'RHS hoofdkleur bes/vrucht',1,0,NULL,NULL,'B11',NULL),(577,NULL,'UPOV hoofdkleur 1 bloem',1,0,NULL,NULL,'B12',NULL),(578,NULL,'UPOV hoofdkleur 2 bloem',1,0,NULL,NULL,'B13',NULL),(579,NULL,'UPOV hoofdkleur 1 blad',1,0,NULL,NULL,'B14',NULL),(580,NULL,'UPOV hoofdkleur 2 blad',1,0,NULL,NULL,'B15',NULL),(581,NULL,'UPOV hoofdkleur bes/vruch',1,0,NULL,NULL,'B16',NULL),(582,NULL,'Negatieve keurcode 1',1,0,NULL,NULL,'K01',NULL),(583,NULL,'Negatieve keurcode 2',1,0,NULL,NULL,'K02',NULL),(584,NULL,'Bedrijfskenmerk fytosanit',1,0,NULL,NULL,'K03',NULL),(585,NULL,'Certificaten aardwarmte',1,0,NULL,NULL,'K04',NULL),(586,NULL,'Certificaten MPS-TraceCer',1,0,NULL,NULL,'K05',NULL),(587,NULL,'Overige leveranciersinfor',1,0,NULL,NULL,'K07',NULL),(588,NULL,'Certificaten MPS-GAP',1,0,NULL,NULL,'K08',NULL),(589,NULL,'Betrouwbaarheidsindex kla',1,0,NULL,NULL,'K11',NULL),(590,NULL,'Betrouwbaarheidsindex waa',1,0,NULL,NULL,'K12',NULL),(591,NULL,'Productkwaliteitslabel',1,0,NULL,NULL,'K13',NULL),(592,NULL,'Label Fair Flowers Fair P',1,0,NULL,NULL,'K14',NULL),(593,NULL,'Certificaten Socialy Qual',1,0,NULL,NULL,'K15',NULL),(594,NULL,'Certificaten GlobalGAP',1,0,NULL,NULL,'K16',NULL),(595,NULL,'Certificaten MPS Quality',1,0,NULL,NULL,'K17',NULL),(596,NULL,'Certificaten biologisch',1,0,NULL,NULL,'K18',NULL),(597,NULL,'Certificaten eetbare prod',1,0,NULL,NULL,'K19',NULL),(598,NULL,'Certificaten Florimark',1,0,NULL,NULL,'K20',NULL),(599,NULL,'Certificaten Milieukeur',1,0,NULL,NULL,'K21',NULL),(600,NULL,'Certificaten Kenya Flower',1,0,NULL,NULL,'K22',NULL),(601,NULL,'Certificaten Fairtrade',1,0,NULL,NULL,'K23',NULL),(602,NULL,'Keurmerk MPS-ProductProof',1,0,NULL,NULL,'K24',NULL),(603,NULL,'Certificaten ISO',1,0,NULL,NULL,'K25',NULL),(604,NULL,'Certificaten aardwarmte',1,0,NULL,NULL,'K26',NULL),(605,NULL,'Certificaten Florverde',1,0,NULL,NULL,'K27',NULL),(606,NULL,'Certificaten Ethical Trad',1,0,NULL,NULL,'K28',NULL),(607,NULL,'Certificaten Ethiopian EH',1,0,NULL,NULL,'K29',NULL),(608,NULL,'Certificaten gewasbescher',1,0,NULL,NULL,'K30',NULL),(609,NULL,'Certificaten SAN',1,0,NULL,NULL,'K31',NULL),(610,NULL,'Certificaten GRASP',1,0,NULL,NULL,'K32',NULL),(611,NULL,'Label Fair Flora',1,0,NULL,NULL,'K33',NULL),(612,NULL,'GLobalG.A.P. Chain of Cus',1,0,NULL,NULL,'K34',NULL),(613,NULL,'Fust',1,0,NULL,NULL,'L01',NULL),(614,NULL,'Stapelwagen',1,0,NULL,NULL,'L02',NULL),(615,NULL,'Aantal legborden veilings',1,0,NULL,NULL,'L03',NULL),(616,NULL,'Aantal legborden Deense s',1,0,NULL,NULL,'L04',NULL),(617,NULL,'Aantal onderstellen Deens',1,0,NULL,NULL,'L05',NULL),(618,NULL,'Fustsoort',1,0,NULL,NULL,'L06',NULL),(619,NULL,'Fustmateriaal',1,0,NULL,NULL,'L07',NULL),(620,NULL,'Aantal legborden Eurostap',1,0,NULL,NULL,'L08',NULL),(621,NULL,'Aantal onderstellen Euros',1,0,NULL,NULL,'L09',NULL),(622,NULL,'Tallos/bolsa',1,0,NULL,NULL,'L11',''),(623,NULL,'Aantal bossen per bundel',1,0,NULL,NULL,'L12',NULL),(624,NULL,'Aantal stuks per fust',1,0,NULL,NULL,'L13',NULL),(625,NULL,'Aantal bossen per fust',1,0,NULL,NULL,'L14',NULL),(626,NULL,'Aantal bundels per fust',1,0,NULL,NULL,'L15',NULL),(627,NULL,'Aantal bossen per hoes',1,0,NULL,NULL,'L16',NULL),(628,NULL,'Aantal bundels per hoes',1,0,NULL,NULL,'L17',NULL),(629,NULL,'Fustlabel',1,0,NULL,NULL,'L18',NULL),(630,NULL,'Karlabel',1,0,NULL,NULL,'L19',NULL),(631,NULL,'Service productlabel',1,0,NULL,NULL,'L20',NULL),(632,NULL,'Service fustlabel',1,0,NULL,NULL,'L21',NULL),(633,NULL,'Service karlabel',1,0,NULL,NULL,'L22',NULL),(634,NULL,'Aantal fusten per laag',1,0,NULL,NULL,'L23',NULL),(635,NULL,'Presentatie per schapm2',1,0,NULL,NULL,'L24',NULL),(636,NULL,'Positieve keurcode fytosa',1,0,NULL,NULL,'P01',NULL),(637,NULL,'Positieve keurcode kwalit',1,0,NULL,NULL,'P02',NULL),(638,NULL,'Positieve keurcode veilin',1,0,NULL,NULL,'P03',NULL),(639,NULL,'Maceta',1,1,NULL,'cm','S01','diameter'),(640,NULL,'Altura',1,0,NULL,NULL,'S02','size'),(641,NULL,'nº plantas',1,0,NULL,NULL,'S03',NULL),(642,NULL,'Diámetro',1,0,NULL,NULL,'S04',NULL),(644,NULL,'Combinatiehoogte',1,0,NULL,NULL,'S06',NULL),(645,NULL,'Plantas/Maceta',1,0,NULL,NULL,'S07',NULL),(646,NULL,'Dikte',1,0,NULL,NULL,'S08',NULL),(647,NULL,'nº flores',1,0,NULL,NULL,'S09',NULL),(648,NULL,'Min aantal bloemtrossen p',1,0,NULL,NULL,'S10',NULL),(649,NULL,'nº ramales',1,0,NULL,NULL,'S11',NULL),(650,NULL,'Minimum aantal bollen per',1,0,NULL,NULL,'S12',NULL),(651,NULL,'Minimum aantal bladeren p',1,0,NULL,NULL,'S13',NULL),(652,NULL,'Minimum stamhoogte',1,0,NULL,NULL,'S14',NULL),(653,NULL,'Altura caja',1,0,NULL,NULL,'S15',NULL),(654,NULL,'Lengte scheuten',1,0,NULL,NULL,'S16',NULL),(655,NULL,'Min aant vertakkingen pr ',1,0,NULL,NULL,'S17',NULL),(656,NULL,'Altura del capullo',1,0,NULL,NULL,'S19',NULL),(658,NULL,'Peso tallo',1,0,NULL,NULL,'S21',NULL),(659,NULL,'nº flores',1,0,NULL,NULL,'S22',NULL),(660,NULL,'Diámetro de la flor',1,0,NULL,NULL,'S23',NULL),(661,NULL,'Minimum bloemschedelengte',1,0,NULL,NULL,'S24',NULL),(662,NULL,'Aantal bloemkoppen per tr',1,0,NULL,NULL,'S25',NULL),(663,NULL,'Aant.kleuren/cultiv/vorme',1,0,NULL,NULL,'S26',NULL),(664,NULL,'Aant.kleuren/cultiv/vorme',1,0,NULL,NULL,'S27',NULL),(665,NULL,'Aant.kleuren/cultiv/vorme',1,0,NULL,NULL,'S28',NULL),(666,NULL,'Longitud inflorescencia',1,0,NULL,NULL,'S29',NULL),(667,NULL,'Verpakkingswijze snijbloe',1,0,NULL,NULL,'S30',NULL),(668,NULL,'Minimum aant bloemen per ',1,0,NULL,NULL,'S31',NULL),(669,NULL,'Longitud',1,0,NULL,NULL,'S32',NULL),(670,NULL,'Jaartal sortering hout',1,0,NULL,NULL,'S33',NULL),(671,NULL,'Diámetro de la hoja',1,0,NULL,NULL,'S34',NULL),(672,NULL,'Peso paquete',1,0,NULL,NULL,'S35',NULL),(673,NULL,'Maximum planthoogte',1,0,NULL,NULL,'S36',NULL),(674,NULL,'Maximum plantdiameter',1,0,NULL,NULL,'S37',NULL),(675,NULL,'Max aantal bloemen/bloeiw',1,0,NULL,NULL,'S38',NULL),(676,NULL,'Maximum aantal takken per',1,0,NULL,NULL,'S39',NULL),(677,NULL,'Maximum aantal bollen per',1,0,NULL,NULL,'S40',NULL),(678,NULL,'Maximum stamhoogte',1,0,NULL,NULL,'S41',NULL),(679,NULL,'Longitud mínima',1,0,NULL,NULL,'S42','size'),(680,NULL,'Maximum aantal knoppen sn',1,0,NULL,NULL,'S43',NULL),(681,NULL,'Maximum bloemdiameter',1,0,NULL,NULL,'S44',NULL),(682,NULL,'Maximum bloeiwijzelengte',1,0,NULL,NULL,'S45',NULL),(683,NULL,'Aantal vruchten / trossen',1,0,NULL,NULL,'S46',NULL),(684,NULL,'Verpakkingswijze',1,0,NULL,NULL,'S47',NULL),(685,NULL,'Minimum vruchtdiameter',1,0,NULL,NULL,'S48',NULL),(686,NULL,'Bolomvang',1,0,NULL,NULL,'S49',NULL),(687,NULL,'Bloem/bes/vruchtkleur 1',1,0,NULL,NULL,'S50',NULL),(688,NULL,'Potvorm',1,0,NULL,NULL,'S51',NULL),(689,NULL,'Potkleur',1,0,NULL,NULL,'S52',NULL),(690,NULL,'Material maceta',1,0,NULL,NULL,'S53',NULL),(691,NULL,'Plantvorm',1,0,NULL,NULL,'S54',NULL),(692,NULL,'Aantal kleuren/cultiv per',1,0,NULL,NULL,'S55',NULL),(693,NULL,'Teeltwijze',1,0,NULL,NULL,'S56',NULL),(694,NULL,'Teeltmedium',1,0,NULL,NULL,'S57',NULL),(695,NULL,'Hoesmateriaal',1,0,NULL,NULL,'S58',NULL),(696,NULL,'Hoesvorm',1,0,NULL,NULL,'S59',NULL),(697,NULL,'Hoesbedrukking algemeen',1,0,NULL,NULL,'S60',NULL),(698,NULL,'Extra toevoegingen',1,0,NULL,NULL,'S61',NULL),(699,NULL,'Land van herkomst (bedrij',1,0,NULL,NULL,'S62',NULL),(700,NULL,'Verpakte orchidee',1,0,NULL,NULL,'S63',NULL),(701,NULL,'Hoesbedrukking extra',1,0,NULL,NULL,'S64',NULL),(702,NULL,'Voorbehandeling',1,0,NULL,NULL,'S65',NULL),(703,NULL,'Overige niet in pot',1,0,NULL,NULL,'S66',NULL),(704,NULL,'Vorm snijbloemen',1,0,NULL,NULL,'S67',NULL),(705,NULL,'Buigzaamheid bloemsteel',1,0,NULL,NULL,'S68',NULL),(706,NULL,'Hoeskleur',1,0,NULL,NULL,'S69',NULL),(707,NULL,'Extra deco materiaal',1,0,NULL,NULL,'S70',NULL),(708,NULL,'Productkleur',1,0,NULL,NULL,'S71','inkFk'),(709,NULL,'Productmateriaal',1,0,NULL,NULL,'S72',NULL),(710,NULL,'Materiaalhoogte',1,0,NULL,NULL,'S73',NULL),(711,NULL,'Materiaaldiameter',1,0,NULL,NULL,'S74',NULL),(712,NULL,'Barcode',1,0,NULL,NULL,'S75',NULL),(713,NULL,'Productlabel',1,0,NULL,NULL,'S76',NULL),(714,NULL,'Eetbaar/ niet eetbaar',1,0,NULL,NULL,'S77',NULL),(715,NULL,'Plantmaat zonder pot',1,0,NULL,NULL,'S78',NULL),(716,NULL,'Aantal kleuren/cultiv per',1,0,NULL,NULL,'S79',NULL),(717,NULL,'Maximum percentage oud ho',1,0,NULL,NULL,'S80',NULL),(718,NULL,'Maximum lengte verschil',1,0,NULL,NULL,'S81',NULL),(719,NULL,'Bladkleur',1,0,NULL,NULL,'S82',NULL),(720,NULL,'Plantgewicht',1,0,NULL,NULL,'S83',NULL),(721,NULL,'Diámetro',1,0,NULL,NULL,'S84',NULL),(722,NULL,'Bloem/bes/vruchtkleur 2',1,0,NULL,NULL,'S85',NULL),(723,NULL,'Winterhardheid (USDA zone',1,0,NULL,NULL,'S86',NULL),(724,NULL,'Kleurbehandeld',1,0,NULL,NULL,'S87','inkFk'),(725,NULL,'Bloem-/bladkleurverdeling',1,0,NULL,NULL,'S88',NULL),(726,NULL,'Diámetro del capullo',1,0,NULL,NULL,'S89',NULL),(727,NULL,'Volume inhoud',1,0,NULL,NULL,'S90',NULL),(728,NULL,'Vruchtbenaming',1,0,NULL,NULL,'S91',NULL),(729,NULL,'Vaaslevenindex',1,0,NULL,NULL,'S92',NULL),(730,NULL,'Overige informatie plante',1,0,NULL,NULL,'S93',NULL),(731,NULL,'Overige informatie snijbl',1,0,NULL,NULL,'S94',NULL),(732,NULL,'Toepassingsmogelijkheid',1,0,NULL,NULL,'S95',NULL),(733,NULL,'Productbeeld aanvoerder',1,0,NULL,NULL,'S96',NULL),(734,NULL,'MPS certificering',1,0,NULL,NULL,'S97',NULL),(735,NULL,'Kwaliteitsgroep',1,0,NULL,NULL,'S98',NULL),(736,NULL,'Artikelomschrijving',1,0,NULL,NULL,'S99',NULL),(737,NULL,'BTW-tarief',1,0,NULL,NULL,'T01',NULL),(738,NULL,'Prijseenheid',1,0,NULL,NULL,'T02',NULL),(739,NULL,'Transactievorm',1,0,NULL,NULL,'T03',NULL),(740,NULL,'Handelsverpakking voorwaa',1,0,NULL,NULL,'T10',NULL),(741,NULL,'Consumentenverpakking voo',1,0,NULL,NULL,'T11',NULL),(742,NULL,'Leveringsvoorwaarden',1,0,NULL,NULL,'T12',NULL),(743,NULL,'PT heffing voorwaarden',1,0,NULL,NULL,'T13',NULL),(744,NULL,'Serviceheffing voorwaarde',1,0,NULL,NULL,'T14',NULL),(745,NULL,'Algemene voorwaarden',1,0,NULL,NULL,'T15',NULL),(746,NULL,'Marktvorm',1,0,NULL,NULL,'T16',NULL),(747,NULL,'Themadagen',1,0,NULL,NULL,'T17',NULL),(748,NULL,'Handelscategorie',1,0,NULL,NULL,'T18',NULL),(749,NULL,'Producentengroepen',1,0,NULL,NULL,'T19',NULL),(750,NULL,'Favorieten Id',1,0,NULL,NULL,'T20',NULL),(751,NULL,'Verkoopeenheid',1,0,NULL,NULL,'T21',NULL),(752,NULL,'Veilgroep voorkeur',1,0,NULL,NULL,'V01',NULL),(753,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V02',NULL),(754,NULL,'Keurmeesternummer FloraHo',1,0,NULL,NULL,'V03',NULL),(755,NULL,'Rijnummer Rijnsburg',1,0,NULL,NULL,'V04',NULL),(756,NULL,'Verwerkingslocatie FloraH',1,0,NULL,NULL,'V05',NULL),(757,NULL,'FloraHolland Financial',1,0,NULL,NULL,'V06',NULL),(758,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V07',NULL),(759,NULL,'Benefiet veiling',1,0,NULL,NULL,'V08',NULL),(760,NULL,'Kloksoort',1,0,NULL,NULL,'V09',NULL),(761,NULL,'Minimumprijs aanvoerder',1,0,NULL,NULL,'V10',NULL),(762,NULL,'Rest aantallen',1,0,NULL,NULL,'V11',NULL),(763,NULL,'Veilsoort',1,0,NULL,NULL,'V12',NULL),(764,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V13',NULL),(765,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V14',NULL),(766,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V15',NULL),(767,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V16',NULL),(768,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V17',NULL),(769,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V18',NULL),(770,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V19',NULL),(771,NULL,'Gereserveerd',1,0,NULL,NULL,'V20',NULL),(772,NULL,'Veilgroep Aalsmeer',1,0,NULL,NULL,'V21',NULL),(773,NULL,'Promotie kenmerk FloraHol',1,0,NULL,NULL,'V22',NULL),(774,NULL,'Verrekening snijbloemenvo',1,0,NULL,NULL,'V23',NULL),(775,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V24',NULL),(776,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V25',NULL),(777,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V26',NULL),(778,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V27',NULL),(779,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V28',NULL),(780,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V29',NULL),(781,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V30',NULL),(782,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V31',NULL),(783,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V32',NULL),(784,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V33',NULL),(785,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V34',NULL),(786,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V35',NULL),(787,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V36',NULL),(788,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V37',NULL),(789,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V38',NULL),(790,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V39',NULL),(791,NULL,'Gereserveerd',1,0,NULL,NULL,'V40',NULL),(792,NULL,'Tussenopslag klok Plantio',1,0,NULL,NULL,'V41',NULL),(793,NULL,'Soort ladingsdrager Plant',1,0,NULL,NULL,'V42',NULL),(794,NULL,'Logistiek middel Plantion',1,0,NULL,NULL,'V43',NULL),(795,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V44',NULL),(796,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V45',NULL),(797,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V46',NULL),(798,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V47',NULL),(799,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V48',NULL),(800,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V49',NULL),(801,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V50',NULL),(802,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V51',NULL),(803,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V52',NULL),(804,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V53',NULL),(805,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V54',NULL),(806,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V55',NULL),(807,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V56',NULL),(808,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V57',NULL),(809,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V58',NULL),(810,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V59',NULL),(811,NULL,'Gereserveerd',1,0,NULL,NULL,'V60',NULL),(812,NULL,'Veilgroep Plantion Ede',1,0,NULL,NULL,'V61',NULL),(813,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V62',NULL),(814,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V63',NULL),(815,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V64',NULL),(816,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V65',NULL),(817,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V66',NULL),(818,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V67',NULL),(819,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V68',NULL),(820,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V69',NULL),(821,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V70',NULL),(822,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V71',NULL),(823,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V72',NULL),(824,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V73',NULL),(825,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V74',NULL),(826,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V75',NULL),(827,NULL,'Gereserveerd Holambra',1,0,NULL,NULL,'V76',NULL),(828,NULL,'Gereserveerd Holambra',1,0,NULL,NULL,'V77',NULL),(829,NULL,'Gereserveerd Holambra',1,0,NULL,NULL,'V78',NULL),(830,NULL,'Gereserveerd Holambra',1,0,NULL,NULL,'V79',NULL),(831,NULL,'Toegevoegde waardes VRM',1,0,NULL,NULL,'V80',NULL),(832,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V81',NULL),(833,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V82',NULL),(834,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V83',NULL),(835,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V84',NULL),(836,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V85',NULL),(837,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V86',NULL),(838,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V87',NULL),(839,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V88',NULL),(840,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V89',NULL),(841,NULL,'Veiling',1,0,NULL,NULL,'V99',NULL),(842,NULL,'kopersaantallen',1,0,NULL,NULL,'Z01',NULL),(843,NULL,'Caducidad',1,0,NULL,NULL,NULL,NULL); +INSERT INTO `tag` VALUES (1,'color','Color',0,0,'ink',NULL,NULL,'inkFk'),(2,NULL,'Forma',1,0,NULL,NULL,NULL,NULL),(3,NULL,'Material',1,0,NULL,NULL,NULL,NULL),(4,NULL,'Longitud',1,1,NULL,'mm',NULL,'size'),(5,NULL,'Diámetro',1,1,NULL,'mm',NULL,'diameter'),(6,NULL,'Perímetro',1,1,NULL,'mm',NULL,NULL),(7,NULL,'Ancho de la base',1,1,NULL,'mm',NULL,NULL),(8,NULL,'Altura',1,1,NULL,'mm',NULL,'size'),(9,NULL,'Volumen',1,1,NULL,'ml',NULL,NULL),(10,NULL,'Densidad',1,1,NULL,NULL,NULL,NULL),(11,NULL,'Calidad',1,0,NULL,NULL,NULL,NULL),(12,NULL,'Textura',1,0,NULL,NULL,NULL,NULL),(13,NULL,'Material del mango',1,0,NULL,NULL,NULL,NULL),(14,NULL,'Compra mínima',1,0,NULL,NULL,NULL,NULL),(15,NULL,'Nº pétalos',1,1,NULL,NULL,NULL,NULL),(16,NULL,'Ancho',1,1,NULL,'mm',NULL,NULL),(18,NULL,'Profundidad',1,1,NULL,'mm',NULL,NULL),(19,NULL,'Largo',1,1,NULL,'mm',NULL,'size'),(20,NULL,'Ancho superior',1,1,NULL,'mm',NULL,NULL),(21,NULL,'Ancho inferior',1,1,NULL,'mm',NULL,NULL),(22,NULL,'Gramaje',1,1,NULL,'g',NULL,NULL),(23,'stems','Tallos',1,1,NULL,NULL,NULL,'stems'),(24,NULL,'Estado',1,0,NULL,NULL,NULL,NULL),(25,NULL,'Color principal',0,0,'ink',NULL,NULL,NULL),(26,NULL,'Color secundario',0,0,'ink',NULL,NULL,NULL),(27,NULL,'Longitud(cm)',1,1,NULL,'cm',NULL,NULL),(28,NULL,'Diámetro base',1,1,'','mm',NULL,'diameter'),(29,NULL,'Colección',1,0,NULL,NULL,NULL,NULL),(30,NULL,'Uds / caja',1,1,NULL,NULL,NULL,NULL),(31,NULL,'Contenido',1,0,NULL,NULL,NULL,NULL),(32,NULL,'Peso',1,1,NULL,'g',NULL,NULL),(33,NULL,'Grosor',1,1,NULL,'mm',NULL,NULL),(34,NULL,'Marca',1,0,NULL,NULL,NULL,NULL),(35,'origin','Origen',0,0,'origin',NULL,NULL,'originFk'),(36,NULL,'Proveedor',1,0,NULL,NULL,NULL,NULL),(37,'producer','Productor',0,0,'producer',NULL,NULL,'producerFk'),(38,NULL,'Duración',1,1,NULL,'s',NULL,NULL),(39,NULL,'Flor',1,0,NULL,NULL,NULL,NULL),(40,NULL,'Soporte',1,0,NULL,NULL,NULL,NULL),(41,NULL,'Tamaño flor',1,0,NULL,NULL,NULL,NULL),(42,NULL,'Apertura',1,0,NULL,NULL,NULL,NULL),(43,NULL,'Tallo',1,0,NULL,NULL,NULL,NULL),(44,NULL,'Nº hojas',1,1,NULL,NULL,NULL,NULL),(45,NULL,'Dimensiones',1,0,NULL,NULL,NULL,NULL),(46,NULL,'Diámetro boca',1,1,NULL,'mm',NULL,NULL),(47,NULL,'Nº flores',1,1,NULL,NULL,NULL,NULL),(48,NULL,'Uds / paquete',1,1,NULL,NULL,NULL,NULL),(49,NULL,'Maceta',1,1,NULL,'cm',NULL,'diameter'),(50,NULL,'Textura flor',1,0,NULL,NULL,NULL,NULL),(51,NULL,'Textura hoja',1,0,NULL,NULL,NULL,NULL),(52,NULL,'Tipo de IVA',1,0,NULL,NULL,NULL,NULL),(53,NULL,'Tronco',1,0,NULL,NULL,NULL,NULL),(54,NULL,'Hoja',1,0,NULL,NULL,NULL,NULL),(55,NULL,'Formato',1,0,NULL,NULL,NULL,NULL),(56,NULL,'Genero',1,0,NULL,NULL,NULL,NULL),(57,NULL,'Especie',1,0,NULL,NULL,NULL,NULL),(58,NULL,'Variedad',1,0,NULL,NULL,NULL,NULL),(59,NULL,'Medida grande',1,0,NULL,NULL,NULL,NULL),(60,NULL,'Medida mediano',1,0,NULL,NULL,NULL,NULL),(61,NULL,'Medida pequeño',1,0,NULL,NULL,NULL,NULL),(63,NULL,'Recipiente interior',1,0,NULL,NULL,NULL,NULL),(64,NULL,'Material secundario',1,0,NULL,NULL,NULL,NULL),(65,NULL,'Colores',1,0,NULL,NULL,NULL,NULL),(66,NULL,'Referencia',1,0,NULL,NULL,NULL,NULL),(67,'category','Categoria',1,0,NULL,NULL,NULL,NULL),(68,NULL,'Amb',1,0,NULL,NULL,NULL,NULL),(69,NULL,'Anchura',1,1,NULL,'cm',NULL,NULL),(70,NULL,'Hueco interior',1,0,NULL,NULL,NULL,NULL),(71,NULL,'Tamaño',1,0,NULL,NULL,NULL,NULL),(72,NULL,'Color botón',1,0,NULL,NULL,NULL,NULL),(73,NULL,'Tamaño minimo del botón',1,0,NULL,NULL,NULL,NULL),(74,NULL,'Obtentor',1,0,NULL,NULL,NULL,NULL),(75,NULL,'Longitud del brote',1,0,NULL,NULL,NULL,NULL),(76,NULL,'Tallos / u.v.',1,0,NULL,NULL,NULL,NULL),(77,NULL,'Madera de',1,0,NULL,NULL,NULL,NULL),(78,NULL,'Unidad de venta',1,0,NULL,NULL,NULL,NULL),(79,NULL,'Temporal',1,0,NULL,NULL,NULL,NULL),(80,NULL,'Gramaje/tallo',1,1,NULL,'g',NULL,NULL),(81,NULL,'Peso/paquete',1,1,NULL,'g',NULL,NULL),(82,NULL,'Flexibilidad del tallo',1,0,NULL,NULL,NULL,NULL),(83,NULL,'Nº planchas',1,1,NULL,NULL,NULL,NULL),(84,NULL,'Nº páginas',1,1,NULL,NULL,NULL,NULL),(85,NULL,'Editorial',1,0,NULL,NULL,NULL,NULL),(86,NULL,'Idioma',1,0,NULL,NULL,NULL,NULL),(87,NULL,'Fecha publicación',1,0,NULL,NULL,NULL,NULL),(88,NULL,'Cubierta',1,0,NULL,NULL,NULL,NULL),(89,NULL,'Encuadernación',1,0,NULL,NULL,NULL,NULL),(90,NULL,'Autor',1,0,NULL,NULL,NULL,NULL),(91,NULL,'Envoltorio',1,0,NULL,NULL,NULL,NULL),(92,NULL,'Nombre temporal',1,0,NULL,NULL,NULL,NULL),(93,NULL,'Modelo',1,0,NULL,NULL,NULL,NULL),(94,NULL,'Producto',1,0,NULL,NULL,NULL,NULL),(95,NULL,'Título',1,0,NULL,NULL,NULL,NULL),(96,NULL,'Tomo',1,0,NULL,NULL,NULL,NULL),(97,NULL,'Articulo',1,0,NULL,NULL,NULL,NULL),(98,NULL,'Metodo de cultivo',1,0,NULL,NULL,NULL,NULL),(99,NULL,'Edad',1,0,NULL,NULL,NULL,NULL),(100,NULL,'Agotado',1,0,NULL,NULL,NULL,NULL),(101,NULL,'Altura con asa',1,1,NULL,'cm',NULL,NULL),(102,NULL,'Nº tallos',1,1,NULL,NULL,NULL,NULL),(103,NULL,'Cultivo',1,0,NULL,NULL,NULL,NULL),(104,NULL,'Sabor',1,0,NULL,NULL,NULL,NULL),(105,NULL,'Talla',1,0,NULL,NULL,NULL,NULL),(106,NULL,'Calibre',1,1,NULL,NULL,NULL,NULL),(107,NULL,'Dulzura',1,1,NULL,'bx',NULL,NULL),(108,NULL,'Piezas',1,0,NULL,NULL,NULL,NULL),(109,NULL,'Altura con patas',1,0,NULL,NULL,NULL,NULL),(110,NULL,'Envase',1,0,NULL,NULL,NULL,NULL),(111,NULL,'Nº piezas',1,0,NULL,NULL,NULL,NULL),(112,NULL,'Uso',1,0,NULL,'cm',NULL,NULL),(113,NULL,'Color luz',1,0,NULL,NULL,NULL,NULL),(114,NULL,'Capacidad',1,0,NULL,NULL,NULL,NULL),(184,NULL,'Tallos por paquete',1,0,NULL,NULL,NULL,NULL),(205,NULL,'Apertura',1,0,NULL,NULL,'S05',NULL),(219,NULL,'Altura',1,0,NULL,NULL,'S20','size'),(552,NULL,'fout kenmerk',1,0,NULL,NULL,'081',NULL),(553,NULL,'Potinhoud',1,0,NULL,NULL,'A01',NULL),(554,NULL,'Marketingconcept',1,0,NULL,NULL,'A02',NULL),(555,NULL,'Leeftijd',1,0,NULL,NULL,'A03',NULL),(556,NULL,'Base',1,0,NULL,NULL,'A04',NULL),(557,NULL,'Kleurbehandeld',1,0,NULL,NULL,'A05','inkFk'),(558,NULL,'Verzorging: Standplaats',1,0,NULL,NULL,'A06',NULL),(559,NULL,'Verzorging: Water',1,0,NULL,NULL,'A07',NULL),(560,NULL,'Verzorging: Voeding',1,0,NULL,NULL,'A08',NULL),(561,NULL,'Verzorging: Temperatuur',1,0,NULL,NULL,'A09',NULL),(562,NULL,'Verzorging: Specifieke in',1,0,NULL,NULL,'A10',NULL),(563,NULL,'Verzorging: Consumptie',1,0,NULL,NULL,'A11',NULL),(564,NULL,'Nabehandeling',1,0,NULL,NULL,'A13',NULL),(565,NULL,'Artikel beeld',1,0,NULL,NULL,'A23',NULL),(566,NULL,'Hoofdkleur 1',1,0,NULL,NULL,'B01',NULL),(567,NULL,'Hoofdkleur 2',1,0,NULL,NULL,'B02',NULL),(568,NULL,'RHS hoofdkleur 1',1,0,NULL,NULL,'B03',NULL),(569,NULL,'RHS hoofdkleur 2',1,0,NULL,NULL,'B04',NULL),(570,NULL,'Hoofdkleur 1 blad',1,0,NULL,NULL,'B05',NULL),(571,NULL,'Hoofdkleur 2 blad',1,0,NULL,NULL,'B06',NULL),(572,NULL,'RHS hoofdkleur 1 blad',1,0,NULL,NULL,'B07',NULL),(573,NULL,'RHS hoofdkleur 2 blad',1,0,NULL,NULL,'B08',NULL),(574,NULL,'Botanisch beeld',1,0,NULL,NULL,'B09',NULL),(575,NULL,'Hoofdkleur bes/vrucht',1,0,NULL,NULL,'B10',NULL),(576,NULL,'RHS hoofdkleur bes/vrucht',1,0,NULL,NULL,'B11',NULL),(577,NULL,'UPOV hoofdkleur 1 bloem',1,0,NULL,NULL,'B12',NULL),(578,NULL,'UPOV hoofdkleur 2 bloem',1,0,NULL,NULL,'B13',NULL),(579,NULL,'UPOV hoofdkleur 1 blad',1,0,NULL,NULL,'B14',NULL),(580,NULL,'UPOV hoofdkleur 2 blad',1,0,NULL,NULL,'B15',NULL),(581,NULL,'UPOV hoofdkleur bes/vruch',1,0,NULL,NULL,'B16',NULL),(582,NULL,'Negatieve keurcode 1',1,0,NULL,NULL,'K01',NULL),(583,NULL,'Negatieve keurcode 2',1,0,NULL,NULL,'K02',NULL),(584,NULL,'Bedrijfskenmerk fytosanit',1,0,NULL,NULL,'K03',NULL),(585,NULL,'Certificaten aardwarmte',1,0,NULL,NULL,'K04',NULL),(586,NULL,'Certificaten MPS-TraceCer',1,0,NULL,NULL,'K05',NULL),(587,NULL,'Overige leveranciersinfor',1,0,NULL,NULL,'K07',NULL),(588,NULL,'Certificaten MPS-GAP',1,0,NULL,NULL,'K08',NULL),(589,NULL,'Betrouwbaarheidsindex kla',1,0,NULL,NULL,'K11',NULL),(590,NULL,'Betrouwbaarheidsindex waa',1,0,NULL,NULL,'K12',NULL),(591,NULL,'Productkwaliteitslabel',1,0,NULL,NULL,'K13',NULL),(592,NULL,'Label Fair Flowers Fair P',1,0,NULL,NULL,'K14',NULL),(593,NULL,'Certificaten Socialy Qual',1,0,NULL,NULL,'K15',NULL),(594,NULL,'Certificaten GlobalGAP',1,0,NULL,NULL,'K16',NULL),(595,NULL,'Certificaten MPS Quality',1,0,NULL,NULL,'K17',NULL),(596,NULL,'Certificaten biologisch',1,0,NULL,NULL,'K18',NULL),(597,NULL,'Certificaten eetbare prod',1,0,NULL,NULL,'K19',NULL),(598,NULL,'Certificaten Florimark',1,0,NULL,NULL,'K20',NULL),(599,NULL,'Certificaten Milieukeur',1,0,NULL,NULL,'K21',NULL),(600,NULL,'Certificaten Kenya Flower',1,0,NULL,NULL,'K22',NULL),(601,NULL,'Certificaten Fairtrade',1,0,NULL,NULL,'K23',NULL),(602,NULL,'Keurmerk MPS-ProductProof',1,0,NULL,NULL,'K24',NULL),(603,NULL,'Certificaten ISO',1,0,NULL,NULL,'K25',NULL),(604,NULL,'Certificaten aardwarmte',1,0,NULL,NULL,'K26',NULL),(605,NULL,'Certificaten Florverde',1,0,NULL,NULL,'K27',NULL),(606,NULL,'Certificaten Ethical Trad',1,0,NULL,NULL,'K28',NULL),(607,NULL,'Certificaten Ethiopian EH',1,0,NULL,NULL,'K29',NULL),(608,NULL,'Certificaten gewasbescher',1,0,NULL,NULL,'K30',NULL),(609,NULL,'Certificaten SAN',1,0,NULL,NULL,'K31',NULL),(610,NULL,'Certificaten GRASP',1,0,NULL,NULL,'K32',NULL),(611,NULL,'Label Fair Flora',1,0,NULL,NULL,'K33',NULL),(612,NULL,'GLobalG.A.P. Chain of Cus',1,0,NULL,NULL,'K34',NULL),(613,NULL,'Fust',1,0,NULL,NULL,'L01',NULL),(614,NULL,'Stapelwagen',1,0,NULL,NULL,'L02',NULL),(615,NULL,'Aantal legborden veilings',1,0,NULL,NULL,'L03',NULL),(616,NULL,'Aantal legborden Deense s',1,0,NULL,NULL,'L04',NULL),(617,NULL,'Aantal onderstellen Deens',1,0,NULL,NULL,'L05',NULL),(618,NULL,'Fustsoort',1,0,NULL,NULL,'L06',NULL),(619,NULL,'Envase',1,0,NULL,NULL,'L07',NULL),(620,NULL,'Aantal legborden Eurostap',1,0,NULL,NULL,'L08',NULL),(621,NULL,'Aantal onderstellen Euros',1,0,NULL,NULL,'L09',NULL),(622,NULL,'Tallos/bolsa',1,0,NULL,NULL,'L11',''),(623,NULL,'Aantal bossen per bundel',1,0,NULL,NULL,'L12',NULL),(624,NULL,'Aantal stuks per fust',1,0,NULL,NULL,'L13',NULL),(625,NULL,'Aantal bossen per fust',1,0,NULL,NULL,'L14',NULL),(626,NULL,'Aantal bundels per fust',1,0,NULL,NULL,'L15',NULL),(627,NULL,'Aantal bossen per hoes',1,0,NULL,NULL,'L16',NULL),(628,NULL,'Aantal bundels per hoes',1,0,NULL,NULL,'L17',NULL),(629,NULL,'Fustlabel',1,0,NULL,NULL,'L18',NULL),(630,NULL,'Karlabel',1,0,NULL,NULL,'L19',NULL),(631,NULL,'Service productlabel',1,0,NULL,NULL,'L20',NULL),(632,NULL,'Service fustlabel',1,0,NULL,NULL,'L21',NULL),(633,NULL,'Service karlabel',1,0,NULL,NULL,'L22',NULL),(634,NULL,'Aantal fusten per laag',1,0,NULL,NULL,'L23',NULL),(635,NULL,'Presentatie per schapm2',1,0,NULL,NULL,'L24',NULL),(636,NULL,'Positieve keurcode fytosa',1,0,NULL,NULL,'P01',NULL),(637,NULL,'Positieve keurcode kwalit',1,0,NULL,NULL,'P02',NULL),(638,NULL,'Positieve keurcode veilin',1,0,NULL,NULL,'P03',NULL),(639,NULL,'Maceta',1,1,NULL,'cm','S01','diameter'),(640,NULL,'Altura',1,0,NULL,NULL,'S02','size'),(641,NULL,'nº plantas',1,0,NULL,NULL,'S03',NULL),(642,NULL,'Diámetro',1,0,NULL,NULL,'S04',NULL),(644,NULL,'Combinatiehoogte',1,0,NULL,NULL,'S06',NULL),(645,NULL,'Plantas/Maceta',1,0,NULL,NULL,'S07',NULL),(646,NULL,'Dikte',1,0,NULL,NULL,'S08',NULL),(647,NULL,'nº flores',1,0,NULL,NULL,'S09',NULL),(648,NULL,'Min aantal bloemtrossen p',1,0,NULL,NULL,'S10',NULL),(649,NULL,'nº ramales',1,0,NULL,NULL,'S11',NULL),(650,NULL,'Minimum aantal bollen per',1,0,NULL,NULL,'S12',NULL),(651,NULL,'Minimum aantal bladeren p',1,0,NULL,NULL,'S13',NULL),(652,NULL,'Minimum stamhoogte',1,0,NULL,NULL,'S14',NULL),(653,NULL,'Altura caja',1,0,NULL,NULL,'S15',NULL),(654,NULL,'Lengte scheuten',1,0,NULL,NULL,'S16',NULL),(655,NULL,'Min aant vertakkingen pr ',1,0,NULL,NULL,'S17',NULL),(656,NULL,'Altura del capullo',1,0,NULL,NULL,'S19',NULL),(658,NULL,'Peso tallo',1,0,NULL,NULL,'S21',NULL),(659,NULL,'nº flores',1,0,NULL,NULL,'S22',NULL),(660,NULL,'Diámetro de la flor',1,0,NULL,NULL,'S23',NULL),(661,NULL,'Minimum bloemschedelengte',1,0,NULL,NULL,'S24',NULL),(662,NULL,'Aantal bloemkoppen per tr',1,0,NULL,NULL,'S25',NULL),(663,NULL,'Aant.kleuren/cultiv/vorme',1,0,NULL,NULL,'S26',NULL),(664,NULL,'Aant.kleuren/cultiv/vorme',1,0,NULL,NULL,'S27',NULL),(665,NULL,'Aant.kleuren/cultiv/vorme',1,0,NULL,NULL,'S28',NULL),(666,NULL,'Longitud inflorescencia',1,0,NULL,NULL,'S29',NULL),(667,NULL,'Verpakkingswijze snijbloe',1,0,NULL,NULL,'S30',NULL),(668,NULL,'Minimum aant bloemen per ',1,0,NULL,NULL,'S31',NULL),(669,NULL,'Longitud',1,0,NULL,NULL,'S32',NULL),(670,NULL,'Jaartal sortering hout',1,0,NULL,NULL,'S33',NULL),(671,NULL,'Diámetro de la hoja',1,0,NULL,NULL,'S34',NULL),(672,NULL,'Peso paquete',1,0,NULL,NULL,'S35',NULL),(673,NULL,'Maximum planthoogte',1,0,NULL,NULL,'S36',NULL),(674,NULL,'Maximum plantdiameter',1,0,NULL,NULL,'S37',NULL),(675,NULL,'Max aantal bloemen/bloeiw',1,0,NULL,NULL,'S38',NULL),(676,NULL,'Maximum aantal takken per',1,0,NULL,NULL,'S39',NULL),(677,NULL,'Maximum aantal bollen per',1,0,NULL,NULL,'S40',NULL),(678,NULL,'Maximum stamhoogte',1,0,NULL,NULL,'S41',NULL),(679,NULL,'Longitud mínima',1,0,NULL,NULL,'S42','size'),(680,NULL,'Maximum aantal knoppen sn',1,0,NULL,NULL,'S43',NULL),(681,NULL,'Maximum bloemdiameter',1,0,NULL,NULL,'S44',NULL),(682,NULL,'Maximum bloeiwijzelengte',1,0,NULL,NULL,'S45',NULL),(683,NULL,'Aantal vruchten / trossen',1,0,NULL,NULL,'S46',NULL),(684,NULL,'Verpakkingswijze',1,0,NULL,NULL,'S47',NULL),(685,NULL,'Minimum vruchtdiameter',1,0,NULL,NULL,'S48',NULL),(686,NULL,'Bolomvang',1,0,NULL,NULL,'S49',NULL),(687,NULL,'Bloem/bes/vruchtkleur 1',1,0,NULL,NULL,'S50',NULL),(688,NULL,'Potvorm',1,0,NULL,NULL,'S51',NULL),(689,NULL,'Potkleur',1,0,NULL,NULL,'S52',NULL),(690,NULL,'Material maceta',1,0,NULL,NULL,'S53',NULL),(691,NULL,'Plantvorm',1,0,NULL,NULL,'S54',NULL),(692,NULL,'Aantal kleuren/cultiv per',1,0,NULL,NULL,'S55',NULL),(693,NULL,'Teeltwijze',1,0,NULL,NULL,'S56',NULL),(694,NULL,'Teeltmedium',1,0,NULL,NULL,'S57',NULL),(695,NULL,'Cubierta',1,0,NULL,NULL,'S58',NULL),(696,NULL,'Hoesvorm',1,0,NULL,NULL,'S59',NULL),(697,NULL,'Hoesbedrukking algemeen',1,0,NULL,NULL,'S60',NULL),(698,NULL,'Extra toevoegingen',1,0,NULL,NULL,'S61',NULL),(699,NULL,'Land van herkomst (bedrij',1,0,NULL,NULL,'S62',NULL),(700,NULL,'Verpakte orchidee',1,0,NULL,NULL,'S63',NULL),(701,NULL,'Hoesbedrukking extra',1,0,NULL,NULL,'S64',NULL),(702,NULL,'Voorbehandeling',1,0,NULL,NULL,'S65',NULL),(703,NULL,'Overige niet in pot',1,0,NULL,NULL,'S66',NULL),(704,NULL,'Forma de la flor',1,0,NULL,NULL,'S67',NULL),(705,NULL,'Flexibilidad',1,0,NULL,NULL,'S68',NULL),(706,NULL,'Hoeskleur',1,0,NULL,NULL,'S69',NULL),(707,NULL,'Extra deco',1,0,NULL,NULL,'S70',NULL),(708,NULL,'Color',1,0,NULL,NULL,'S71','inkFk'),(709,NULL,'Producto',1,0,NULL,NULL,'S72',NULL),(710,NULL,'Altura',1,0,NULL,NULL,'S73',NULL),(711,NULL,'Diametro',1,0,NULL,NULL,'S74',NULL),(712,NULL,'Barcode',1,0,NULL,NULL,'S75',NULL),(713,NULL,'Productlabel',1,0,NULL,NULL,'S76',NULL),(714,NULL,'Eetbaar/ niet eetbaar',1,0,NULL,NULL,'S77',NULL),(715,NULL,'Plantmaat zonder pot',1,0,NULL,NULL,'S78',NULL),(716,NULL,'Aantal kleuren/cultiv per',1,0,NULL,NULL,'S79',NULL),(717,NULL,'Maximum percentage oud ho',1,0,NULL,NULL,'S80',NULL),(718,NULL,'Maximum lengte verschil',1,0,NULL,NULL,'S81',NULL),(719,NULL,'Bladkleur',1,0,NULL,NULL,'S82',NULL),(720,NULL,'Plantgewicht',1,0,NULL,NULL,'S83',NULL),(721,NULL,'Diámetro',1,0,NULL,NULL,'S84',NULL),(722,NULL,'Bloem/bes/vruchtkleur 2',1,0,NULL,NULL,'S85',NULL),(723,NULL,'Winterhardheid (USDA zone',1,0,NULL,NULL,'S86',NULL),(724,NULL,'Kleurbehandeld',1,0,NULL,NULL,'S87','inkFk'),(725,NULL,'Bloem-/bladkleurverdeling',1,0,NULL,NULL,'S88',NULL),(726,NULL,'Diámetro del capullo',1,0,NULL,NULL,'S89',NULL),(727,NULL,'Volume inhoud',1,0,NULL,NULL,'S90',NULL),(728,NULL,'Vruchtbenaming',1,0,NULL,NULL,'S91',NULL),(729,NULL,'Vaaslevenindex',1,0,NULL,NULL,'S92',NULL),(730,NULL,'Overige informatie plante',1,0,NULL,NULL,'S93',NULL),(731,NULL,'Overige informatie snijbl',1,0,NULL,NULL,'S94',NULL),(732,NULL,'Toepassingsmogelijkheid',1,0,NULL,NULL,'S95',NULL),(733,NULL,'Productbeeld aanvoerder',1,0,NULL,NULL,'S96',NULL),(734,NULL,'MPS certificering',1,0,NULL,NULL,'S97',NULL),(735,NULL,'Kwaliteitsgroep',1,0,NULL,NULL,'S98',NULL),(736,NULL,'Artikelomschrijving',1,0,NULL,NULL,'S99',NULL),(737,NULL,'BTW-tarief',1,0,NULL,NULL,'T01',NULL),(738,NULL,'Prijseenheid',1,0,NULL,NULL,'T02',NULL),(739,NULL,'Transactievorm',1,0,NULL,NULL,'T03',NULL),(740,NULL,'Handelsverpakking voorwaa',1,0,NULL,NULL,'T10',NULL),(741,NULL,'Consumentenverpakking voo',1,0,NULL,NULL,'T11',NULL),(742,NULL,'Leveringsvoorwaarden',1,0,NULL,NULL,'T12',NULL),(743,NULL,'PT heffing voorwaarden',1,0,NULL,NULL,'T13',NULL),(744,NULL,'Serviceheffing voorwaarde',1,0,NULL,NULL,'T14',NULL),(745,NULL,'Algemene voorwaarden',1,0,NULL,NULL,'T15',NULL),(746,NULL,'Marktvorm',1,0,NULL,NULL,'T16',NULL),(747,NULL,'Themadagen',1,0,NULL,NULL,'T17',NULL),(748,NULL,'Handelscategorie',1,0,NULL,NULL,'T18',NULL),(749,NULL,'Producentengroepen',1,0,NULL,NULL,'T19',NULL),(750,NULL,'Favorieten Id',1,0,NULL,NULL,'T20',NULL),(751,NULL,'Verkoopeenheid',1,0,NULL,NULL,'T21',NULL),(752,NULL,'Veilgroep voorkeur',1,0,NULL,NULL,'V01',NULL),(753,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V02',NULL),(754,NULL,'Keurmeesternummer FloraHo',1,0,NULL,NULL,'V03',NULL),(755,NULL,'Rijnummer Rijnsburg',1,0,NULL,NULL,'V04',NULL),(756,NULL,'Verwerkingslocatie FloraH',1,0,NULL,NULL,'V05',NULL),(757,NULL,'FloraHolland Financial',1,0,NULL,NULL,'V06',NULL),(758,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V07',NULL),(759,NULL,'Benefiet veiling',1,0,NULL,NULL,'V08',NULL),(760,NULL,'Kloksoort',1,0,NULL,NULL,'V09',NULL),(761,NULL,'Minimumprijs aanvoerder',1,0,NULL,NULL,'V10',NULL),(762,NULL,'Rest aantallen',1,0,NULL,NULL,'V11',NULL),(763,NULL,'Veilsoort',1,0,NULL,NULL,'V12',NULL),(764,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V13',NULL),(765,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V14',NULL),(766,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V15',NULL),(767,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V16',NULL),(768,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V17',NULL),(769,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V18',NULL),(770,NULL,'Gereserveerd FloraHolland',1,0,NULL,NULL,'V19',NULL),(771,NULL,'Gereserveerd',1,0,NULL,NULL,'V20',NULL),(772,NULL,'Veilgroep Aalsmeer',1,0,NULL,NULL,'V21',NULL),(773,NULL,'Promotie kenmerk FloraHol',1,0,NULL,NULL,'V22',NULL),(774,NULL,'Verrekening snijbloemenvo',1,0,NULL,NULL,'V23',NULL),(775,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V24',NULL),(776,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V25',NULL),(777,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V26',NULL),(778,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V27',NULL),(779,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V28',NULL),(780,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V29',NULL),(781,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V30',NULL),(782,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V31',NULL),(783,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V32',NULL),(784,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V33',NULL),(785,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V34',NULL),(786,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V35',NULL),(787,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V36',NULL),(788,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V37',NULL),(789,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V38',NULL),(790,NULL,'Gereserveerd Aalsmeer',1,0,NULL,NULL,'V39',NULL),(791,NULL,'Gereserveerd',1,0,NULL,NULL,'V40',NULL),(792,NULL,'Tussenopslag klok Plantio',1,0,NULL,NULL,'V41',NULL),(793,NULL,'Soort ladingsdrager Plant',1,0,NULL,NULL,'V42',NULL),(794,NULL,'Logistiek middel Plantion',1,0,NULL,NULL,'V43',NULL),(795,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V44',NULL),(796,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V45',NULL),(797,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V46',NULL),(798,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V47',NULL),(799,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V48',NULL),(800,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V49',NULL),(801,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V50',NULL),(802,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V51',NULL),(803,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V52',NULL),(804,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V53',NULL),(805,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V54',NULL),(806,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V55',NULL),(807,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V56',NULL),(808,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V57',NULL),(809,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V58',NULL),(810,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V59',NULL),(811,NULL,'Gereserveerd',1,0,NULL,NULL,'V60',NULL),(812,NULL,'Veilgroep Plantion Ede',1,0,NULL,NULL,'V61',NULL),(813,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V62',NULL),(814,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V63',NULL),(815,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V64',NULL),(816,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V65',NULL),(817,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V66',NULL),(818,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V67',NULL),(819,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V68',NULL),(820,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V69',NULL),(821,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V70',NULL),(822,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V71',NULL),(823,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V72',NULL),(824,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V73',NULL),(825,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V74',NULL),(826,NULL,'Gereserveerd Plantion Ede',1,0,NULL,NULL,'V75',NULL),(827,NULL,'Gereserveerd Holambra',1,0,NULL,NULL,'V76',NULL),(828,NULL,'Gereserveerd Holambra',1,0,NULL,NULL,'V77',NULL),(829,NULL,'Gereserveerd Holambra',1,0,NULL,NULL,'V78',NULL),(830,NULL,'Gereserveerd Holambra',1,0,NULL,NULL,'V79',NULL),(831,NULL,'Toegevoegde waardes VRM',1,0,NULL,NULL,'V80',NULL),(832,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V81',NULL),(833,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V82',NULL),(834,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V83',NULL),(835,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V84',NULL),(836,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V85',NULL),(837,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V86',NULL),(838,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V87',NULL),(839,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V88',NULL),(840,NULL,'Gereserveerd VRM',1,0,NULL,NULL,'V89',NULL),(841,NULL,'Veiling',1,0,NULL,NULL,'V99',NULL),(842,NULL,'kopersaantallen',1,0,NULL,NULL,'Z01',NULL),(843,NULL,'Caducidad',1,0,NULL,NULL,NULL,NULL),(844,NULL,'Lote',1,0,NULL,NULL,NULL,NULL),(845,NULL,'Uds palet',1,0,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `tag` ENABLE KEYS */; UNLOCK TABLES; @@ -317,7 +317,7 @@ UNLOCK TABLES; LOCK TABLES `state` WRITE; /*!40000 ALTER TABLE `state` DISABLE KEYS */; -INSERT INTO `state` VALUES (1,'Arreglar',2,0,'FIXING',NULL,1,0,0,0,0,0,0,4),(2,'Libre',2,0,'FREE',NULL,2,1,0,0,0,1,0,4),(3,'OK',3,0,'OK',3,28,1,0,0,0,1,1,3),(4,'Impreso',4,1,'PRINTED',2,29,1,0,1,0,0,0,2),(5,'Preparación',5,1,'ON_PREPARATION',7,5,0,0,0,2,0,0,2),(6,'En Revisión',7,1,'ON_CHECKING',NULL,6,0,1,0,3,0,0,1),(7,'Sin Acabar',1,0,'NOT_READY',NULL,7,0,0,0,0,1,0,4),(8,'Revisado',8,1,'CHECKED',NULL,8,0,1,0,3,0,0,1),(9,'Encajando',9,2,'PACKING',NULL,9,0,1,0,0,0,0,0),(10,'Encajado',10,2,'PACKED',NULL,10,0,1,0,0,0,0,0),(11,'Facturado',0,0,'INVOICED',NULL,11,0,1,0,0,0,0,0),(12,'Bloqueado',0,0,'BLOCKED',NULL,12,0,0,0,0,0,0,4),(13,'En Reparto',11,3,'ON_DELIVERY',NULL,13,0,1,0,0,0,0,0),(14,'Preparado',6,1,'PREPARED',NULL,14,0,1,0,2,0,0,1),(15,'Pte Recogida',12,3,'WAITING_FOR_PICKUP',NULL,15,0,1,0,0,0,0,0),(16,'Entregado',13,3,'DELIVERED',NULL,16,0,1,0,0,0,0,0),(20,'Asignado',4,1,'PICKER_DESIGNED',NULL,20,1,0,0,0,0,0,2),(21,'Retornado',4,1,'PRINTED_BACK',6,21,0,0,0,0,0,0,2),(22,'¿Fecha?',2,0,'WRONG_DATE',NULL,22,0,0,0,0,0,0,4),(23,'URGENTE',2,0,'LAST_CALL',NULL,23,1,0,0,0,0,0,4),(24,'Encadenado',4,0,'CHAINED',4,24,0,0,0,0,0,0,3),(25,'Embarcando',3,0,'BOARDING',5,25,1,0,0,0,1,0,3),(26,'Prep Previa',5,1,'PREVIOUS_PREPARATION',1,26,0,0,0,1,0,0,2),(27,'Prep Asistida',5,1,'ASSISTED_PREPARATION',7,27,0,0,0,0,0,0,2),(28,'Previa OK',3,1,'OK PREVIOUS',3,28,1,0,0,1,1,1,3),(29,'Previa Impreso',4,1,'PRINTED PREVIOUS',2,29,1,0,1,1,0,0,3),(30,'Embarcado',4,0,'BOARD',5,30,0,0,0,2,0,0,3),(31,'Polizon Impreso',4,1,'PRINTED STOWAWAY',2,29,1,0,1,0,0,0,3),(32,'Polizon OK',3,1,'OK STOWAWAY',3,31,1,0,0,1,1,1,3),(33,'Auto_Impreso',4,1,'PRINTED_AUTO',2,29,1,0,1,0,0,0,2); +INSERT INTO `state` VALUES (1,'Arreglar',2,0,'FIXING',NULL,1,0,0,0,0,0,0,4),(2,'Libre',2,0,'FREE',NULL,2,1,0,0,0,1,0,4),(3,'OK',3,0,'OK',3,28,1,0,0,0,1,1,3),(4,'Impreso',4,0,'PRINTED',2,29,1,0,1,0,0,0,2),(5,'Preparación',5,1,'ON_PREPARATION',7,5,0,0,0,2,0,0,2),(6,'En Revisión',7,1,'ON_CHECKING',NULL,6,0,1,0,3,0,0,1),(7,'Sin Acabar',1,0,'NOT_READY',NULL,7,0,0,0,0,1,0,4),(8,'Revisado',8,1,'CHECKED',NULL,8,0,1,0,3,0,0,1),(9,'Encajando',9,2,'PACKING',NULL,9,0,1,0,0,0,0,0),(10,'Encajado',10,2,'PACKED',NULL,10,0,1,0,0,0,0,0),(11,'Facturado',0,3,'INVOICED',NULL,11,0,1,0,0,0,0,0),(12,'Bloqueado',0,0,'BLOCKED',NULL,12,0,0,0,0,0,0,4),(13,'En Reparto',11,3,'ON_DELIVERY',NULL,13,0,1,0,0,0,0,0),(14,'Preparado',6,1,'PREPARED',NULL,14,0,1,0,2,0,0,1),(15,'Pte Recogida',12,3,'WAITING_FOR_PICKUP',NULL,15,0,1,0,0,0,0,0),(16,'Entregado',13,3,'DELIVERED',NULL,16,0,1,0,0,0,0,0),(20,'Asignado',4,0,'PICKER_DESIGNED',NULL,20,1,0,0,0,0,0,2),(21,'Retornado',4,1,'PRINTED_BACK',6,21,0,0,0,0,0,0,2),(22,'¿Fecha?',2,0,'WRONG_DATE',NULL,22,0,0,0,0,0,0,4),(23,'URGENTE',2,0,'LAST_CALL',NULL,23,1,0,0,0,0,0,4),(24,'Encadenado',4,0,'CHAINED',4,24,0,0,0,0,0,0,3),(25,'Embarcando',3,0,'BOARDING',5,25,1,0,0,0,1,0,3),(26,'Prep Previa',5,1,'PREVIOUS_PREPARATION',1,26,0,0,0,1,0,0,2),(27,'Prep Asistida',5,1,'ASSISTED_PREPARATION',7,27,0,0,0,0,0,0,2),(28,'Previa OK',3,1,'OK PREVIOUS',3,28,1,0,0,1,1,1,3),(29,'Previa Impreso',4,1,'PRINTED PREVIOUS',2,29,1,0,1,1,0,0,3),(30,'Embarcado',4,1,'BOARD',5,30,0,0,0,2,0,0,3),(31,'Polizon Impreso',4,1,'PRINTED STOWAWAY',2,29,1,0,1,0,0,0,3),(32,'Polizon OK',3,1,'OK STOWAWAY',3,31,1,0,0,1,1,1,3),(33,'Auto_Impreso',4,0,'PRINTED_AUTO',2,29,1,0,1,0,0,0,2); /*!40000 ALTER TABLE `state` ENABLE KEYS */; UNLOCK TABLES; @@ -337,7 +337,7 @@ UNLOCK TABLES; LOCK TABLES `department` WRITE; /*!40000 ALTER TABLE `department` DISABLE KEYS */; -INSERT INTO `department` VALUES (1,'VERDNATURA',1,2,763,0,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,0),(22,'COMPRAS',3,4,NULL,72,596,2,5,0,0,0,0,NULL,'/',NULL,1),(23,'CAMARA',14,19,NULL,72,604,2,6,1,0,1,2,37,'/37/',NULL,0),(31,'INFORMATICA',5,6,NULL,72,127,3,9,0,0,0,0,NULL,'/','informatica',1),(34,'CONTABILIDAD',7,8,NULL,0,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,1),(35,'FINANZAS',9,10,NULL,0,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,1),(36,'LABORAL',11,12,NULL,0,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,1),(37,'PRODUCCION',13,52,NULL,72,230,3,11,1,0,0,17,NULL,'/',NULL,0),(38,'SACADO',20,21,NULL,72,230,4,14,1,0,1,0,37,'/37/',NULL,0),(39,'ENCAJADO',22,23,NULL,72,230,4,12,1,0,1,0,37,'/37/',NULL,0),(41,'ADMINISTRACION',53,54,NULL,72,599,3,8,0,0,0,0,NULL,'/',NULL,1),(43,'VENTAS',55,80,NULL,0,NULL,NULL,NULL,0,0,0,12,NULL,'/',NULL,1),(44,'GERENCIA',81,82,NULL,72,300,2,7,0,0,0,0,NULL,'/',NULL,0),(45,'LOGISTICA',83,84,NULL,72,596,3,19,0,0,0,0,NULL,'/',NULL,1),(46,'REPARTO',85,88,NULL,72,659,3,10,0,0,0,1,NULL,'/',NULL,0),(48,'ALMACENAJE',89,90,NULL,0,NULL,NULL,NULL,1,0,0,0,NULL,'/',NULL,0),(49,'PROPIEDAD',91,92,NULL,72,1008,1,1,0,0,0,0,NULL,'/',NULL,0),(52,'CARGA AEREA',93,94,NULL,72,163,4,28,0,0,0,0,NULL,'/',NULL,0),(53,'MARKETING Y COMUNICACIÓN',95,96,NULL,72,1238,0,0,0,0,0,0,NULL,'/',NULL,1),(54,'ORNAMENTALES',97,98,NULL,72,433,3,21,0,0,0,0,NULL,'/',NULL,0),(55,'TALLER NATURAL',99,100,NULL,72,695,2,23,0,0,0,0,NULL,'/',NULL,0),(56,'TALLER ARTIFICIAL',101,102,NULL,72,1780,2,24,0,0,0,0,NULL,'/',NULL,0),(58,'CAMPOS',103,104,NULL,72,225,2,2,0,0,0,0,NULL,'/',NULL,0),(59,'MANTENIMIENTO',105,106,NULL,72,1907,4,16,0,0,0,0,NULL,'/',NULL,0),(60,'RECLAMACIONES',107,108,NULL,72,563,3,20,0,0,0,0,NULL,'/',NULL,1),(61,'VNH',109,110,NULL,73,1297,3,17,0,0,0,0,NULL,'/',NULL,0),(63,'VENTAS FRANCIA',56,57,NULL,72,277,2,27,0,0,1,0,43,'/43/',NULL,0),(66,'VERDNAMADRID',111,112,NULL,72,163,3,18,0,0,0,0,NULL,'/',NULL,0),(68,'COMPLEMENTOS',24,25,NULL,72,617,3,26,1,0,1,0,37,'/37/',NULL,0),(69,'VERDNABARNA',113,114,NULL,74,432,3,22,0,0,0,0,NULL,'/',NULL,0),(77,'PALETIZADO',86,87,NULL,72,230,4,15,1,0,1,0,46,'/46/',NULL,0),(80,'EQUIPO J VALLES',58,59,NULL,72,693,3,4,0,0,1,0,43,'/43/','jvp_equipo',1),(86,'LIMPIEZA',115,116,NULL,72,599,0,0,0,0,0,0,NULL,'/',NULL,0),(89,'COORDINACION',117,118,NULL,0,NULL,NULL,NULL,1,0,0,0,NULL,'/',NULL,0),(90,'TRAILER',119,120,NULL,0,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,0),(91,'ARTIFICIAL',26,27,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(92,'EQUIPO SILVERIO',60,61,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','sdc_equipo',1),(93,'CONFECCION',121,122,NULL,0,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,0),(94,'EQUIPO J BROCAL',62,63,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','jes_equipo',1),(95,'EQUIPO C ZAMBRANO',64,65,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','czg_equipo',1),(96,'EQUIPO C LOPEZ',66,67,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','cla_equipo',1),(97,'EQUIPO D SARRION',68,69,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/',NULL,1),(98,'EQUIPO RODRIGO',70,71,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','rhr_equipo',1),(99,'EQUIPO MANOLI',72,73,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/',NULL,1),(101,'EQUIPO J IBAÑEZ',74,75,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','jmi_equipo',1),(102,'EQ ROJO FV RUBEN C',28,29,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(103,'EQ AZUL FV A FOLQUES',30,31,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(104,'EQ AMARILLO FV NORMAN G',32,33,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(105,'EQ MORADO FV MATOU',34,35,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(106,'EQ VERDE PCA KEVIN GIMENEZ',36,37,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(107,'EQ NARANJA PCA RUBEN ZANON',38,39,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(110,'EQ ROSA PCA J BONDIA',40,41,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(111,'EQ REPONEDOR CAJAS',42,43,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(112,'CAMARA EQ EDGAR LLEO',15,16,NULL,0,NULL,NULL,NULL,1,0,2,0,23,'/37/23/',NULL,0),(113,'CAMARA EQ MARC ROCA',17,18,NULL,0,NULL,NULL,NULL,1,0,2,0,23,'/37/23/',NULL,0),(114,'EQ MARRON PCA JL NUEVO',44,45,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(115,'EQUIPO CLAUDI',76,77,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','csr_equipo',1),(120,'PCA PRODUCCION',46,47,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(121,'FV PRODUCCION',48,49,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(122,'PCA ALMACEN',50,51,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(123,'EQUIPO ELENA BASCUÑANA',78,79,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','ebt_equipo',0); +INSERT INTO `department` VALUES (1,'VERDNATURA',1,2,763,0,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,0),(22,'COMPRAS',3,4,NULL,72,596,2,5,0,0,0,0,NULL,'/',NULL,1),(23,'CAMARA',14,19,NULL,72,604,2,6,1,0,1,2,37,'/37/',NULL,0),(31,'INFORMATICA',5,6,NULL,72,127,3,9,0,0,0,0,NULL,'/','informatica',1),(34,'CONTABILIDAD',7,8,NULL,0,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,1),(35,'FINANZAS',9,10,NULL,0,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,1),(36,'LABORAL',11,12,NULL,0,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,1),(37,'PRODUCCION',13,52,NULL,72,230,3,11,1,0,0,17,NULL,'/',NULL,0),(38,'SACADO',20,21,NULL,72,230,4,14,1,0,1,0,37,'/37/',NULL,0),(39,'ENCAJADO',22,23,NULL,72,230,4,12,1,0,1,0,37,'/37/',NULL,0),(41,'ADMINISTRACION',53,54,NULL,72,599,3,8,0,0,0,0,NULL,'/',NULL,1),(43,'VENTAS',55,76,NULL,0,NULL,NULL,NULL,0,0,0,10,NULL,'/',NULL,1),(44,'GERENCIA',77,78,NULL,72,300,2,7,0,0,0,0,NULL,'/',NULL,0),(45,'LOGISTICA',79,80,NULL,72,596,3,19,0,0,0,0,NULL,'/',NULL,1),(46,'REPARTO',81,84,NULL,72,659,3,10,0,0,0,1,NULL,'/',NULL,0),(48,'ALMACENAJE',85,86,NULL,0,NULL,NULL,NULL,1,0,0,0,NULL,'/',NULL,0),(49,'PROPIEDAD',87,88,NULL,72,1008,1,1,0,0,0,0,NULL,'/',NULL,0),(52,'CARGA AEREA',89,90,NULL,72,163,4,28,0,0,0,0,NULL,'/',NULL,0),(53,'MARKETING Y COMUNICACIÓN',91,92,NULL,72,1238,0,0,0,0,0,0,NULL,'/',NULL,1),(54,'ORNAMENTALES',93,94,NULL,72,433,3,21,0,0,0,0,NULL,'/',NULL,0),(55,'TALLER NATURAL',95,96,NULL,72,695,2,23,0,0,0,0,NULL,'/',NULL,0),(56,'TALLER ARTIFICIAL',97,98,NULL,72,1780,2,24,0,0,0,0,NULL,'/',NULL,0),(58,'CAMPOS',99,100,NULL,72,225,2,2,0,0,0,0,NULL,'/',NULL,0),(59,'MANTENIMIENTO',101,102,NULL,72,1907,4,16,0,0,0,0,NULL,'/',NULL,0),(60,'RECLAMACIONES',103,104,NULL,72,563,3,20,0,0,0,0,NULL,'/',NULL,1),(61,'VNH',105,106,NULL,73,1297,3,17,0,0,0,0,NULL,'/',NULL,0),(63,'VENTAS FRANCIA',56,57,NULL,72,277,2,27,0,0,1,0,43,'/43/',NULL,0),(66,'VERDNAMADRID',107,108,NULL,72,163,3,18,0,0,0,0,NULL,'/',NULL,0),(68,'COMPLEMENTOS',24,25,NULL,72,617,3,26,1,0,1,0,37,'/37/',NULL,0),(69,'VERDNABARNA',109,110,NULL,74,432,3,22,0,0,0,0,NULL,'/',NULL,0),(77,'PALETIZADO',82,83,NULL,72,230,4,15,1,0,1,0,46,'/46/',NULL,0),(80,'EQUIPO J VALLES',58,59,NULL,72,693,3,4,0,0,1,0,43,'/43/','jvp_equipo',1),(86,'LIMPIEZA',111,112,NULL,72,599,0,0,0,0,0,0,NULL,'/',NULL,0),(89,'COORDINACION',113,114,NULL,0,NULL,NULL,NULL,1,0,0,0,NULL,'/',NULL,0),(90,'TRAILER',115,116,NULL,0,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,0),(91,'ARTIFICIAL',26,27,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(92,'EQUIPO SILVERIO',60,61,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','sdc_equipo',1),(93,'CONFECCION',117,118,NULL,0,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,0),(94,'EQUIPO J BROCAL',62,63,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','jes_equipo',1),(95,'EQUIPO C ZAMBRANO',64,65,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','czg_equipo',1),(96,'EQUIPO C LOPEZ',66,67,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','cla_equipo',1),(98,'EQUIPO RODRIGO',68,69,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','rhr_equipo',1),(101,'EQUIPO J IBAÑEZ',70,71,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','jmi_equipo',1),(102,'EQ ROJO FV RUBEN C',28,29,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(103,'EQ AZUL FV A FOLQUES',30,31,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(104,'EQ AMARILLO FV NORMAN G',32,33,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(105,'EQ MORADO FV MATOU',34,35,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(106,'EQ VERDE PCA KEVIN GIMENEZ',36,37,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(107,'EQ NARANJA PCA RUBEN ZANON',38,39,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(110,'EQ ROSA PCA J BONDIA',40,41,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(111,'EQ REPONEDOR CAJAS',42,43,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(112,'CAMARA EQ EDGAR LLEO',15,16,NULL,0,NULL,NULL,NULL,1,0,2,0,23,'/37/23/',NULL,0),(113,'CAMARA EQ MARC ROCA',17,18,NULL,0,NULL,NULL,NULL,1,0,2,0,23,'/37/23/',NULL,0),(114,'EQ MARRON PCA JL NUEVO',44,45,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(115,'EQUIPO CLAUDI',72,73,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','csr_equipo',1),(120,'PCA PRODUCCION',46,47,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(121,'FV PRODUCCION',48,49,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(122,'PCA ALMACEN',50,51,NULL,0,NULL,NULL,NULL,1,0,1,0,37,'/37/',NULL,0),(123,'EQUIPO ELENA BASCUÑANA',74,75,NULL,0,NULL,NULL,NULL,0,0,1,0,43,'/43/','ebt_equipo',0),(124,'CONTROL INTERNO',119,120,NULL,72,NULL,NULL,NULL,0,0,0,0,NULL,'/',NULL,0); /*!40000 ALTER TABLE `department` ENABLE KEYS */; UNLOCK TABLES; @@ -370,7 +370,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-09 11:46:35 +-- Dump completed on 2020-09-24 12:39:37 USE `cache`; -- MySQL dump 10.13 Distrib 5.7.28, for osx10.15 (x86_64) -- @@ -408,7 +408,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-09 11:46:35 +-- Dump completed on 2020-09-24 12:39:37 USE `hedera`; -- MySQL dump 10.13 Distrib 5.7.28, for osx10.15 (x86_64) -- @@ -466,7 +466,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-09 11:46:36 +-- Dump completed on 2020-09-24 12:39:38 USE `postgresql`; -- MySQL dump 10.13 Distrib 5.7.28, for osx10.15 (x86_64) -- @@ -541,7 +541,7 @@ UNLOCK TABLES; LOCK TABLES `workcenter` WRITE; /*!40000 ALTER TABLE `workcenter` DISABLE KEYS */; -INSERT INTO `workcenter` VALUES (1,'Silla',20,1056,1,'Av espioca 100',552703),(2,'Mercaflor',19,NULL,NULL,NULL,NULL),(3,'Marjales',26,20008,NULL,NULL,NULL),(4,'VNH',NULL,NULL,3,NULL,NULL),(5,'Madrid',28,2852,5,'Av constitución 3',554145),(6,'Vilassar',88,88031,2,'Cami del Crist, 33',556412),(7,'Tenerife',NULL,NULL,10,NULL,NULL); +INSERT INTO `workcenter` VALUES (1,'Silla',20,1073,1,'Av espioca 100',552703),(2,'Mercaflor',19,NULL,NULL,NULL,NULL),(3,'Marjales',26,20008,NULL,NULL,NULL),(4,'VNH',NULL,NULL,3,NULL,NULL),(5,'Madrid',28,2852,5,'Av constitución 3',554145),(6,'Vilassar',88,88031,2,'Cami del Crist, 33',556412),(7,'Tenerife',NULL,NULL,10,NULL,NULL); /*!40000 ALTER TABLE `workcenter` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; @@ -554,4 +554,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-09 11:46:38 +-- Dump completed on 2020-09-24 12:39:40 diff --git a/db/dump/fixtures.sql b/db/dump/fixtures.sql index 7a2fde69a..b4022e913 100644 --- a/db/dump/fixtures.sql +++ b/db/dump/fixtures.sql @@ -776,10 +776,16 @@ INSERT INTO `vn`.`item`(`id`, `typeFk`, `size`, `inkFk`, `stems`, `originFk`, `d (12, 3, 30, 'RED', 1, 2, NULL, 2, 06021010, 1, 4751000000, 0, NULL, 0, 82, 2, NULL, 0), (13, 5, 30, 'RED', 1, 2, NULL, NULL, 06021010, 0, 4751000000, 0, NULL, 0, 83, 2, NULL, 0), (14, 5, 90, 'BLU', 1, 2, NULL, NULL, 06021010, 0, 4751000000, 0, NULL, 0, 84, 2, NULL, 0), - (15, 4, NULL, NULL, NULL, 1, NULL, NULL, 06021010, 0, 4751000000, 0, NULL, 0, 67350, 2, NULL, 0), - (16, 4, NULL, NULL, NULL, 1, NULL, NULL, 06021010, 0, 4751000000, 0, NULL, 0, 67350, 2, NULL, 0), + (15, 4, NULL, NULL, NULL, 1, NULL, NULL, 06021010, 0, 4751000000, 0, NULL, 0, 88, 2, NULL, 0), + (16, 4, NULL, NULL, NULL, 1, NULL, NULL, 06021010, 0, 4751000000, 0, NULL, 0, 88, 2, NULL, 0), (71, 4, NULL, NULL, NULL, 1, NULL, NULL, 06021010, 1, 4751000000, 0, NULL, 0, 88, 2, NULL, 0); +INSERT INTO `vn`.`priceFixed`(`id`, `itemFk`, `rate0`, `rate1`, `rate2`, `rate3`, `started`, `ended`, `bonus`, `warehouseFk`, `created`) + VALUES + (1, 1, 0, 0, 2.5, 2, CURDATE(), DATE_ADD(CURDATE(), INTERVAL +1 MONTH), 0, 1, CURDATE()), + (3, 3, 10, 10, 10, 10, CURDATE(), DATE_ADD(CURDATE(), INTERVAL +1 MONTH), 0, 1, CURDATE()), + (4, 5, 8.5, 10, 7.5, 6, CURDATE(), DATE_ADD(CURDATE(), INTERVAL +1 MONTH), 1, 2, CURDATE()); + INSERT INTO `vn`.`expedition`(`id`, `agencyModeFk`, `ticketFk`, `isBox`, `created`, `itemFk`, `counter`, `checked`, `workerFk`) VALUES (1, 1, 1, 71, DATE_ADD(CURDATE(), INTERVAL -1 MONTH), 1, 1, 1, 18), @@ -1071,105 +1077,107 @@ INSERT INTO `vn`.`itemBotanical`(`itemFk`, `botanical`, `genusFk`, `specieFk`) INSERT INTO `vn`.`itemTag`(`id`,`itemFk`,`tagFk`,`value`,`priority`) VALUES - (1 , 1, 56, 'Ranged weapon', 1), - (2 , 1, 58, 'longbow', 2), - (3 , 1, 27, '2m', 3), - (4 , 1, 36, 'Stark Industries', 4), - (5 , 1, 1, 'Brown', 5), - (6 , 1, 67, '+1 precission', 6), - (7 , 1, 23, '1', 7), - (8 , 2, 56, 'Melee weapon', 1), - (9 , 2, 58, 'combat fist', 2), - (10, 2, 27, '15cm', 3), - (11, 2, 36, 'Stark Industries', 4), - (12, 2, 1, 'Silver', 5), - (13, 2, 67, 'Concussion', 6), - (14, 2, 23, '2', 7), - (15, 3, 56, 'Ranged weapon', 1), - (16, 3, 58, 'sniper rifle', 2), - (17, 3, 4, '300mm', 3), - (18, 3, 36, 'Stark Industries', 4), - (19, 3, 1, 'Green', 5), - (20, 3, 67, 'precission', 6), - (21, 3, 23, '3', 7), - (22, 4, 56, 'Melee weapon', 1), - (23, 4, 58, 'heavy shield', 2), - (24, 4, 4, '1x0.5m', 3), - (25, 4, 36, 'Stark Industries', 4), - (26, 4, 1, 'Black', 5), - (27, 4, 67, 'containtment', 6), - (28, 4, 23, '4', 7), - (29, 5, 56, 'Ranged weapon', 1), - (30, 5, 58, 'pistol', 2), - (31, 5, 27, '9mm', 3), - (32, 5, 36, 'Stark Industries', 4), - (33, 5, 1, 'Silver', 5), - (34, 5, 67, 'rapid fire', 6), - (35, 5, 23, '5', 7), - (36, 6, 56, 'Container', 1), - (37, 6, 58, 'ammo box', 2), - (38, 6, 27, '1m', 3), - (39, 6, 36, 'Stark Industries', 4), - (40, 6, 1, 'Green', 5), - (41, 6, 67, 'supply', 6), - (42, 6, 23, '6', 7), - (43, 7, 56, 'Container', 1), - (44, 7, 58, 'medical box', 2), - (45, 7, 27, '1m', 3), - (46, 7, 36, 'Stark Industries', 4), - (47, 7, 1, 'White', 5), - (48, 7, 67, 'supply', 6), - (49, 7, 23, '7', 7), - (50, 8, 56, 'Ranged Reinforced weapon', 1), - (51, 8, 58, '+1 longbow', 2), - (52, 8, 27, '2m', 3), - (53, 8, 36, 'Stark Industries', 4), - (54, 8, 1, 'Brown', 5), - (55, 8, 67, 'precission', 6), - (56, 8, 23, '8', 7), - (57, 9, 56, 'Melee Reinforced weapon', 1), - (58, 9, 58, 'combat fist', 2), - (59, 9, 27, '15cm', 3), - (60, 9, 36, 'Stark Industries', 4), - (61, 9, 1, 'Silver', 5), - (62, 9, 67, 'Concussion', 6), - (63, 9, 23, '9', 7), - (64, 10, 56, 'Ranged Reinforced weapon', 1), - (65, 10, 58, 'sniper rifle', 2), - (66, 10, 4, '300mm', 3), - (67, 10, 36, 'Stark Industries', 4), - (68, 10, 1, 'Green', 5), - (69, 10, 67, 'precission', 6), - (70, 10, 23, '10', 7), - (71, 11, 56, 'Melee Reinforced weapon', 1), - (72, 11, 58, 'heavy shield', 2), - (73, 11, 4, '1x0.5m', 3), - (74, 11, 36, 'Stark Industries', 4), - (75, 11, 1, 'Black', 5), - (76, 11, 67, 'containtment', 6), - (77, 11, 23, '11', 7), - (78, 12, 56, 'Ranged Reinforced weapon', 1), - (79, 12, 58, 'pistol', 2), - (80, 12, 27, '9mm', 3), - (81, 12, 36, 'Stark Industries', 4), - (82, 12, 1, 'Silver', 5), - (83, 12, 67, 'rapid fire', 6), - (84, 12, 23, '12', 7), - (85, 13, 56, 'Chest', 1), - (86, 13, 58, 'ammo box', 2), - (87, 13, 27, '1m', 3), - (88, 13, 36, 'Stark Industries', 4), - (89, 13, 1, 'Green', 5), - (90, 13, 67, 'supply', 6), - (91, 13, 23, '13', 7), - (92, 14, 56, 'Chest', 1), - (93, 14, 58, 'medical box', 2), - (94, 14, 27, '1m', 3), - (95, 14, 36, 'Stark Industries', 4), - (96, 14, 1, 'White', 5), - (97, 14, 67, 'supply', 6), - (98, 14, 23, '1', 7), - (99, 71, 92, 'Shipping cost', 2); + (1, 1, 56, 'Ranged weapon', 1), + (2, 1, 58, 'longbow', 2), + (3, 1, 27, '2m', 3), + (4, 1, 36, 'Stark Industries', 4), + (5, 1, 1, 'Brown', 5), + (6, 1, 67, '+1 precission', 6), + (7, 1, 23, '1', 7), + (8, 2, 56, 'Melee weapon', 1), + (9, 2, 58, 'combat fist', 2), + (10, 2, 27, '15cm', 3), + (11, 2, 36, 'Stark Industries', 4), + (12, 2, 1, 'Silver', 5), + (13, 2, 67, 'Concussion', 6), + (14, 2, 23, '2', 7), + (15, 3, 56, 'Ranged weapon', 1), + (16, 3, 58, 'sniper rifle', 2), + (17, 3, 4, '300mm', 3), + (18, 3, 36, 'Stark Industries', 4), + (19, 3, 1, 'Green', 5), + (20, 3, 67, 'precission', 6), + (21, 3, 23, '3', 7), + (22, 4, 56, 'Melee weapon', 1), + (23, 4, 58, 'heavy shield', 2), + (24, 4, 4, '1x0.5m', 3), + (25, 4, 36, 'Stark Industries', 4), + (26, 4, 1, 'Black', 5), + (27, 4, 67, 'containtment', 6), + (28, 4, 23, '4', 7), + (29, 5, 56, 'Ranged weapon', 1), + (30, 5, 58, 'pistol', 2), + (31, 5, 27, '9mm', 3), + (32, 5, 36, 'Stark Industries', 4), + (33, 5, 1, 'Silver', 5), + (34, 5, 67, 'rapid fire', 6), + (35, 5, 23, '5', 7), + (36, 6, 56, 'Container', 1), + (37, 6, 58, 'ammo box', 2), + (38, 6, 27, '1m', 3), + (39, 6, 36, 'Stark Industries', 4), + (40, 6, 1, 'Green', 5), + (41, 6, 67, 'supply', 6), + (42, 6, 23, '6', 7), + (43, 7, 56, 'Container', 1), + (44, 7, 58, 'medical box', 2), + (45, 7, 27, '1m', 3), + (46, 7, 36, 'Stark Industries', 4), + (47, 7, 1, 'White', 5), + (48, 7, 67, 'supply', 6), + (49, 7, 23, '7', 7), + (50, 8, 56, 'Ranged Reinforced weapon', 1), + (51, 8, 58, '+1 longbow', 2), + (52, 8, 27, '2m', 3), + (53, 8, 36, 'Stark Industries', 4), + (54, 8, 1, 'Brown', 5), + (55, 8, 67, 'precission', 6), + (56, 8, 23, '8', 7), + (57, 9, 56, 'Melee Reinforced weapon', 1), + (58, 9, 58, 'combat fist', 2), + (59, 9, 27, '15cm', 3), + (60, 9, 36, 'Stark Industries', 4), + (61, 9, 1, 'Silver', 5), + (62, 9, 67, 'Concussion', 6), + (63, 9, 23, '9', 7), + (64, 10, 56, 'Ranged Reinforced weapon', 1), + (65, 10, 58, 'sniper rifle', 2), + (66, 10, 4, '300mm', 3), + (67, 10, 36, 'Stark Industries', 4), + (68, 10, 1, 'Green', 5), + (69, 10, 67, 'precission', 6), + (70, 10, 23, '10', 7), + (71, 11, 56, 'Melee Reinforced weapon', 1), + (72, 11, 58, 'heavy shield', 2), + (73, 11, 4, '1x0.5m', 3), + (74, 11, 36, 'Stark Industries', 4), + (75, 11, 1, 'Black', 5), + (76, 11, 67, 'containtment', 6), + (77, 11, 23, '11', 7), + (78, 12, 56, 'Ranged Reinforced weapon', 1), + (79, 12, 58, 'pistol', 2), + (80, 12, 27, '9mm', 3), + (81, 12, 36, 'Stark Industries', 4), + (82, 12, 1, 'Silver', 5), + (83, 12, 67, 'rapid fire', 6), + (84, 12, 23, '12', 7), + (85, 13, 56, 'Chest', 1), + (86, 13, 58, 'ammo box', 2), + (87, 13, 27, '1m', 3), + (88, 13, 36, 'Stark Industries', 4), + (89, 13, 1, 'Green', 5), + (90, 13, 67, 'supply', 6), + (91, 13, 23, '13', 7), + (92, 14, 56, 'Chest', 1), + (93, 14, 58, 'medical box', 2), + (94, 14, 27, '1m', 3), + (95, 14, 36, 'Stark Industries', 4), + (96, 14, 1, 'White', 5), + (97, 14, 67, 'supply', 6), + (98, 14, 23, '1', 7), + (99, 15, 92, 'Shipping cost', 2), + (100, 16, 92, 'Shipping cost', 2), + (101, 71, 92, 'Shipping cost', 2); INSERT INTO `vn`.`itemTypeTag`(`id`, `itemTypeFk`, `tagFk`, `priority`) VALUES @@ -2063,9 +2071,9 @@ INSERT INTO `vn`.`queuePriority`(`id`, `priority`) (2, 'Normal'), (3, 'Baja'); -INSERT INTO `vn`.`workerTimeControlParams` (`id`, `dayBreak`, `weekBreak`, `weekScope`, `dayWorkMax`, `dayStayMax`, `weekMaxBreak`, `weekMaxScope`, `askInOut`, `mailSuccessFolder`, `mailErrorFolder`) +INSERT INTO `vn`.`workerTimeControlParams` (`id`, `dayBreak`, `weekBreak`, `weekScope`, `dayWorkMax`, `dayStayMax`, `weekMaxBreak`, `weekMaxScope`, `askInOut`) VALUES - (1, 43200, 129600, 734400, 43200, 50400, 259200, 1296000, 36000, 'Leidos.exito', 'Leidos.error'); + (1, 43200, 129600, 734400, 43200, 50400, 259200, 1296000, 36000); INSERT IGNORE INTO `vn`.`greugeConfig` (`id`, `freightPickUpPrice`) VALUES ('1', '11'); diff --git a/modules/account/back/model-config.json b/modules/account/back/model-config.json index d243a2cca..6e3d96025 100644 --- a/modules/account/back/model-config.json +++ b/modules/account/back/model-config.json @@ -34,5 +34,8 @@ }, "UserSync": { "dataSource": "vn" + }, + "Mail": { + "dataSource": "vn" } } \ No newline at end of file diff --git a/back/models/mail.json b/modules/account/back/models/mail.json similarity index 100% rename from back/models/mail.json rename to modules/account/back/models/mail.json diff --git a/modules/ticket/back/methods/state/specs/editableState.spec.js b/modules/ticket/back/methods/state/specs/editableState.spec.js index 03cb7616c..55e60beb8 100644 --- a/modules/ticket/back/methods/state/specs/editableState.spec.js +++ b/modules/ticket/back/methods/state/specs/editableState.spec.js @@ -29,6 +29,6 @@ describe('ticket editableStates()', () => { let result = await app.models.State.editableStates(ctx, filter); let pickerDesignedState = result.some(state => state.code == 'PICKER_DESIGNED'); - expect(pickerDesignedState).toBeFalsy(); + expect(pickerDesignedState).toBeTruthy(); }); }); diff --git a/modules/ticket/back/methods/state/specs/isEditable.spec.js b/modules/ticket/back/methods/state/specs/isEditable.spec.js index 158a010dc..518a543bf 100644 --- a/modules/ticket/back/methods/state/specs/isEditable.spec.js +++ b/modules/ticket/back/methods/state/specs/isEditable.spec.js @@ -30,7 +30,7 @@ describe('state isEditable()', () => { it('should return false if the state is not editable for the given role', async() => { const employeeRole = 1; - const asignedState = 20; + const asignedState = 13; let ctx = {req: {accessToken: {userId: employeeRole}}}; let result = await app.models.State.isEditable(ctx, asignedState); From 5f9ef3aea3a9a43e106e6a3ec692120b2611a40b Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Tue, 29 Sep 2020 07:37:29 +0200 Subject: [PATCH 28/28] export structure db --- db/dump/dumpedFixtures.sql | 24 +- db/dump/fixtures.sql | 16 +- db/dump/structure.sql | 4219 ++++++++++++++++++++---------------- db/export-data.sh | 1 + 4 files changed, 2335 insertions(+), 1925 deletions(-) diff --git a/db/dump/dumpedFixtures.sql b/db/dump/dumpedFixtures.sql index 02b5b6ec2..bdc65c914 100644 --- a/db/dump/dumpedFixtures.sql +++ b/db/dump/dumpedFixtures.sql @@ -36,7 +36,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-24 12:39:30 +-- Dump completed on 2020-09-28 13:28:31 USE `account`; -- MySQL dump 10.13 Distrib 5.7.28, for osx10.15 (x86_64) -- @@ -124,7 +124,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-24 12:39:32 +-- Dump completed on 2020-09-28 13:28:33 USE `salix`; -- MySQL dump 10.13 Distrib 5.7.28, for osx10.15 (x86_64) -- @@ -172,7 +172,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-24 12:39:33 +-- Dump completed on 2020-09-28 13:28:34 USE `vn`; -- MySQL dump 10.13 Distrib 5.7.28, for osx10.15 (x86_64) -- @@ -261,6 +261,16 @@ INSERT INTO `tag` VALUES (1,'color','Color',0,0,'ink',NULL,NULL,'inkFk'),(2,NULL /*!40000 ALTER TABLE `tag` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Dumping data for table `time` +-- + +LOCK TABLES `time` WRITE; +/*!40000 ALTER TABLE `time` DISABLE KEYS */; +INSERT INTO `time` VALUES ('2007-12-31',200801,12,2007,31,1,200712),('2008-01-01',200801,1,2008,1,1,200801),('2008-01-02',200801,1,2008,2,1,200801),('2008-01-03',200801,1,2008,3,1,200801),('2008-01-04',200801,1,2008,4,1,200801),('2008-01-05',200801,1,2008,5,1,200801),('2008-01-06',200802,1,2008,6,2,200801),('2008-01-07',200802,1,2008,7,2,200801),('2008-01-08',200802,1,2008,8,2,200801),('2008-01-09',200802,1,2008,9,2,200801),('2008-01-10',200802,1,2008,10,2,200801),('2008-01-11',200802,1,2008,11,2,200801),('2008-01-12',200802,1,2008,12,2,200801),('2008-01-13',200803,1,2008,13,3,200801),('2008-01-14',200803,1,2008,14,3,200801),('2008-01-15',200803,1,2008,15,3,200801),('2008-01-16',200803,1,2008,16,3,200801),('2008-01-17',200803,1,2008,17,3,200801),('2008-01-18',200803,1,2008,18,3,200801),('2008-01-19',200803,1,2008,19,3,200801),('2008-01-20',200804,1,2008,20,4,200801),('2008-01-21',200804,1,2008,21,4,200801),('2008-01-22',200804,1,2008,22,4,200801),('2008-01-23',200804,1,2008,23,4,200801),('2008-01-24',200804,1,2008,24,4,200801),('2008-01-25',200804,1,2008,25,4,200801),('2008-01-26',200804,1,2008,26,4,200801),('2008-01-27',200805,1,2008,27,5,200801),('2008-01-28',200805,1,2008,28,5,200801),('2008-01-29',200805,1,2008,29,5,200801),('2008-01-30',200805,1,2008,30,5,200801),('2008-01-31',200805,1,2008,31,5,200801),('2008-02-01',200805,2,2008,1,5,200802),('2008-02-02',200805,2,2008,2,5,200802),('2008-02-03',200806,2,2008,3,6,200802),('2008-02-04',200806,2,2008,4,6,200802),('2008-02-05',200806,2,2008,5,6,200802),('2008-02-06',200806,2,2008,6,6,200802),('2008-02-07',200806,2,2008,7,6,200802),('2008-02-08',200806,2,2008,8,6,200802),('2008-02-09',200806,2,2008,9,6,200802),('2008-02-10',200807,2,2008,10,7,200802),('2008-02-11',200807,2,2008,11,7,200802),('2008-02-12',200807,2,2008,12,7,200802),('2008-02-13',200807,2,2008,13,7,200802),('2008-02-14',200807,2,2008,14,7,200802),('2008-02-15',200807,2,2008,15,7,200802),('2008-02-16',200807,2,2008,16,7,200802),('2008-02-17',200808,2,2008,17,8,200802),('2008-02-18',200808,2,2008,18,8,200802),('2008-02-19',200808,2,2008,19,8,200802),('2008-02-20',200808,2,2008,20,8,200802),('2008-02-21',200808,2,2008,21,8,200802),('2008-02-22',200808,2,2008,22,8,200802),('2008-02-23',200808,2,2008,23,8,200802),('2008-02-24',200809,2,2008,24,9,200802),('2008-02-25',200809,2,2008,25,9,200802),('2008-02-26',200809,2,2008,26,9,200802),('2008-02-27',200809,2,2008,27,9,200802),('2008-02-28',200809,2,2008,28,9,200802),('2008-02-29',200809,2,2008,29,9,200802),('2008-03-01',200809,3,2008,1,9,200803),('2008-03-02',200810,3,2008,2,10,200803),('2008-03-03',200810,3,2008,3,10,200803),('2008-03-04',200810,3,2008,4,10,200803),('2008-03-05',200810,3,2008,5,10,200803),('2008-03-06',200810,3,2008,6,10,200803),('2008-03-07',200810,3,2008,7,10,200803),('2008-03-08',200810,3,2008,8,10,200803),('2008-03-09',200811,3,2008,9,11,200803),('2008-03-10',200811,3,2008,10,11,200803),('2008-03-11',200811,3,2008,11,11,200803),('2008-03-12',200811,3,2008,12,11,200803),('2008-03-13',200811,3,2008,13,11,200803),('2008-03-14',200811,3,2008,14,11,200803),('2008-03-15',200811,3,2008,15,11,200803),('2008-03-16',200812,3,2008,16,12,200803),('2008-03-17',200812,3,2008,17,12,200803),('2008-03-18',200812,3,2008,18,12,200803),('2008-03-19',200812,3,2008,19,12,200803),('2008-03-20',200812,3,2008,20,12,200803),('2008-03-21',200812,3,2008,21,12,200803),('2008-03-22',200812,3,2008,22,12,200803),('2008-03-23',200813,3,2008,23,13,200803),('2008-03-24',200813,3,2008,24,13,200803),('2008-03-25',200813,3,2008,25,13,200803),('2008-03-26',200813,3,2008,26,13,200803),('2008-03-27',200813,3,2008,27,13,200803),('2008-03-28',200813,3,2008,28,13,200803),('2008-03-29',200813,3,2008,29,13,200803),('2008-03-30',200814,3,2008,30,14,200803),('2008-03-31',200814,3,2008,31,14,200803),('2008-04-01',200814,4,2008,1,14,200804),('2008-04-02',200814,4,2008,2,14,200804),('2008-04-03',200814,4,2008,3,14,200804),('2008-04-04',200814,4,2008,4,14,200804),('2008-04-05',200814,4,2008,5,14,200804),('2008-04-06',200815,4,2008,6,15,200804),('2008-04-07',200815,4,2008,7,15,200804),('2008-04-08',200815,4,2008,8,15,200804),('2008-04-09',200815,4,2008,9,15,200804),('2008-04-10',200815,4,2008,10,15,200804),('2008-04-11',200815,4,2008,11,15,200804),('2008-04-12',200815,4,2008,12,15,200804),('2008-04-13',200816,4,2008,13,16,200804),('2008-04-14',200816,4,2008,14,16,200804),('2008-04-15',200816,4,2008,15,16,200804),('2008-04-16',200816,4,2008,16,16,200804),('2008-04-17',200816,4,2008,17,16,200804),('2008-04-18',200816,4,2008,18,16,200804),('2008-04-19',200816,4,2008,19,16,200804),('2008-04-20',200817,4,2008,20,17,200804),('2008-04-21',200817,4,2008,21,17,200804),('2008-04-22',200817,4,2008,22,17,200804),('2008-04-23',200817,4,2008,23,17,200804),('2008-04-24',200817,4,2008,24,17,200804),('2008-04-25',200817,4,2008,25,17,200804),('2008-04-26',200817,4,2008,26,17,200804),('2008-04-27',200818,4,2008,27,18,200804),('2008-04-28',200818,4,2008,28,18,200804),('2008-04-29',200818,4,2008,29,18,200804),('2008-04-30',200818,4,2008,30,18,200804),('2008-05-01',200818,5,2008,1,18,200805),('2008-05-02',200818,5,2008,2,18,200805),('2008-05-03',200818,5,2008,3,18,200805),('2008-05-04',200819,5,2008,4,19,200805),('2008-05-05',200819,5,2008,5,19,200805),('2008-05-06',200819,5,2008,6,19,200805),('2008-05-07',200819,5,2008,7,19,200805),('2008-05-08',200819,5,2008,8,19,200805),('2008-05-09',200819,5,2008,9,19,200805),('2008-05-10',200819,5,2008,10,19,200805),('2008-05-11',200820,5,2008,11,20,200805),('2008-05-12',200820,5,2008,12,20,200805),('2008-05-13',200820,5,2008,13,20,200805),('2008-05-14',200820,5,2008,14,20,200805),('2008-05-15',200820,5,2008,15,20,200805),('2008-05-16',200820,5,2008,16,20,200805),('2008-05-17',200820,5,2008,17,20,200805),('2008-05-18',200821,5,2008,18,21,200805),('2008-05-19',200821,5,2008,19,21,200805),('2008-05-20',200821,5,2008,20,21,200805),('2008-05-21',200821,5,2008,21,21,200805),('2008-05-22',200821,5,2008,22,21,200805),('2008-05-23',200821,5,2008,23,21,200805),('2008-05-24',200821,5,2008,24,21,200805),('2008-05-25',200822,5,2008,25,22,200805),('2008-05-26',200822,5,2008,26,22,200805),('2008-05-27',200822,5,2008,27,22,200805),('2008-05-28',200822,5,2008,28,22,200805),('2008-05-29',200822,5,2008,29,22,200805),('2008-05-30',200822,5,2008,30,22,200805),('2008-05-31',200822,5,2008,31,22,200805),('2008-06-01',200823,6,2008,1,23,200806),('2008-06-02',200823,6,2008,2,23,200806),('2008-06-03',200823,6,2008,3,23,200806),('2008-06-04',200823,6,2008,4,23,200806),('2008-06-05',200823,6,2008,5,23,200806),('2008-06-06',200823,6,2008,6,23,200806),('2008-06-07',200823,6,2008,7,23,200806),('2008-06-08',200824,6,2008,8,24,200806),('2008-06-09',200824,6,2008,9,24,200806),('2008-06-10',200824,6,2008,10,24,200806),('2008-06-11',200824,6,2008,11,24,200806),('2008-06-12',200824,6,2008,12,24,200806),('2008-06-13',200824,6,2008,13,24,200806),('2008-06-14',200824,6,2008,14,24,200806),('2008-06-15',200825,6,2008,15,25,200806),('2008-06-16',200825,6,2008,16,25,200806),('2008-06-17',200825,6,2008,17,25,200806),('2008-06-18',200825,6,2008,18,25,200806),('2008-06-19',200825,6,2008,19,25,200806),('2008-06-20',200825,6,2008,20,25,200806),('2008-06-21',200825,6,2008,21,25,200806),('2008-06-22',200826,6,2008,22,26,200806),('2008-06-23',200826,6,2008,23,26,200806),('2008-06-24',200826,6,2008,24,26,200806),('2008-06-25',200826,6,2008,25,26,200806),('2008-06-26',200826,6,2008,26,26,200806),('2008-06-27',200826,6,2008,27,26,200806),('2008-06-28',200826,6,2008,28,26,200806),('2008-06-29',200827,6,2008,29,27,200806),('2008-06-30',200827,6,2008,30,27,200806),('2008-07-01',200827,7,2008,1,27,200807),('2008-07-02',200827,7,2008,2,27,200807),('2008-07-03',200827,7,2008,3,27,200807),('2008-07-04',200827,7,2008,4,27,200807),('2008-07-05',200827,7,2008,5,27,200807),('2008-07-06',200828,7,2008,6,28,200807),('2008-07-07',200828,7,2008,7,28,200807),('2008-07-08',200828,7,2008,8,28,200807),('2008-07-09',200828,7,2008,9,28,200807),('2008-07-10',200828,7,2008,10,28,200807),('2008-07-11',200828,7,2008,11,28,200807),('2008-07-12',200828,7,2008,12,28,200807),('2008-07-13',200829,7,2008,13,29,200807),('2008-07-14',200829,7,2008,14,29,200807),('2008-07-15',200829,7,2008,15,29,200807),('2008-07-16',200829,7,2008,16,29,200807),('2008-07-17',200829,7,2008,17,29,200807),('2008-07-18',200829,7,2008,18,29,200807),('2008-07-19',200829,7,2008,19,29,200807),('2008-07-20',200830,7,2008,20,30,200807),('2008-07-21',200830,7,2008,21,30,200807),('2008-07-22',200830,7,2008,22,30,200807),('2008-07-23',200830,7,2008,23,30,200807),('2008-07-24',200830,7,2008,24,30,200807),('2008-07-25',200830,7,2008,25,30,200807),('2008-07-26',200830,7,2008,26,30,200807),('2008-07-27',200831,7,2008,27,31,200807),('2008-07-28',200831,7,2008,28,31,200807),('2008-07-29',200831,7,2008,29,31,200807),('2008-07-30',200831,7,2008,30,31,200807),('2008-07-31',200831,7,2008,31,31,200807),('2008-08-01',200831,8,2008,1,31,200808),('2008-08-02',200831,8,2008,2,31,200808),('2008-08-03',200832,8,2008,3,32,200808),('2008-08-04',200832,8,2008,4,32,200808),('2008-08-05',200832,8,2008,5,32,200808),('2008-08-06',200832,8,2008,6,32,200808),('2008-08-07',200832,8,2008,7,32,200808),('2008-08-08',200832,8,2008,8,32,200808),('2008-08-09',200832,8,2008,9,32,200808),('2008-08-10',200833,8,2008,10,33,200808),('2008-08-11',200833,8,2008,11,33,200808),('2008-08-12',200833,8,2008,12,33,200808),('2008-08-13',200833,8,2008,13,33,200808),('2008-08-14',200833,8,2008,14,33,200808),('2008-08-15',200833,8,2008,15,33,200808),('2008-08-16',200833,8,2008,16,33,200808),('2008-08-17',200834,8,2008,17,34,200808),('2008-08-18',200834,8,2008,18,34,200808),('2008-08-19',200834,8,2008,19,34,200808),('2008-08-20',200834,8,2008,20,34,200808),('2008-08-21',200834,8,2008,21,34,200808),('2008-08-22',200834,8,2008,22,34,200808),('2008-08-23',200834,8,2008,23,34,200808),('2008-08-24',200835,8,2008,24,35,200808),('2008-08-25',200835,8,2008,25,35,200808),('2008-08-26',200835,8,2008,26,35,200808),('2008-08-27',200835,8,2008,27,35,200808),('2008-08-28',200835,8,2008,28,35,200808),('2008-08-29',200835,8,2008,29,35,200808),('2008-08-30',200835,8,2008,30,35,200808),('2008-08-31',200836,8,2008,31,36,200808),('2008-09-01',200836,9,2008,1,36,200809),('2008-09-02',200836,9,2008,2,36,200809),('2008-09-03',200836,9,2008,3,36,200809),('2008-09-04',200836,9,2008,4,36,200809),('2008-09-05',200836,9,2008,5,36,200809),('2008-09-06',200836,9,2008,6,36,200809),('2008-09-07',200837,9,2008,7,37,200809),('2008-09-08',200837,9,2008,8,37,200809),('2008-09-09',200837,9,2008,9,37,200809),('2008-09-10',200837,9,2008,10,37,200809),('2008-09-11',200837,9,2008,11,37,200809),('2008-09-12',200837,9,2008,12,37,200809),('2008-09-13',200837,9,2008,13,37,200809),('2008-09-14',200838,9,2008,14,38,200809),('2008-09-15',200838,9,2008,15,38,200809),('2008-09-16',200838,9,2008,16,38,200809),('2008-09-17',200838,9,2008,17,38,200809),('2008-09-18',200838,9,2008,18,38,200809),('2008-09-19',200838,9,2008,19,38,200809),('2008-09-20',200838,9,2008,20,38,200809),('2008-09-21',200839,9,2008,21,39,200809),('2008-09-22',200839,9,2008,22,39,200809),('2008-09-23',200839,9,2008,23,39,200809),('2008-09-24',200839,9,2008,24,39,200809),('2008-09-25',200839,9,2008,25,39,200809),('2008-09-26',200839,9,2008,26,39,200809),('2008-09-27',200839,9,2008,27,39,200809),('2008-09-28',200840,9,2008,28,40,200809),('2008-09-29',200840,9,2008,29,40,200809),('2008-09-30',200840,9,2008,30,40,200809),('2008-10-01',200840,10,2008,1,40,200810),('2008-10-02',200840,10,2008,2,40,200810),('2008-10-03',200840,10,2008,3,40,200810),('2008-10-04',200840,10,2008,4,40,200810),('2008-10-05',200841,10,2008,5,41,200810),('2008-10-06',200841,10,2008,6,41,200810),('2008-10-07',200841,10,2008,7,41,200810),('2008-10-08',200841,10,2008,8,41,200810),('2008-10-09',200841,10,2008,9,41,200810),('2008-10-10',200841,10,2008,10,41,200810),('2008-10-11',200841,10,2008,11,41,200810),('2008-10-12',200842,10,2008,12,42,200810),('2008-10-13',200842,10,2008,13,42,200810),('2008-10-14',200842,10,2008,14,42,200810),('2008-10-15',200842,10,2008,15,42,200810),('2008-10-16',200842,10,2008,16,42,200810),('2008-10-17',200842,10,2008,17,42,200810),('2008-10-18',200842,10,2008,18,42,200810),('2008-10-19',200843,10,2008,19,43,200810),('2008-10-20',200843,10,2008,20,43,200810),('2008-10-21',200843,10,2008,21,43,200810),('2008-10-22',200843,10,2008,22,43,200810),('2008-10-23',200843,10,2008,23,43,200810),('2008-10-24',200843,10,2008,24,43,200810),('2008-10-25',200843,10,2008,25,43,200810),('2008-10-26',200844,10,2008,26,44,200810),('2008-10-27',200844,10,2008,27,44,200810),('2008-10-28',200844,10,2008,28,44,200810),('2008-10-29',200844,10,2008,29,44,200810),('2008-10-30',200844,10,2008,30,44,200810),('2008-10-31',200844,10,2008,31,44,200810),('2008-11-01',200844,11,2008,1,44,200811),('2008-11-02',200845,11,2008,2,45,200811),('2008-11-03',200845,11,2008,3,45,200811),('2008-11-04',200845,11,2008,4,45,200811),('2008-11-05',200845,11,2008,5,45,200811),('2008-11-06',200845,11,2008,6,45,200811),('2008-11-07',200845,11,2008,7,45,200811),('2008-11-08',200845,11,2008,8,45,200811),('2008-11-09',200846,11,2008,9,46,200811),('2008-11-10',200846,11,2008,10,46,200811),('2008-11-11',200846,11,2008,11,46,200811),('2008-11-12',200846,11,2008,12,46,200811),('2008-11-13',200846,11,2008,13,46,200811),('2008-11-14',200846,11,2008,14,46,200811),('2008-11-15',200846,11,2008,15,46,200811),('2008-11-16',200847,11,2008,16,47,200811),('2008-11-17',200847,11,2008,17,47,200811),('2008-11-18',200847,11,2008,18,47,200811),('2008-11-19',200847,11,2008,19,47,200811),('2008-11-20',200847,11,2008,20,47,200811),('2008-11-21',200847,11,2008,21,47,200811),('2008-11-22',200847,11,2008,22,47,200811),('2008-11-23',200848,11,2008,23,48,200811),('2008-11-24',200848,11,2008,24,48,200811),('2008-11-25',200848,11,2008,25,48,200811),('2008-11-26',200848,11,2008,26,48,200811),('2008-11-27',200848,11,2008,27,48,200811),('2008-11-28',200848,11,2008,28,48,200811),('2008-11-29',200848,11,2008,29,48,200811),('2008-11-30',200849,11,2008,30,49,200811),('2008-12-01',200849,12,2008,1,49,200812),('2008-12-02',200849,12,2008,2,49,200812),('2008-12-03',200849,12,2008,3,49,200812),('2008-12-04',200849,12,2008,4,49,200812),('2008-12-05',200849,12,2008,5,49,200812),('2008-12-06',200849,12,2008,6,49,200812),('2008-12-07',200850,12,2008,7,50,200812),('2008-12-08',200850,12,2008,8,50,200812),('2008-12-09',200850,12,2008,9,50,200812),('2008-12-10',200850,12,2008,10,50,200812),('2008-12-11',200850,12,2008,11,50,200812),('2008-12-12',200850,12,2008,12,50,200812),('2008-12-13',200850,12,2008,13,50,200812),('2008-12-14',200851,12,2008,14,51,200812),('2008-12-15',200851,12,2008,15,51,200812),('2008-12-16',200851,12,2008,16,51,200812),('2008-12-17',200851,12,2008,17,51,200812),('2008-12-18',200851,12,2008,18,51,200812),('2008-12-19',200851,12,2008,19,51,200812),('2008-12-20',200851,12,2008,20,51,200812),('2008-12-21',200852,12,2008,21,52,200812),('2008-12-22',200852,12,2008,22,52,200812),('2008-12-23',200852,12,2008,23,52,200812),('2008-12-24',200852,12,2008,24,52,200812),('2008-12-25',200852,12,2008,25,52,200812),('2008-12-26',200852,12,2008,26,52,200812),('2008-12-27',200852,12,2008,27,52,200812),('2008-12-28',200853,12,2008,28,53,200812),('2008-12-29',200901,12,2008,29,53,200812),('2008-12-30',200901,12,2008,30,53,200812),('2008-12-31',200901,12,2008,31,53,200812),('2009-01-01',200901,1,2009,1,53,200901),('2009-01-02',200901,1,2009,2,53,200901),('2009-01-03',200901,1,2009,3,53,200901),('2009-01-04',200902,1,2009,4,1,200901),('2009-01-05',200902,1,2009,5,1,200901),('2009-01-06',200902,1,2009,6,1,200901),('2009-01-07',200902,1,2009,7,1,200901),('2009-01-08',200902,1,2009,8,1,200901),('2009-01-09',200902,1,2009,9,1,200901),('2009-01-10',200902,1,2009,10,1,200901),('2009-01-11',200903,1,2009,11,2,200901),('2009-01-12',200903,1,2009,12,2,200901),('2009-01-13',200903,1,2009,13,2,200901),('2009-01-14',200903,1,2009,14,2,200901),('2009-01-15',200903,1,2009,15,2,200901),('2009-01-16',200903,1,2009,16,2,200901),('2009-01-17',200903,1,2009,17,2,200901),('2009-01-18',200904,1,2009,18,3,200901),('2009-01-19',200904,1,2009,19,3,200901),('2009-01-20',200904,1,2009,20,3,200901),('2009-01-21',200904,1,2009,21,3,200901),('2009-01-22',200904,1,2009,22,3,200901),('2009-01-23',200904,1,2009,23,3,200901),('2009-01-24',200904,1,2009,24,3,200901),('2009-01-25',200905,1,2009,25,4,200901),('2009-01-26',200905,1,2009,26,4,200901),('2009-01-27',200905,1,2009,27,4,200901),('2009-01-28',200905,1,2009,28,4,200901),('2009-01-29',200905,1,2009,29,4,200901),('2009-01-30',200905,1,2009,30,4,200901),('2009-01-31',200905,1,2009,31,4,200901),('2009-02-01',200906,2,2009,1,5,200902),('2009-02-02',200906,2,2009,2,5,200902),('2009-02-03',200906,2,2009,3,5,200902),('2009-02-04',200906,2,2009,4,5,200902),('2009-02-05',200906,2,2009,5,5,200902),('2009-02-06',200906,2,2009,6,5,200902),('2009-02-07',200906,2,2009,7,5,200902),('2009-02-08',200907,2,2009,8,6,200902),('2009-02-09',200907,2,2009,9,6,200902),('2009-02-10',200907,2,2009,10,6,200902),('2009-02-11',200907,2,2009,11,6,200902),('2009-02-12',200907,2,2009,12,6,200902),('2009-02-13',200907,2,2009,13,6,200902),('2009-02-14',200907,2,2009,14,6,200902),('2009-02-15',200908,2,2009,15,7,200902),('2009-02-16',200908,2,2009,16,7,200902),('2009-02-17',200908,2,2009,17,7,200902),('2009-02-18',200908,2,2009,18,7,200902),('2009-02-19',200908,2,2009,19,7,200902),('2009-02-20',200908,2,2009,20,7,200902),('2009-02-21',200908,2,2009,21,7,200902),('2009-02-22',200909,2,2009,22,8,200902),('2009-02-23',200909,2,2009,23,8,200902),('2009-02-24',200909,2,2009,24,8,200902),('2009-02-25',200909,2,2009,25,8,200902),('2009-02-26',200909,2,2009,26,8,200902),('2009-02-27',200909,2,2009,27,8,200902),('2009-02-28',200909,2,2009,28,8,200902),('2009-03-01',200910,3,2009,1,9,200903),('2009-03-02',200910,3,2009,2,9,200903),('2009-03-03',200910,3,2009,3,9,200903),('2009-03-04',200910,3,2009,4,9,200903),('2009-03-05',200910,3,2009,5,9,200903),('2009-03-06',200910,3,2009,6,9,200903),('2009-03-07',200910,3,2009,7,9,200903),('2009-03-08',200911,3,2009,8,10,200903),('2009-03-09',200911,3,2009,9,10,200903),('2009-03-10',200911,3,2009,10,10,200903),('2009-03-11',200911,3,2009,11,10,200903),('2009-03-12',200911,3,2009,12,10,200903),('2009-03-13',200911,3,2009,13,10,200903),('2009-03-14',200911,3,2009,14,10,200903),('2009-03-15',200912,3,2009,15,11,200903),('2009-03-16',200912,3,2009,16,11,200903),('2009-03-17',200912,3,2009,17,11,200903),('2009-03-18',200912,3,2009,18,11,200903),('2009-03-19',200912,3,2009,19,11,200903),('2009-03-20',200912,3,2009,20,11,200903),('2009-03-21',200912,3,2009,21,11,200903),('2009-03-22',200913,3,2009,22,12,200903),('2009-03-23',200913,3,2009,23,12,200903),('2009-03-24',200913,3,2009,24,12,200903),('2009-03-25',200913,3,2009,25,12,200903),('2009-03-26',200913,3,2009,26,12,200903),('2009-03-27',200913,3,2009,27,12,200903),('2009-03-28',200913,3,2009,28,12,200903),('2009-03-29',200914,3,2009,29,13,200903),('2009-03-30',200914,3,2009,30,13,200903),('2009-03-31',200914,3,2009,31,13,200903),('2009-04-01',200914,4,2009,1,13,200904),('2009-04-02',200914,4,2009,2,13,200904),('2009-04-03',200914,4,2009,3,13,200904),('2009-04-04',200914,4,2009,4,13,200904),('2009-04-05',200915,4,2009,5,14,200904),('2009-04-06',200915,4,2009,6,14,200904),('2009-04-07',200915,4,2009,7,14,200904),('2009-04-08',200915,4,2009,8,14,200904),('2009-04-09',200915,4,2009,9,14,200904),('2009-04-10',200915,4,2009,10,14,200904),('2009-04-11',200915,4,2009,11,14,200904),('2009-04-12',200916,4,2009,12,15,200904),('2009-04-13',200916,4,2009,13,15,200904),('2009-04-14',200916,4,2009,14,15,200904),('2009-04-15',200916,4,2009,15,15,200904),('2009-04-16',200916,4,2009,16,15,200904),('2009-04-17',200916,4,2009,17,15,200904),('2009-04-18',200916,4,2009,18,15,200904),('2009-04-19',200917,4,2009,19,16,200904),('2009-04-20',200917,4,2009,20,16,200904),('2009-04-21',200917,4,2009,21,16,200904),('2009-04-22',200917,4,2009,22,16,200904),('2009-04-23',200917,4,2009,23,16,200904),('2009-04-24',200917,4,2009,24,16,200904),('2009-04-25',200917,4,2009,25,16,200904),('2009-04-26',200918,4,2009,26,17,200904),('2009-04-27',200918,4,2009,27,17,200904),('2009-04-28',200918,4,2009,28,17,200904),('2009-04-29',200918,4,2009,29,17,200904),('2009-04-30',200918,4,2009,30,17,200904),('2009-05-01',200918,5,2009,1,17,200905),('2009-05-02',200918,5,2009,2,17,200905),('2009-05-03',200919,5,2009,3,18,200905),('2009-05-04',200919,5,2009,4,18,200905),('2009-05-05',200919,5,2009,5,18,200905),('2009-05-06',200919,5,2009,6,18,200905),('2009-05-07',200919,5,2009,7,18,200905),('2009-05-08',200919,5,2009,8,18,200905),('2009-05-09',200919,5,2009,9,18,200905),('2009-05-10',200920,5,2009,10,19,200905),('2009-05-11',200920,5,2009,11,19,200905),('2009-05-12',200920,5,2009,12,19,200905),('2009-05-13',200920,5,2009,13,19,200905),('2009-05-14',200920,5,2009,14,19,200905),('2009-05-15',200920,5,2009,15,19,200905),('2009-05-16',200920,5,2009,16,19,200905),('2009-05-17',200921,5,2009,17,20,200905),('2009-05-18',200921,5,2009,18,20,200905),('2009-05-19',200921,5,2009,19,20,200905),('2009-05-20',200921,5,2009,20,20,200905),('2009-05-21',200921,5,2009,21,20,200905),('2009-05-22',200921,5,2009,22,20,200905),('2009-05-23',200921,5,2009,23,20,200905),('2009-05-24',200922,5,2009,24,21,200905),('2009-05-25',200922,5,2009,25,21,200905),('2009-05-26',200922,5,2009,26,21,200905),('2009-05-27',200922,5,2009,27,21,200905),('2009-05-28',200922,5,2009,28,21,200905),('2009-05-29',200922,5,2009,29,21,200905),('2009-05-30',200922,5,2009,30,21,200905),('2009-05-31',200923,5,2009,31,22,200905),('2009-06-01',200923,6,2009,1,22,200906),('2009-06-02',200923,6,2009,2,22,200906),('2009-06-03',200923,6,2009,3,22,200906),('2009-06-04',200923,6,2009,4,22,200906),('2009-06-05',200923,6,2009,5,22,200906),('2009-06-06',200923,6,2009,6,22,200906),('2009-06-07',200924,6,2009,7,23,200906),('2009-06-08',200924,6,2009,8,23,200906),('2009-06-09',200924,6,2009,9,23,200906),('2009-06-10',200924,6,2009,10,23,200906),('2009-06-11',200924,6,2009,11,23,200906),('2009-06-12',200924,6,2009,12,23,200906),('2009-06-13',200924,6,2009,13,23,200906),('2009-06-14',200925,6,2009,14,24,200906),('2009-06-15',200925,6,2009,15,24,200906),('2009-06-16',200925,6,2009,16,24,200906),('2009-06-17',200925,6,2009,17,24,200906),('2009-06-18',200925,6,2009,18,24,200906),('2009-06-19',200925,6,2009,19,24,200906),('2009-06-20',200925,6,2009,20,24,200906),('2009-06-21',200926,6,2009,21,25,200906),('2009-06-22',200926,6,2009,22,25,200906),('2009-06-23',200926,6,2009,23,25,200906),('2009-06-24',200926,6,2009,24,25,200906),('2009-06-25',200926,6,2009,25,25,200906),('2009-06-26',200926,6,2009,26,25,200906),('2009-06-27',200926,6,2009,27,25,200906),('2009-06-28',200927,6,2009,28,26,200906),('2009-06-29',200927,6,2009,29,26,200906),('2009-06-30',200927,6,2009,30,26,200906),('2009-07-01',200927,7,2009,1,26,200907),('2009-07-02',200927,7,2009,2,26,200907),('2009-07-03',200927,7,2009,3,26,200907),('2009-07-04',200927,7,2009,4,26,200907),('2009-07-05',200928,7,2009,5,27,200907),('2009-07-06',200928,7,2009,6,27,200907),('2009-07-07',200928,7,2009,7,27,200907),('2009-07-08',200928,7,2009,8,27,200907),('2009-07-09',200928,7,2009,9,27,200907),('2009-07-10',200928,7,2009,10,27,200907),('2009-07-11',200928,7,2009,11,27,200907),('2009-07-12',200929,7,2009,12,28,200907),('2009-07-13',200929,7,2009,13,28,200907),('2009-07-14',200929,7,2009,14,28,200907),('2009-07-15',200929,7,2009,15,28,200907),('2009-07-16',200929,7,2009,16,28,200907),('2009-07-17',200929,7,2009,17,28,200907),('2009-07-18',200929,7,2009,18,28,200907),('2009-07-19',200930,7,2009,19,29,200907),('2009-07-20',200930,7,2009,20,29,200907),('2009-07-21',200930,7,2009,21,29,200907),('2009-07-22',200930,7,2009,22,29,200907),('2009-07-23',200930,7,2009,23,29,200907),('2009-07-24',200930,7,2009,24,29,200907),('2009-07-25',200930,7,2009,25,29,200907),('2009-07-26',200931,7,2009,26,30,200907),('2009-07-27',200931,7,2009,27,30,200907),('2009-07-28',200931,7,2009,28,30,200907),('2009-07-29',200931,7,2009,29,30,200907),('2009-07-30',200931,7,2009,30,30,200907),('2009-07-31',200931,7,2009,31,30,200907),('2009-08-01',200931,8,2009,1,30,200908),('2009-08-02',200932,8,2009,2,31,200908),('2009-08-03',200932,8,2009,3,31,200908),('2009-08-04',200932,8,2009,4,31,200908),('2009-08-05',200932,8,2009,5,31,200908),('2009-08-06',200932,8,2009,6,31,200908),('2009-08-07',200932,8,2009,7,31,200908),('2009-08-08',200932,8,2009,8,31,200908),('2009-08-09',200933,8,2009,9,32,200908),('2009-08-10',200933,8,2009,10,32,200908),('2009-08-11',200933,8,2009,11,32,200908),('2009-08-12',200933,8,2009,12,32,200908),('2009-08-13',200933,8,2009,13,32,200908),('2009-08-14',200933,8,2009,14,32,200908),('2009-08-15',200933,8,2009,15,32,200908),('2009-08-16',200934,8,2009,16,33,200908),('2009-08-17',200934,8,2009,17,33,200908),('2009-08-18',200934,8,2009,18,33,200908),('2009-08-19',200934,8,2009,19,33,200908),('2009-08-20',200934,8,2009,20,33,200908),('2009-08-21',200934,8,2009,21,33,200908),('2009-08-22',200934,8,2009,22,33,200908),('2009-08-23',200935,8,2009,23,34,200908),('2009-08-24',200935,8,2009,24,34,200908),('2009-08-25',200935,8,2009,25,34,200908),('2009-08-26',200935,8,2009,26,34,200908),('2009-08-27',200935,8,2009,27,34,200908),('2009-08-28',200935,8,2009,28,34,200908),('2009-08-29',200935,8,2009,29,34,200908),('2009-08-30',200936,8,2009,30,35,200908),('2009-08-31',200936,8,2009,31,35,200908),('2009-09-01',200936,9,2009,1,35,200909),('2009-09-02',200936,9,2009,2,35,200909),('2009-09-03',200936,9,2009,3,35,200909),('2009-09-04',200936,9,2009,4,35,200909),('2009-09-05',200936,9,2009,5,35,200909),('2009-09-06',200937,9,2009,6,36,200909),('2009-09-07',200937,9,2009,7,36,200909),('2009-09-08',200937,9,2009,8,36,200909),('2009-09-09',200937,9,2009,9,36,200909),('2009-09-10',200937,9,2009,10,36,200909),('2009-09-11',200937,9,2009,11,36,200909),('2009-09-12',200937,9,2009,12,36,200909),('2009-09-13',200938,9,2009,13,37,200909),('2009-09-14',200938,9,2009,14,37,200909),('2009-09-15',200938,9,2009,15,37,200909),('2009-09-16',200938,9,2009,16,37,200909),('2009-09-17',200938,9,2009,17,37,200909),('2009-09-18',200938,9,2009,18,37,200909),('2009-09-19',200938,9,2009,19,37,200909),('2009-09-20',200939,9,2009,20,38,200909),('2009-09-21',200939,9,2009,21,38,200909),('2009-09-22',200939,9,2009,22,38,200909),('2009-09-23',200939,9,2009,23,38,200909),('2009-09-24',200939,9,2009,24,38,200909),('2009-09-25',200939,9,2009,25,38,200909),('2009-09-26',200939,9,2009,26,38,200909),('2009-09-27',200940,9,2009,27,39,200909),('2009-09-28',200940,9,2009,28,39,200909),('2009-09-29',200940,9,2009,29,39,200909),('2009-09-30',200940,9,2009,30,39,200909),('2009-10-01',200940,10,2009,1,39,200910),('2009-10-02',200940,10,2009,2,39,200910),('2009-10-03',200940,10,2009,3,39,200910),('2009-10-04',200941,10,2009,4,40,200910),('2009-10-05',200941,10,2009,5,40,200910),('2009-10-06',200941,10,2009,6,40,200910),('2009-10-07',200941,10,2009,7,40,200910),('2009-10-08',200941,10,2009,8,40,200910),('2009-10-09',200941,10,2009,9,40,200910),('2009-10-10',200941,10,2009,10,40,200910),('2009-10-11',200942,10,2009,11,41,200910),('2009-10-12',200942,10,2009,12,41,200910),('2009-10-13',200942,10,2009,13,41,200910),('2009-10-14',200942,10,2009,14,41,200910),('2009-10-15',200942,10,2009,15,41,200910),('2009-10-16',200942,10,2009,16,41,200910),('2009-10-17',200942,10,2009,17,41,200910),('2009-10-18',200943,10,2009,18,42,200910),('2009-10-19',200943,10,2009,19,42,200910),('2009-10-20',200943,10,2009,20,42,200910),('2009-10-21',200943,10,2009,21,42,200910),('2009-10-22',200943,10,2009,22,42,200910),('2009-10-23',200943,10,2009,23,42,200910),('2009-10-24',200943,10,2009,24,42,200910),('2009-10-25',200944,10,2009,25,43,200910),('2009-10-26',200944,10,2009,26,43,200910),('2009-10-27',200944,10,2009,27,43,200910),('2009-10-28',200944,10,2009,28,43,200910),('2009-10-29',200944,10,2009,29,43,200910),('2009-10-30',200944,10,2009,30,43,200910),('2009-10-31',200944,10,2009,31,43,200910),('2009-11-01',200945,11,2009,1,44,200911),('2009-11-02',200945,11,2009,2,44,200911),('2009-11-03',200945,11,2009,3,44,200911),('2009-11-04',200945,11,2009,4,44,200911),('2009-11-05',200945,11,2009,5,44,200911),('2009-11-06',200945,11,2009,6,44,200911),('2009-11-07',200945,11,2009,7,44,200911),('2009-11-08',200946,11,2009,8,45,200911),('2009-11-09',200946,11,2009,9,45,200911),('2009-11-10',200946,11,2009,10,45,200911),('2009-11-11',200946,11,2009,11,45,200911),('2009-11-12',200946,11,2009,12,45,200911),('2009-11-13',200946,11,2009,13,45,200911),('2009-11-14',200946,11,2009,14,45,200911),('2009-11-15',200947,11,2009,15,46,200911),('2009-11-16',200947,11,2009,16,46,200911),('2009-11-17',200947,11,2009,17,46,200911),('2009-11-18',200947,11,2009,18,46,200911),('2009-11-19',200947,11,2009,19,46,200911),('2009-11-20',200947,11,2009,20,46,200911),('2009-11-21',200947,11,2009,21,46,200911),('2009-11-22',200948,11,2009,22,47,200911),('2009-11-23',200948,11,2009,23,47,200911),('2009-11-24',200948,11,2009,24,47,200911),('2009-11-25',200948,11,2009,25,47,200911),('2009-11-26',200948,11,2009,26,47,200911),('2009-11-27',200948,11,2009,27,47,200911),('2009-11-28',200948,11,2009,28,47,200911),('2009-11-29',200949,11,2009,29,48,200911),('2009-11-30',200949,11,2009,30,48,200911),('2009-12-01',200949,12,2009,1,48,200912),('2009-12-02',200949,12,2009,2,48,200912),('2009-12-03',200949,12,2009,3,48,200912),('2009-12-04',200949,12,2009,4,48,200912),('2009-12-05',200949,12,2009,5,48,200912),('2009-12-06',200950,12,2009,6,49,200912),('2009-12-07',200950,12,2009,7,49,200912),('2009-12-08',200950,12,2009,8,49,200912),('2009-12-09',200950,12,2009,9,49,200912),('2009-12-10',200950,12,2009,10,49,200912),('2009-12-11',200950,12,2009,11,49,200912),('2009-12-12',200950,12,2009,12,49,200912),('2009-12-13',200951,12,2009,13,50,200912),('2009-12-14',200951,12,2009,14,50,200912),('2009-12-15',200951,12,2009,15,50,200912),('2009-12-16',200951,12,2009,16,50,200912),('2009-12-17',200951,12,2009,17,50,200912),('2009-12-18',200951,12,2009,18,50,200912),('2009-12-19',200951,12,2009,19,50,200912),('2009-12-20',200952,12,2009,20,51,200912),('2009-12-21',200952,12,2009,21,51,200912),('2009-12-22',200952,12,2009,22,51,200912),('2009-12-23',200952,12,2009,23,51,200912),('2009-12-24',200952,12,2009,24,51,200912),('2009-12-25',200952,12,2009,25,51,200912),('2009-12-26',200952,12,2009,26,51,200912),('2009-12-27',200953,12,2009,27,52,200912),('2009-12-28',200952,12,2009,28,52,200912),('2009-12-29',200952,12,2009,29,52,200912),('2009-12-30',200952,12,2009,30,52,200912),('2009-12-31',200952,12,2009,31,52,200912),('2010-01-01',201001,1,2010,1,52,201001),('2010-01-02',201001,1,2010,2,52,201001),('2010-01-03',201002,1,2010,3,1,201001),('2010-01-04',201001,1,2010,4,1,201001),('2010-01-05',201001,1,2010,5,1,201001),('2010-01-06',201001,1,2010,6,1,201001),('2010-01-07',201001,1,2010,7,1,201001),('2010-01-08',201001,1,2010,8,1,201001),('2010-01-09',201001,1,2010,9,1,201001),('2010-01-10',201002,1,2010,10,2,201001),('2010-01-11',201002,1,2010,11,2,201001),('2010-01-12',201002,1,2010,12,2,201001),('2010-01-13',201002,1,2010,13,2,201001),('2010-01-14',201002,1,2010,14,2,201001),('2010-01-15',201002,1,2010,15,2,201001),('2010-01-16',201002,1,2010,16,2,201001),('2010-01-17',201003,1,2010,17,3,201001),('2010-01-18',201003,1,2010,18,3,201001),('2010-01-19',201003,1,2010,19,3,201001),('2010-01-20',201003,1,2010,20,3,201001),('2010-01-21',201003,1,2010,21,3,201001),('2010-01-22',201003,1,2010,22,3,201001),('2010-01-23',201003,1,2010,23,3,201001),('2010-01-24',201004,1,2010,24,4,201001),('2010-01-25',201004,1,2010,25,4,201001),('2010-01-26',201004,1,2010,26,4,201001),('2010-01-27',201004,1,2010,27,4,201001),('2010-01-28',201004,1,2010,28,4,201001),('2010-01-29',201004,1,2010,29,4,201001),('2010-01-30',201004,1,2010,30,4,201001),('2010-01-31',201005,1,2010,31,5,201001),('2010-02-01',201005,2,2010,1,5,201002),('2010-02-02',201005,2,2010,2,5,201002),('2010-02-03',201005,2,2010,3,5,201002),('2010-02-04',201005,2,2010,4,5,201002),('2010-02-05',201005,2,2010,5,5,201002),('2010-02-06',201005,2,2010,6,5,201002),('2010-02-07',201006,2,2010,7,6,201002),('2010-02-08',201006,2,2010,8,6,201002),('2010-02-09',201006,2,2010,9,6,201002),('2010-02-10',201006,2,2010,10,6,201002),('2010-02-11',201006,2,2010,11,6,201002),('2010-02-12',201006,2,2010,12,6,201002),('2010-02-13',201006,2,2010,13,6,201002),('2010-02-14',201007,2,2010,14,7,201002),('2010-02-15',201007,2,2010,15,7,201002),('2010-02-16',201007,2,2010,16,7,201002),('2010-02-17',201007,2,2010,17,7,201002),('2010-02-18',201007,2,2010,18,7,201002),('2010-02-19',201007,2,2010,19,7,201002),('2010-02-20',201007,2,2010,20,7,201002),('2010-02-21',201008,2,2010,21,8,201002),('2010-02-22',201008,2,2010,22,8,201002),('2010-02-23',201008,2,2010,23,8,201002),('2010-02-24',201008,2,2010,24,8,201002),('2010-02-25',201008,2,2010,25,8,201002),('2010-02-26',201008,2,2010,26,8,201002),('2010-02-27',201008,2,2010,27,8,201002),('2010-02-28',201009,2,2010,28,9,201002),('2010-03-01',201009,3,2010,1,9,201003),('2010-03-02',201009,3,2010,2,9,201003),('2010-03-03',201009,3,2010,3,9,201003),('2010-03-04',201009,3,2010,4,9,201003),('2010-03-05',201009,3,2010,5,9,201003),('2010-03-06',201009,3,2010,6,9,201003),('2010-03-07',201010,3,2010,7,10,201003),('2010-03-08',201010,3,2010,8,10,201003),('2010-03-09',201010,3,2010,9,10,201003),('2010-03-10',201010,3,2010,10,10,201003),('2010-03-11',201010,3,2010,11,10,201003),('2010-03-12',201010,3,2010,12,10,201003),('2010-03-13',201010,3,2010,13,10,201003),('2010-03-14',201011,3,2010,14,11,201003),('2010-03-15',201011,3,2010,15,11,201003),('2010-03-16',201011,3,2010,16,11,201003),('2010-03-17',201011,3,2010,17,11,201003),('2010-03-18',201011,3,2010,18,11,201003),('2010-03-19',201011,3,2010,19,11,201003),('2010-03-20',201011,3,2010,20,11,201003),('2010-03-21',201012,3,2010,21,12,201003),('2010-03-22',201012,3,2010,22,12,201003),('2010-03-23',201012,3,2010,23,12,201003),('2010-03-24',201012,3,2010,24,12,201003),('2010-03-25',201012,3,2010,25,12,201003),('2010-03-26',201012,3,2010,26,12,201003),('2010-03-27',201012,3,2010,27,12,201003),('2010-03-28',201013,3,2010,28,13,201003),('2010-03-29',201013,3,2010,29,13,201003),('2010-03-30',201013,3,2010,30,13,201003),('2010-03-31',201013,3,2010,31,13,201003),('2010-04-01',201013,4,2010,1,13,201004),('2010-04-02',201013,4,2010,2,13,201004),('2010-04-03',201013,4,2010,3,13,201004),('2010-04-04',201014,4,2010,4,14,201004),('2010-04-05',201014,4,2010,5,14,201004),('2010-04-06',201014,4,2010,6,14,201004),('2010-04-07',201014,4,2010,7,14,201004),('2010-04-08',201014,4,2010,8,14,201004),('2010-04-09',201014,4,2010,9,14,201004),('2010-04-10',201014,4,2010,10,14,201004),('2010-04-11',201015,4,2010,11,15,201004),('2010-04-12',201015,4,2010,12,15,201004),('2010-04-13',201015,4,2010,13,15,201004),('2010-04-14',201015,4,2010,14,15,201004),('2010-04-15',201015,4,2010,15,15,201004),('2010-04-16',201015,4,2010,16,15,201004),('2010-04-17',201015,4,2010,17,15,201004),('2010-04-18',201016,4,2010,18,16,201004),('2010-04-19',201016,4,2010,19,16,201004),('2010-04-20',201016,4,2010,20,16,201004),('2010-04-21',201016,4,2010,21,16,201004),('2010-04-22',201016,4,2010,22,16,201004),('2010-04-23',201016,4,2010,23,16,201004),('2010-04-24',201016,4,2010,24,16,201004),('2010-04-25',201017,4,2010,25,17,201004),('2010-04-26',201017,4,2010,26,17,201004),('2010-04-27',201017,4,2010,27,17,201004),('2010-04-28',201017,4,2010,28,17,201004),('2010-04-29',201017,4,2010,29,17,201004),('2010-04-30',201017,4,2010,30,17,201004),('2010-05-01',201017,5,2010,1,17,201005),('2010-05-02',201018,5,2010,2,18,201005),('2010-05-03',201018,5,2010,3,18,201005),('2010-05-04',201018,5,2010,4,18,201005),('2010-05-05',201018,5,2010,5,18,201005),('2010-05-06',201018,5,2010,6,18,201005),('2010-05-07',201018,5,2010,7,18,201005),('2010-05-08',201018,5,2010,8,18,201005),('2010-05-09',201019,5,2010,9,19,201005),('2010-05-10',201019,5,2010,10,19,201005),('2010-05-11',201019,5,2010,11,19,201005),('2010-05-12',201019,5,2010,12,19,201005),('2010-05-13',201019,5,2010,13,19,201005),('2010-05-14',201019,5,2010,14,19,201005),('2010-05-15',201019,5,2010,15,19,201005),('2010-05-16',201020,5,2010,16,20,201005),('2010-05-17',201020,5,2010,17,20,201005),('2010-05-18',201020,5,2010,18,20,201005),('2010-05-19',201020,5,2010,19,20,201005),('2010-05-20',201020,5,2010,20,20,201005),('2010-05-21',201020,5,2010,21,20,201005),('2010-05-22',201020,5,2010,22,20,201005),('2010-05-23',201021,5,2010,23,21,201005),('2010-05-24',201021,5,2010,24,21,201005),('2010-05-25',201021,5,2010,25,21,201005),('2010-05-26',201021,5,2010,26,21,201005),('2010-05-27',201021,5,2010,27,21,201005),('2010-05-28',201021,5,2010,28,21,201005),('2010-05-29',201021,5,2010,29,21,201005),('2010-05-30',201022,5,2010,30,22,201005),('2010-05-31',201022,5,2010,31,22,201005),('2010-06-01',201022,6,2010,1,22,201006),('2010-06-02',201022,6,2010,2,22,201006),('2010-06-03',201022,6,2010,3,22,201006),('2010-06-04',201022,6,2010,4,22,201006),('2010-06-05',201022,6,2010,5,22,201006),('2010-06-06',201023,6,2010,6,23,201006),('2010-06-07',201023,6,2010,7,23,201006),('2010-06-08',201023,6,2010,8,23,201006),('2010-06-09',201023,6,2010,9,23,201006),('2010-06-10',201023,6,2010,10,23,201006),('2010-06-11',201023,6,2010,11,23,201006),('2010-06-12',201023,6,2010,12,23,201006),('2010-06-13',201024,6,2010,13,24,201006),('2010-06-14',201024,6,2010,14,24,201006),('2010-06-15',201024,6,2010,15,24,201006),('2010-06-16',201024,6,2010,16,24,201006),('2010-06-17',201024,6,2010,17,24,201006),('2010-06-18',201024,6,2010,18,24,201006),('2010-06-19',201024,6,2010,19,24,201006),('2010-06-20',201025,6,2010,20,25,201006),('2010-06-21',201025,6,2010,21,25,201006),('2010-06-22',201025,6,2010,22,25,201006),('2010-06-23',201025,6,2010,23,25,201006),('2010-06-24',201025,6,2010,24,25,201006),('2010-06-25',201025,6,2010,25,25,201006),('2010-06-26',201025,6,2010,26,25,201006),('2010-06-27',201026,6,2010,27,26,201006),('2010-06-28',201026,6,2010,28,26,201006),('2010-06-29',201026,6,2010,29,26,201006),('2010-06-30',201026,6,2010,30,26,201006),('2010-07-01',201026,7,2010,1,26,201007),('2010-07-02',201026,7,2010,2,26,201007),('2010-07-03',201026,7,2010,3,26,201007),('2010-07-04',201027,7,2010,4,27,201007),('2010-07-05',201027,7,2010,5,27,201007),('2010-07-06',201027,7,2010,6,27,201007),('2010-07-07',201027,7,2010,7,27,201007),('2010-07-08',201027,7,2010,8,27,201007),('2010-07-09',201027,7,2010,9,27,201007),('2010-07-10',201027,7,2010,10,27,201007),('2010-07-11',201028,7,2010,11,28,201007),('2010-07-12',201028,7,2010,12,28,201007),('2010-07-13',201028,7,2010,13,28,201007),('2010-07-14',201028,7,2010,14,28,201007),('2010-07-15',201028,7,2010,15,28,201007),('2010-07-16',201028,7,2010,16,28,201007),('2010-07-17',201028,7,2010,17,28,201007),('2010-07-18',201029,7,2010,18,29,201007),('2010-07-19',201029,7,2010,19,29,201007),('2010-07-20',201029,7,2010,20,29,201007),('2010-07-21',201029,7,2010,21,29,201007),('2010-07-22',201029,7,2010,22,29,201007),('2010-07-23',201029,7,2010,23,29,201007),('2010-07-24',201029,7,2010,24,29,201007),('2010-07-25',201030,7,2010,25,30,201007),('2010-07-26',201030,7,2010,26,30,201007),('2010-07-27',201030,7,2010,27,30,201007),('2010-07-28',201030,7,2010,28,30,201007),('2010-07-29',201030,7,2010,29,30,201007),('2010-07-30',201030,7,2010,30,30,201007),('2010-07-31',201030,7,2010,31,30,201007),('2010-08-01',201031,8,2010,1,31,201008),('2010-08-02',201031,8,2010,2,31,201008),('2010-08-03',201031,8,2010,3,31,201008),('2010-08-04',201031,8,2010,4,31,201008),('2010-08-05',201031,8,2010,5,31,201008),('2010-08-06',201031,8,2010,6,31,201008),('2010-08-07',201031,8,2010,7,31,201008),('2010-08-08',201032,8,2010,8,32,201008),('2010-08-09',201032,8,2010,9,32,201008),('2010-08-10',201032,8,2010,10,32,201008),('2010-08-11',201032,8,2010,11,32,201008),('2010-08-12',201032,8,2010,12,32,201008),('2010-08-13',201032,8,2010,13,32,201008),('2010-08-14',201032,8,2010,14,32,201008),('2010-08-15',201033,8,2010,15,33,201008),('2010-08-16',201033,8,2010,16,33,201008),('2010-08-17',201033,8,2010,17,33,201008),('2010-08-18',201033,8,2010,18,33,201008),('2010-08-19',201033,8,2010,19,33,201008),('2010-08-20',201033,8,2010,20,33,201008),('2010-08-21',201033,8,2010,21,33,201008),('2010-08-22',201034,8,2010,22,34,201008),('2010-08-23',201034,8,2010,23,34,201008),('2010-08-24',201034,8,2010,24,34,201008),('2010-08-25',201034,8,2010,25,34,201008),('2010-08-26',201034,8,2010,26,34,201008),('2010-08-27',201034,8,2010,27,34,201008),('2010-08-28',201034,8,2010,28,34,201008),('2010-08-29',201035,8,2010,29,35,201008),('2010-08-30',201035,8,2010,30,35,201008),('2010-08-31',201035,8,2010,31,35,201008),('2010-09-01',201035,9,2010,1,35,201009),('2010-09-02',201035,9,2010,2,35,201009),('2010-09-03',201035,9,2010,3,35,201009),('2010-09-04',201035,9,2010,4,35,201009),('2010-09-05',201036,9,2010,5,36,201009),('2010-09-06',201036,9,2010,6,36,201009),('2010-09-07',201036,9,2010,7,36,201009),('2010-09-08',201036,9,2010,8,36,201009),('2010-09-09',201036,9,2010,9,36,201009),('2010-09-10',201036,9,2010,10,36,201009),('2010-09-11',201036,9,2010,11,36,201009),('2010-09-12',201037,9,2010,12,37,201009),('2010-09-13',201037,9,2010,13,37,201009),('2010-09-14',201037,9,2010,14,37,201009),('2010-09-15',201037,9,2010,15,37,201009),('2010-09-16',201037,9,2010,16,37,201009),('2010-09-17',201037,9,2010,17,37,201009),('2010-09-18',201037,9,2010,18,37,201009),('2010-09-19',201038,9,2010,19,38,201009),('2010-09-20',201038,9,2010,20,38,201009),('2010-09-21',201038,9,2010,21,38,201009),('2010-09-22',201038,9,2010,22,38,201009),('2010-09-23',201038,9,2010,23,38,201009),('2010-09-24',201038,9,2010,24,38,201009),('2010-09-25',201038,9,2010,25,38,201009),('2010-09-26',201039,9,2010,26,39,201009),('2010-09-27',201039,9,2010,27,39,201009),('2010-09-28',201039,9,2010,28,39,201009),('2010-09-29',201039,9,2010,29,39,201009),('2010-09-30',201039,9,2010,30,39,201009),('2010-10-01',201039,10,2010,1,39,201010),('2010-10-02',201039,10,2010,2,39,201010),('2010-10-03',201040,10,2010,3,40,201010),('2010-10-04',201040,10,2010,4,40,201010),('2010-10-05',201040,10,2010,5,40,201010),('2010-10-06',201040,10,2010,6,40,201010),('2010-10-07',201040,10,2010,7,40,201010),('2010-10-08',201040,10,2010,8,40,201010),('2010-10-09',201040,10,2010,9,40,201010),('2010-10-10',201041,10,2010,10,41,201010),('2010-10-11',201041,10,2010,11,41,201010),('2010-10-12',201041,10,2010,12,41,201010),('2010-10-13',201041,10,2010,13,41,201010),('2010-10-14',201041,10,2010,14,41,201010),('2010-10-15',201041,10,2010,15,41,201010),('2010-10-16',201041,10,2010,16,41,201010),('2010-10-17',201042,10,2010,17,42,201010),('2010-10-18',201042,10,2010,18,42,201010),('2010-10-19',201042,10,2010,19,42,201010),('2010-10-20',201042,10,2010,20,42,201010),('2010-10-21',201042,10,2010,21,42,201010),('2010-10-22',201042,10,2010,22,42,201010),('2010-10-23',201042,10,2010,23,42,201010),('2010-10-24',201043,10,2010,24,43,201010),('2010-10-25',201043,10,2010,25,43,201010),('2010-10-26',201043,10,2010,26,43,201010),('2010-10-27',201043,10,2010,27,43,201010),('2010-10-28',201043,10,2010,28,43,201010),('2010-10-29',201043,10,2010,29,43,201010),('2010-10-30',201043,10,2010,30,43,201010),('2010-10-31',201044,10,2010,31,44,201010),('2010-11-01',201044,11,2010,1,44,201011),('2010-11-02',201044,11,2010,2,44,201011),('2010-11-03',201044,11,2010,3,44,201011),('2010-11-04',201044,11,2010,4,44,201011),('2010-11-05',201044,11,2010,5,44,201011),('2010-11-06',201044,11,2010,6,44,201011),('2010-11-07',201045,11,2010,7,45,201011),('2010-11-08',201045,11,2010,8,45,201011),('2010-11-09',201045,11,2010,9,45,201011),('2010-11-10',201045,11,2010,10,45,201011),('2010-11-11',201045,11,2010,11,45,201011),('2010-11-12',201045,11,2010,12,45,201011),('2010-11-13',201045,11,2010,13,45,201011),('2010-11-14',201046,11,2010,14,46,201011),('2010-11-15',201046,11,2010,15,46,201011),('2010-11-16',201046,11,2010,16,46,201011),('2010-11-17',201046,11,2010,17,46,201011),('2010-11-18',201046,11,2010,18,46,201011),('2010-11-19',201046,11,2010,19,46,201011),('2010-11-20',201046,11,2010,20,46,201011),('2010-11-21',201047,11,2010,21,47,201011),('2010-11-22',201047,11,2010,22,47,201011),('2010-11-23',201047,11,2010,23,47,201011),('2010-11-24',201047,11,2010,24,47,201011),('2010-11-25',201047,11,2010,25,47,201011),('2010-11-26',201047,11,2010,26,47,201011),('2010-11-27',201047,11,2010,27,47,201011),('2010-11-28',201048,11,2010,28,48,201011),('2010-11-29',201048,11,2010,29,48,201011),('2010-11-30',201048,11,2010,30,48,201011),('2010-12-01',201048,12,2010,1,48,201012),('2010-12-02',201048,12,2010,2,48,201012),('2010-12-03',201048,12,2010,3,48,201012),('2010-12-04',201048,12,2010,4,48,201012),('2010-12-05',201049,12,2010,5,49,201012),('2010-12-06',201049,12,2010,6,49,201012),('2010-12-07',201049,12,2010,7,49,201012),('2010-12-08',201049,12,2010,8,49,201012),('2010-12-09',201049,12,2010,9,49,201012),('2010-12-10',201049,12,2010,10,49,201012),('2010-12-11',201049,12,2010,11,49,201012),('2010-12-12',201050,12,2010,12,50,201012),('2010-12-13',201050,12,2010,13,50,201012),('2010-12-14',201050,12,2010,14,50,201012),('2010-12-15',201050,12,2010,15,50,201012),('2010-12-16',201050,12,2010,16,50,201012),('2010-12-17',201050,12,2010,17,50,201012),('2010-12-18',201050,12,2010,18,50,201012),('2010-12-19',201051,12,2010,19,51,201012),('2010-12-20',201051,12,2010,20,51,201012),('2010-12-21',201051,12,2010,21,51,201012),('2010-12-22',201051,12,2010,22,51,201012),('2010-12-23',201051,12,2010,23,51,201012),('2010-12-24',201051,12,2010,24,51,201012),('2010-12-25',201051,12,2010,25,51,201012),('2010-12-26',201052,12,2010,26,52,201012),('2010-12-27',201052,12,2010,27,52,201012),('2010-12-28',201052,12,2010,28,52,201012),('2010-12-29',201052,12,2010,29,52,201012),('2010-12-30',201052,12,2010,30,52,201012),('2010-12-31',201052,12,2010,31,52,201012),('2011-01-01',201052,1,2011,1,52,201101),('2011-01-02',201053,1,2011,2,1,201101),('2011-01-03',201101,1,2011,3,1,201101),('2011-01-04',201101,1,2011,4,1,201101),('2011-01-05',201101,1,2011,5,1,201101),('2011-01-06',201101,1,2011,6,1,201101),('2011-01-07',201101,1,2011,7,1,201101),('2011-01-08',201101,1,2011,8,1,201101),('2011-01-09',201102,1,2011,9,2,201101),('2011-01-10',201102,1,2011,10,2,201101),('2011-01-11',201102,1,2011,11,2,201101),('2011-01-12',201102,1,2011,12,2,201101),('2011-01-13',201102,1,2011,13,2,201101),('2011-01-14',201102,1,2011,14,2,201101),('2011-01-15',201102,1,2011,15,2,201101),('2011-01-16',201103,1,2011,16,3,201101),('2011-01-17',201103,1,2011,17,3,201101),('2011-01-18',201103,1,2011,18,3,201101),('2011-01-19',201103,1,2011,19,3,201101),('2011-01-20',201103,1,2011,20,3,201101),('2011-01-21',201103,1,2011,21,3,201101),('2011-01-22',201103,1,2011,22,3,201101),('2011-01-23',201104,1,2011,23,4,201101),('2011-01-24',201104,1,2011,24,4,201101),('2011-01-25',201104,1,2011,25,4,201101),('2011-01-26',201104,1,2011,26,4,201101),('2011-01-27',201104,1,2011,27,4,201101),('2011-01-28',201104,1,2011,28,4,201101),('2011-01-29',201104,1,2011,29,4,201101),('2011-01-30',201105,1,2011,30,5,201101),('2011-01-31',201105,1,2011,31,5,201101),('2011-02-01',201105,2,2011,1,5,201102),('2011-02-02',201105,2,2011,2,5,201102),('2011-02-03',201105,2,2011,3,5,201102),('2011-02-04',201105,2,2011,4,5,201102),('2011-02-05',201105,2,2011,5,5,201102),('2011-02-06',201106,2,2011,6,6,201102),('2011-02-07',201106,2,2011,7,6,201102),('2011-02-08',201106,2,2011,8,6,201102),('2011-02-09',201106,2,2011,9,6,201102),('2011-02-10',201106,2,2011,10,6,201102),('2011-02-11',201106,2,2011,11,6,201102),('2011-02-12',201106,2,2011,12,6,201102),('2011-02-13',201107,2,2011,13,7,201102),('2011-02-14',201107,2,2011,14,7,201102),('2011-02-15',201107,2,2011,15,7,201102),('2011-02-16',201107,2,2011,16,7,201102),('2011-02-17',201107,2,2011,17,7,201102),('2011-02-18',201107,2,2011,18,7,201102),('2011-02-19',201107,2,2011,19,7,201102),('2011-02-20',201108,2,2011,20,8,201102),('2011-02-21',201108,2,2011,21,8,201102),('2011-02-22',201108,2,2011,22,8,201102),('2011-02-23',201108,2,2011,23,8,201102),('2011-02-24',201108,2,2011,24,8,201102),('2011-02-25',201108,2,2011,25,8,201102),('2011-02-26',201108,2,2011,26,8,201102),('2011-02-27',201109,2,2011,27,9,201102),('2011-02-28',201109,2,2011,28,9,201102),('2011-03-01',201109,3,2011,1,9,201103),('2011-03-02',201109,3,2011,2,9,201103),('2011-03-03',201109,3,2011,3,9,201103),('2011-03-04',201109,3,2011,4,9,201103),('2011-03-05',201109,3,2011,5,9,201103),('2011-03-06',201110,3,2011,6,10,201103),('2011-03-07',201110,3,2011,7,10,201103),('2011-03-08',201110,3,2011,8,10,201103),('2011-03-09',201110,3,2011,9,10,201103),('2011-03-10',201110,3,2011,10,10,201103),('2011-03-11',201110,3,2011,11,10,201103),('2011-03-12',201110,3,2011,12,10,201103),('2011-03-13',201111,3,2011,13,11,201103),('2011-03-14',201111,3,2011,14,11,201103),('2011-03-15',201111,3,2011,15,11,201103),('2011-03-16',201111,3,2011,16,11,201103),('2011-03-17',201111,3,2011,17,11,201103),('2011-03-18',201111,3,2011,18,11,201103),('2011-03-19',201111,3,2011,19,11,201103),('2011-03-20',201112,3,2011,20,12,201103),('2011-03-21',201112,3,2011,21,12,201103),('2011-03-22',201112,3,2011,22,12,201103),('2011-03-23',201112,3,2011,23,12,201103),('2011-03-24',201112,3,2011,24,12,201103),('2011-03-25',201112,3,2011,25,12,201103),('2011-03-26',201112,3,2011,26,12,201103),('2011-03-27',201113,3,2011,27,13,201103),('2011-03-28',201113,3,2011,28,13,201103),('2011-03-29',201113,3,2011,29,13,201103),('2011-03-30',201113,3,2011,30,13,201103),('2011-03-31',201113,3,2011,31,13,201103),('2011-04-01',201113,4,2011,1,13,201104),('2011-04-02',201113,4,2011,2,13,201104),('2011-04-03',201114,4,2011,3,14,201104),('2011-04-04',201114,4,2011,4,14,201104),('2011-04-05',201114,4,2011,5,14,201104),('2011-04-06',201114,4,2011,6,14,201104),('2011-04-07',201114,4,2011,7,14,201104),('2011-04-08',201114,4,2011,8,14,201104),('2011-04-09',201114,4,2011,9,14,201104),('2011-04-10',201115,4,2011,10,15,201104),('2011-04-11',201115,4,2011,11,15,201104),('2011-04-12',201115,4,2011,12,15,201104),('2011-04-13',201115,4,2011,13,15,201104),('2011-04-14',201115,4,2011,14,15,201104),('2011-04-15',201115,4,2011,15,15,201104),('2011-04-16',201115,4,2011,16,15,201104),('2011-04-17',201116,4,2011,17,16,201104),('2011-04-18',201116,4,2011,18,16,201104),('2011-04-19',201116,4,2011,19,16,201104),('2011-04-20',201116,4,2011,20,16,201104),('2011-04-21',201116,4,2011,21,16,201104),('2011-04-22',201116,4,2011,22,16,201104),('2011-04-23',201116,4,2011,23,16,201104),('2011-04-24',201117,4,2011,24,17,201104),('2011-04-25',201117,4,2011,25,17,201104),('2011-04-26',201117,4,2011,26,17,201104),('2011-04-27',201117,4,2011,27,17,201104),('2011-04-28',201117,4,2011,28,17,201104),('2011-04-29',201117,4,2011,29,17,201104),('2011-04-30',201117,4,2011,30,17,201104),('2011-05-01',201118,5,2011,1,18,201105),('2011-05-02',201118,5,2011,2,18,201105),('2011-05-03',201118,5,2011,3,18,201105),('2011-05-04',201118,5,2011,4,18,201105),('2011-05-05',201118,5,2011,5,18,201105),('2011-05-06',201118,5,2011,6,18,201105),('2011-05-07',201118,5,2011,7,18,201105),('2011-05-08',201119,5,2011,8,19,201105),('2011-05-09',201119,5,2011,9,19,201105),('2011-05-10',201119,5,2011,10,19,201105),('2011-05-11',201119,5,2011,11,19,201105),('2011-05-12',201119,5,2011,12,19,201105),('2011-05-13',201119,5,2011,13,19,201105),('2011-05-14',201119,5,2011,14,19,201105),('2011-05-15',201120,5,2011,15,20,201105),('2011-05-16',201120,5,2011,16,20,201105),('2011-05-17',201120,5,2011,17,20,201105),('2011-05-18',201120,5,2011,18,20,201105),('2011-05-19',201120,5,2011,19,20,201105),('2011-05-20',201120,5,2011,20,20,201105),('2011-05-21',201120,5,2011,21,20,201105),('2011-05-22',201121,5,2011,22,21,201105),('2011-05-23',201121,5,2011,23,21,201105),('2011-05-24',201121,5,2011,24,21,201105),('2011-05-25',201121,5,2011,25,21,201105),('2011-05-26',201121,5,2011,26,21,201105),('2011-05-27',201121,5,2011,27,21,201105),('2011-05-28',201121,5,2011,28,21,201105),('2011-05-29',201122,5,2011,29,22,201105),('2011-05-30',201122,5,2011,30,22,201105),('2011-05-31',201122,5,2011,31,22,201105),('2011-06-01',201122,6,2011,1,22,201106),('2011-06-02',201122,6,2011,2,22,201106),('2011-06-03',201122,6,2011,3,22,201106),('2011-06-04',201122,6,2011,4,22,201106),('2011-06-05',201123,6,2011,5,23,201106),('2011-06-06',201123,6,2011,6,23,201106),('2011-06-07',201123,6,2011,7,23,201106),('2011-06-08',201123,6,2011,8,23,201106),('2011-06-09',201123,6,2011,9,23,201106),('2011-06-10',201123,6,2011,10,23,201106),('2011-06-11',201123,6,2011,11,23,201106),('2011-06-12',201124,6,2011,12,24,201106),('2011-06-13',201124,6,2011,13,24,201106),('2011-06-14',201124,6,2011,14,24,201106),('2011-06-15',201124,6,2011,15,24,201106),('2011-06-16',201124,6,2011,16,24,201106),('2011-06-17',201124,6,2011,17,24,201106),('2011-06-18',201124,6,2011,18,24,201106),('2011-06-19',201125,6,2011,19,25,201106),('2011-06-20',201125,6,2011,20,25,201106),('2011-06-21',201125,6,2011,21,25,201106),('2011-06-22',201125,6,2011,22,25,201106),('2011-06-23',201125,6,2011,23,25,201106),('2011-06-24',201125,6,2011,24,25,201106),('2011-06-25',201125,6,2011,25,25,201106),('2011-06-26',201126,6,2011,26,26,201106),('2011-06-27',201126,6,2011,27,26,201106),('2011-06-28',201126,6,2011,28,26,201106),('2011-06-29',201126,6,2011,29,26,201106),('2011-06-30',201126,6,2011,30,26,201106),('2011-07-01',201126,7,2011,1,26,201107),('2011-07-02',201126,7,2011,2,26,201107),('2011-07-03',201127,7,2011,3,27,201107),('2011-07-04',201127,7,2011,4,27,201107),('2011-07-05',201127,7,2011,5,27,201107),('2011-07-06',201127,7,2011,6,27,201107),('2011-07-07',201127,7,2011,7,27,201107),('2011-07-08',201127,7,2011,8,27,201107),('2011-07-09',201127,7,2011,9,27,201107),('2011-07-10',201128,7,2011,10,28,201107),('2011-07-11',201128,7,2011,11,28,201107),('2011-07-12',201128,7,2011,12,28,201107),('2011-07-13',201128,7,2011,13,28,201107),('2011-07-14',201128,7,2011,14,28,201107),('2011-07-15',201128,7,2011,15,28,201107),('2011-07-16',201128,7,2011,16,28,201107),('2011-07-17',201129,7,2011,17,29,201107),('2011-07-18',201129,7,2011,18,29,201107),('2011-07-19',201129,7,2011,19,29,201107),('2011-07-20',201129,7,2011,20,29,201107),('2011-07-21',201129,7,2011,21,29,201107),('2011-07-22',201129,7,2011,22,29,201107),('2011-07-23',201129,7,2011,23,29,201107),('2011-07-24',201130,7,2011,24,30,201107),('2011-07-25',201130,7,2011,25,30,201107),('2011-07-26',201130,7,2011,26,30,201107),('2011-07-27',201130,7,2011,27,30,201107),('2011-07-28',201130,7,2011,28,30,201107),('2011-07-29',201130,7,2011,29,30,201107),('2011-07-30',201130,7,2011,30,30,201107),('2011-07-31',201131,7,2011,31,31,201107),('2011-08-01',201131,8,2011,1,31,201108),('2011-08-02',201131,8,2011,2,31,201108),('2011-08-03',201131,8,2011,3,31,201108),('2011-08-04',201131,8,2011,4,31,201108),('2011-08-05',201131,8,2011,5,31,201108),('2011-08-06',201131,8,2011,6,31,201108),('2011-08-07',201132,8,2011,7,32,201108),('2011-08-08',201132,8,2011,8,32,201108),('2011-08-09',201132,8,2011,9,32,201108),('2011-08-10',201132,8,2011,10,32,201108),('2011-08-11',201132,8,2011,11,32,201108),('2011-08-12',201132,8,2011,12,32,201108),('2011-08-13',201132,8,2011,13,32,201108),('2011-08-14',201133,8,2011,14,33,201108),('2011-08-15',201133,8,2011,15,33,201108),('2011-08-16',201133,8,2011,16,33,201108),('2011-08-17',201133,8,2011,17,33,201108),('2011-08-18',201133,8,2011,18,33,201108),('2011-08-19',201133,8,2011,19,33,201108),('2011-08-20',201133,8,2011,20,33,201108),('2011-08-21',201134,8,2011,21,34,201108),('2011-08-22',201134,8,2011,22,34,201108),('2011-08-23',201134,8,2011,23,34,201108),('2011-08-24',201134,8,2011,24,34,201108),('2011-08-25',201134,8,2011,25,34,201108),('2011-08-26',201134,8,2011,26,34,201108),('2011-08-27',201134,8,2011,27,34,201108),('2011-08-28',201135,8,2011,28,35,201108),('2011-08-29',201135,8,2011,29,35,201108),('2011-08-30',201135,8,2011,30,35,201108),('2011-08-31',201135,8,2011,31,35,201108),('2011-09-01',201135,9,2011,1,35,201109),('2011-09-02',201135,9,2011,2,35,201109),('2011-09-03',201135,9,2011,3,35,201109),('2011-09-04',201136,9,2011,4,36,201109),('2011-09-05',201136,9,2011,5,36,201109),('2011-09-06',201136,9,2011,6,36,201109),('2011-09-07',201136,9,2011,7,36,201109),('2011-09-08',201136,9,2011,8,36,201109),('2011-09-09',201136,9,2011,9,36,201109),('2011-09-10',201136,9,2011,10,36,201109),('2011-09-11',201137,9,2011,11,37,201109),('2011-09-12',201137,9,2011,12,37,201109),('2011-09-13',201137,9,2011,13,37,201109),('2011-09-14',201137,9,2011,14,37,201109),('2011-09-15',201137,9,2011,15,37,201109),('2011-09-16',201137,9,2011,16,37,201109),('2011-09-17',201137,9,2011,17,37,201109),('2011-09-18',201138,9,2011,18,38,201109),('2011-09-19',201138,9,2011,19,38,201109),('2011-09-20',201138,9,2011,20,38,201109),('2011-09-21',201138,9,2011,21,38,201109),('2011-09-22',201138,9,2011,22,38,201109),('2011-09-23',201138,9,2011,23,38,201109),('2011-09-24',201138,9,2011,24,38,201109),('2011-09-25',201139,9,2011,25,39,201109),('2011-09-26',201139,9,2011,26,39,201109),('2011-09-27',201139,9,2011,27,39,201109),('2011-09-28',201139,9,2011,28,39,201109),('2011-09-29',201139,9,2011,29,39,201109),('2011-09-30',201139,9,2011,30,39,201109),('2011-10-01',201139,10,2011,1,39,201110),('2011-10-02',201140,10,2011,2,40,201110),('2011-10-03',201140,10,2011,3,40,201110),('2011-10-04',201140,10,2011,4,40,201110),('2011-10-05',201140,10,2011,5,40,201110),('2011-10-06',201140,10,2011,6,40,201110),('2011-10-07',201140,10,2011,7,40,201110),('2011-10-08',201140,10,2011,8,40,201110),('2011-10-09',201141,10,2011,9,41,201110),('2011-10-10',201141,10,2011,10,41,201110),('2011-10-11',201141,10,2011,11,41,201110),('2011-10-12',201141,10,2011,12,41,201110),('2011-10-13',201141,10,2011,13,41,201110),('2011-10-14',201141,10,2011,14,41,201110),('2011-10-15',201141,10,2011,15,41,201110),('2011-10-16',201142,10,2011,16,42,201110),('2011-10-17',201142,10,2011,17,42,201110),('2011-10-18',201142,10,2011,18,42,201110),('2011-10-19',201142,10,2011,19,42,201110),('2011-10-20',201142,10,2011,20,42,201110),('2011-10-21',201142,10,2011,21,42,201110),('2011-10-22',201142,10,2011,22,42,201110),('2011-10-23',201143,10,2011,23,43,201110),('2011-10-24',201143,10,2011,24,43,201110),('2011-10-25',201143,10,2011,25,43,201110),('2011-10-26',201143,10,2011,26,43,201110),('2011-10-27',201143,10,2011,27,43,201110),('2011-10-28',201143,10,2011,28,43,201110),('2011-10-29',201143,10,2011,29,43,201110),('2011-10-30',201144,10,2011,30,44,201110),('2011-10-31',201144,10,2011,31,44,201110),('2011-11-01',201144,11,2011,1,44,201111),('2011-11-02',201144,11,2011,2,44,201111),('2011-11-03',201144,11,2011,3,44,201111),('2011-11-04',201144,11,2011,4,44,201111),('2011-11-05',201144,11,2011,5,44,201111),('2011-11-06',201145,11,2011,6,45,201111),('2011-11-07',201145,11,2011,7,45,201111),('2011-11-08',201145,11,2011,8,45,201111),('2011-11-09',201145,11,2011,9,45,201111),('2011-11-10',201145,11,2011,10,45,201111),('2011-11-11',201145,11,2011,11,45,201111),('2011-11-12',201145,11,2011,12,45,201111),('2011-11-13',201146,11,2011,13,46,201111),('2011-11-14',201146,11,2011,14,46,201111),('2011-11-15',201146,11,2011,15,46,201111),('2011-11-16',201146,11,2011,16,46,201111),('2011-11-17',201146,11,2011,17,46,201111),('2011-11-18',201146,11,2011,18,46,201111),('2011-11-19',201146,11,2011,19,46,201111),('2011-11-20',201147,11,2011,20,47,201111),('2011-11-21',201147,11,2011,21,47,201111),('2011-11-22',201147,11,2011,22,47,201111),('2011-11-23',201147,11,2011,23,47,201111),('2011-11-24',201147,11,2011,24,47,201111),('2011-11-25',201147,11,2011,25,47,201111),('2011-11-26',201147,11,2011,26,47,201111),('2011-11-27',201148,11,2011,27,48,201111),('2011-11-28',201148,11,2011,28,48,201111),('2011-11-29',201148,11,2011,29,48,201111),('2011-11-30',201148,11,2011,30,48,201111),('2011-12-01',201148,12,2011,1,48,201112),('2011-12-02',201148,12,2011,2,48,201112),('2011-12-03',201148,12,2011,3,48,201112),('2011-12-04',201149,12,2011,4,49,201112),('2011-12-05',201149,12,2011,5,49,201112),('2011-12-06',201149,12,2011,6,49,201112),('2011-12-07',201149,12,2011,7,49,201112),('2011-12-08',201149,12,2011,8,49,201112),('2011-12-09',201149,12,2011,9,49,201112),('2011-12-10',201149,12,2011,10,49,201112),('2011-12-11',201150,12,2011,11,50,201112),('2011-12-12',201150,12,2011,12,50,201112),('2011-12-13',201150,12,2011,13,50,201112),('2011-12-14',201150,12,2011,14,50,201112),('2011-12-15',201150,12,2011,15,50,201112),('2011-12-16',201150,12,2011,16,50,201112),('2011-12-17',201150,12,2011,17,50,201112),('2011-12-18',201151,12,2011,18,51,201112),('2011-12-19',201151,12,2011,19,51,201112),('2011-12-20',201151,12,2011,20,51,201112),('2011-12-21',201151,12,2011,21,51,201112),('2011-12-22',201151,12,2011,22,51,201112),('2011-12-23',201151,12,2011,23,51,201112),('2011-12-24',201151,12,2011,24,51,201112),('2011-12-25',201152,12,2011,25,52,201112),('2011-12-26',201152,12,2011,26,52,201112),('2011-12-27',201152,12,2011,27,52,201112),('2011-12-28',201152,12,2011,28,52,201112),('2011-12-29',201152,12,2011,29,52,201112),('2011-12-30',201152,12,2011,30,52,201112),('2011-12-31',201152,12,2011,31,52,201112),('2012-01-01',201153,1,2012,1,1,201201),('2012-01-02',201201,1,2012,2,1,201201),('2012-01-03',201201,1,2012,3,1,201201),('2012-01-04',201201,1,2012,4,1,201201),('2012-01-05',201201,1,2012,5,1,201201),('2012-01-06',201201,1,2012,6,1,201201),('2012-01-07',201201,1,2012,7,1,201201),('2012-01-08',201202,1,2012,8,2,201201),('2012-01-09',201202,1,2012,9,2,201201),('2012-01-10',201202,1,2012,10,2,201201),('2012-01-11',201202,1,2012,11,2,201201),('2012-01-12',201202,1,2012,12,2,201201),('2012-01-13',201202,1,2012,13,2,201201),('2012-01-14',201202,1,2012,14,2,201201),('2012-01-15',201203,1,2012,15,3,201201),('2012-01-16',201203,1,2012,16,3,201201),('2012-01-17',201203,1,2012,17,3,201201),('2012-01-18',201203,1,2012,18,3,201201),('2012-01-19',201203,1,2012,19,3,201201),('2012-01-20',201203,1,2012,20,3,201201),('2012-01-21',201203,1,2012,21,3,201201),('2012-01-22',201204,1,2012,22,4,201201),('2012-01-23',201204,1,2012,23,4,201201),('2012-01-24',201204,1,2012,24,4,201201),('2012-01-25',201204,1,2012,25,4,201201),('2012-01-26',201204,1,2012,26,4,201201),('2012-01-27',201204,1,2012,27,4,201201),('2012-01-28',201204,1,2012,28,4,201201),('2012-01-29',201205,1,2012,29,5,201201),('2012-01-30',201205,1,2012,30,5,201201),('2012-01-31',201205,1,2012,31,5,201201),('2012-02-01',201205,2,2012,1,5,201202),('2012-02-02',201205,2,2012,2,5,201202),('2012-02-03',201205,2,2012,3,5,201202),('2012-02-04',201205,2,2012,4,5,201202),('2012-02-05',201206,2,2012,5,6,201202),('2012-02-06',201206,2,2012,6,6,201202),('2012-02-07',201206,2,2012,7,6,201202),('2012-02-08',201206,2,2012,8,6,201202),('2012-02-09',201206,2,2012,9,6,201202),('2012-02-10',201206,2,2012,10,6,201202),('2012-02-11',201206,2,2012,11,6,201202),('2012-02-12',201207,2,2012,12,7,201202),('2012-02-13',201207,2,2012,13,7,201202),('2012-02-14',201207,2,2012,14,7,201202),('2012-02-15',201207,2,2012,15,7,201202),('2012-02-16',201207,2,2012,16,7,201202),('2012-02-17',201207,2,2012,17,7,201202),('2012-02-18',201207,2,2012,18,7,201202),('2012-02-19',201208,2,2012,19,8,201202),('2012-02-20',201208,2,2012,20,8,201202),('2012-02-21',201208,2,2012,21,8,201202),('2012-02-22',201208,2,2012,22,8,201202),('2012-02-23',201208,2,2012,23,8,201202),('2012-02-24',201208,2,2012,24,8,201202),('2012-02-25',201208,2,2012,25,8,201202),('2012-02-26',201209,2,2012,26,9,201202),('2012-02-27',201209,2,2012,27,9,201202),('2012-02-28',201209,2,2012,28,9,201202),('2012-02-29',201209,2,2012,29,9,201202),('2012-03-01',201209,3,2012,1,9,201203),('2012-03-02',201209,3,2012,2,9,201203),('2012-03-03',201209,3,2012,3,9,201203),('2012-03-04',201210,3,2012,4,10,201203),('2012-03-05',201210,3,2012,5,10,201203),('2012-03-06',201210,3,2012,6,10,201203),('2012-03-07',201210,3,2012,7,10,201203),('2012-03-08',201210,3,2012,8,10,201203),('2012-03-09',201210,3,2012,9,10,201203),('2012-03-10',201210,3,2012,10,10,201203),('2012-03-11',201211,3,2012,11,11,201203),('2012-03-12',201211,3,2012,12,11,201203),('2012-03-13',201211,3,2012,13,11,201203),('2012-03-14',201211,3,2012,14,11,201203),('2012-03-15',201211,3,2012,15,11,201203),('2012-03-16',201211,3,2012,16,11,201203),('2012-03-17',201211,3,2012,17,11,201203),('2012-03-18',201212,3,2012,18,12,201203),('2012-03-19',201212,3,2012,19,12,201203),('2012-03-20',201212,3,2012,20,12,201203),('2012-03-21',201212,3,2012,21,12,201203),('2012-03-22',201212,3,2012,22,12,201203),('2012-03-23',201212,3,2012,23,12,201203),('2012-03-24',201212,3,2012,24,12,201203),('2012-03-25',201213,3,2012,25,13,201203),('2012-03-26',201213,3,2012,26,13,201203),('2012-03-27',201213,3,2012,27,13,201203),('2012-03-28',201213,3,2012,28,13,201203),('2012-03-29',201213,3,2012,29,13,201203),('2012-03-30',201213,3,2012,30,13,201203),('2012-03-31',201213,3,2012,31,13,201203),('2012-04-01',201214,4,2012,1,14,201204),('2012-04-02',201214,4,2012,2,14,201204),('2012-04-03',201214,4,2012,3,14,201204),('2012-04-04',201214,4,2012,4,14,201204),('2012-04-05',201214,4,2012,5,14,201204),('2012-04-06',201214,4,2012,6,14,201204),('2012-04-07',201214,4,2012,7,14,201204),('2012-04-08',201215,4,2012,8,15,201204),('2012-04-09',201215,4,2012,9,15,201204),('2012-04-10',201215,4,2012,10,15,201204),('2012-04-11',201215,4,2012,11,15,201204),('2012-04-12',201215,4,2012,12,15,201204),('2012-04-13',201215,4,2012,13,15,201204),('2012-04-14',201215,4,2012,14,15,201204),('2012-04-15',201216,4,2012,15,16,201204),('2012-04-16',201216,4,2012,16,16,201204),('2012-04-17',201216,4,2012,17,16,201204),('2012-04-18',201216,4,2012,18,16,201204),('2012-04-19',201216,4,2012,19,16,201204),('2012-04-20',201216,4,2012,20,16,201204),('2012-04-21',201216,4,2012,21,16,201204),('2012-04-22',201217,4,2012,22,17,201204),('2012-04-23',201217,4,2012,23,17,201204),('2012-04-24',201217,4,2012,24,17,201204),('2012-04-25',201217,4,2012,25,17,201204),('2012-04-26',201217,4,2012,26,17,201204),('2012-04-27',201217,4,2012,27,17,201204),('2012-04-28',201217,4,2012,28,17,201204),('2012-04-29',201218,4,2012,29,18,201204),('2012-04-30',201218,4,2012,30,18,201204),('2012-05-01',201218,5,2012,1,18,201205),('2012-05-02',201218,5,2012,2,18,201205),('2012-05-03',201218,5,2012,3,18,201205),('2012-05-04',201218,5,2012,4,18,201205),('2012-05-05',201218,5,2012,5,18,201205),('2012-05-06',201219,5,2012,6,19,201205),('2012-05-07',201219,5,2012,7,19,201205),('2012-05-08',201219,5,2012,8,19,201205),('2012-05-09',201219,5,2012,9,19,201205),('2012-05-10',201219,5,2012,10,19,201205),('2012-05-11',201219,5,2012,11,19,201205),('2012-05-12',201219,5,2012,12,19,201205),('2012-05-13',201220,5,2012,13,20,201205),('2012-05-14',201220,5,2012,14,20,201205),('2012-05-15',201220,5,2012,15,20,201205),('2012-05-16',201220,5,2012,16,20,201205),('2012-05-17',201220,5,2012,17,20,201205),('2012-05-18',201220,5,2012,18,20,201205),('2012-05-19',201220,5,2012,19,20,201205),('2012-05-20',201221,5,2012,20,21,201205),('2012-05-21',201221,5,2012,21,21,201205),('2012-05-22',201221,5,2012,22,21,201205),('2012-05-23',201221,5,2012,23,21,201205),('2012-05-24',201221,5,2012,24,21,201205),('2012-05-25',201221,5,2012,25,21,201205),('2012-05-26',201221,5,2012,26,21,201205),('2012-05-27',201222,5,2012,27,22,201205),('2012-05-28',201222,5,2012,28,22,201205),('2012-05-29',201222,5,2012,29,22,201205),('2012-05-30',201222,5,2012,30,22,201205),('2012-05-31',201222,5,2012,31,22,201205),('2012-06-01',201222,6,2012,1,22,201206),('2012-06-02',201222,6,2012,2,22,201206),('2012-06-03',201223,6,2012,3,23,201206),('2012-06-04',201223,6,2012,4,23,201206),('2012-06-05',201223,6,2012,5,23,201206),('2012-06-06',201223,6,2012,6,23,201206),('2012-06-07',201223,6,2012,7,23,201206),('2012-06-08',201223,6,2012,8,23,201206),('2012-06-09',201223,6,2012,9,23,201206),('2012-06-10',201224,6,2012,10,24,201206),('2012-06-11',201224,6,2012,11,24,201206),('2012-06-12',201224,6,2012,12,24,201206),('2012-06-13',201224,6,2012,13,24,201206),('2012-06-14',201224,6,2012,14,24,201206),('2012-06-15',201224,6,2012,15,24,201206),('2012-06-16',201224,6,2012,16,24,201206),('2012-06-17',201225,6,2012,17,25,201206),('2012-06-18',201225,6,2012,18,25,201206),('2012-06-19',201225,6,2012,19,25,201206),('2012-06-20',201225,6,2012,20,25,201206),('2012-06-21',201225,6,2012,21,25,201206),('2012-06-22',201225,6,2012,22,25,201206),('2012-06-23',201225,6,2012,23,25,201206),('2012-06-24',201226,6,2012,24,26,201206),('2012-06-25',201226,6,2012,25,26,201206),('2012-06-26',201226,6,2012,26,26,201206),('2012-06-27',201226,6,2012,27,26,201206),('2012-06-28',201226,6,2012,28,26,201206),('2012-06-29',201226,6,2012,29,26,201206),('2012-06-30',201226,6,2012,30,26,201206),('2012-07-01',201227,7,2012,1,27,201207),('2012-07-02',201227,7,2012,2,27,201207),('2012-07-03',201227,7,2012,3,27,201207),('2012-07-04',201227,7,2012,4,27,201207),('2012-07-05',201227,7,2012,5,27,201207),('2012-07-06',201227,7,2012,6,27,201207),('2012-07-07',201227,7,2012,7,27,201207),('2012-07-08',201228,7,2012,8,28,201207),('2012-07-09',201228,7,2012,9,28,201207),('2012-07-10',201228,7,2012,10,28,201207),('2012-07-11',201228,7,2012,11,28,201207),('2012-07-12',201228,7,2012,12,28,201207),('2012-07-13',201228,7,2012,13,28,201207),('2012-07-14',201228,7,2012,14,28,201207),('2012-07-15',201229,7,2012,15,29,201207),('2012-07-16',201229,7,2012,16,29,201207),('2012-07-17',201229,7,2012,17,29,201207),('2012-07-18',201229,7,2012,18,29,201207),('2012-07-19',201229,7,2012,19,29,201207),('2012-07-20',201229,7,2012,20,29,201207),('2012-07-21',201229,7,2012,21,29,201207),('2012-07-22',201230,7,2012,22,30,201207),('2012-07-23',201230,7,2012,23,30,201207),('2012-07-24',201230,7,2012,24,30,201207),('2012-07-25',201230,7,2012,25,30,201207),('2012-07-26',201230,7,2012,26,30,201207),('2012-07-27',201230,7,2012,27,30,201207),('2012-07-28',201230,7,2012,28,30,201207),('2012-07-29',201231,7,2012,29,31,201207),('2012-07-30',201231,7,2012,30,31,201207),('2012-07-31',201231,7,2012,31,31,201207),('2012-08-01',201231,8,2012,1,31,201208),('2012-08-02',201231,8,2012,2,31,201208),('2012-08-03',201231,8,2012,3,31,201208),('2012-08-04',201231,8,2012,4,31,201208),('2012-08-05',201232,8,2012,5,32,201208),('2012-08-06',201232,8,2012,6,32,201208),('2012-08-07',201232,8,2012,7,32,201208),('2012-08-08',201232,8,2012,8,32,201208),('2012-08-09',201232,8,2012,9,32,201208),('2012-08-10',201232,8,2012,10,32,201208),('2012-08-11',201232,8,2012,11,32,201208),('2012-08-12',201233,8,2012,12,33,201208),('2012-08-13',201233,8,2012,13,33,201208),('2012-08-14',201233,8,2012,14,33,201208),('2012-08-15',201233,8,2012,15,33,201208),('2012-08-16',201233,8,2012,16,33,201208),('2012-08-17',201233,8,2012,17,33,201208),('2012-08-18',201233,8,2012,18,33,201208),('2012-08-19',201234,8,2012,19,34,201208),('2012-08-20',201234,8,2012,20,34,201208),('2012-08-21',201234,8,2012,21,34,201208),('2012-08-22',201234,8,2012,22,34,201208),('2012-08-23',201234,8,2012,23,34,201208),('2012-08-24',201234,8,2012,24,34,201208),('2012-08-25',201234,8,2012,25,34,201208),('2012-08-26',201235,8,2012,26,35,201208),('2012-08-27',201235,8,2012,27,35,201208),('2012-08-28',201235,8,2012,28,35,201208),('2012-08-29',201235,8,2012,29,35,201208),('2012-08-30',201235,8,2012,30,35,201208),('2012-08-31',201235,8,2012,31,35,201208),('2012-09-01',201235,9,2012,1,35,201209),('2012-09-02',201236,9,2012,2,36,201209),('2012-09-03',201236,9,2012,3,36,201209),('2012-09-04',201236,9,2012,4,36,201209),('2012-09-05',201236,9,2012,5,36,201209),('2012-09-06',201236,9,2012,6,36,201209),('2012-09-07',201236,9,2012,7,36,201209),('2012-09-08',201236,9,2012,8,36,201209),('2012-09-09',201237,9,2012,9,37,201209),('2012-09-10',201237,9,2012,10,37,201209),('2012-09-11',201237,9,2012,11,37,201209),('2012-09-12',201237,9,2012,12,37,201209),('2012-09-13',201237,9,2012,13,37,201209),('2012-09-14',201237,9,2012,14,37,201209),('2012-09-15',201237,9,2012,15,37,201209),('2012-09-16',201238,9,2012,16,38,201209),('2012-09-17',201238,9,2012,17,38,201209),('2012-09-18',201238,9,2012,18,38,201209),('2012-09-19',201238,9,2012,19,38,201209),('2012-09-20',201238,9,2012,20,38,201209),('2012-09-21',201238,9,2012,21,38,201209),('2012-09-22',201238,9,2012,22,38,201209),('2012-09-23',201239,9,2012,23,39,201209),('2012-09-24',201239,9,2012,24,39,201209),('2012-09-25',201239,9,2012,25,39,201209),('2012-09-26',201239,9,2012,26,39,201209),('2012-09-27',201239,9,2012,27,39,201209),('2012-09-28',201239,9,2012,28,39,201209),('2012-09-29',201239,9,2012,29,39,201209),('2012-09-30',201240,9,2012,30,40,201209),('2012-10-01',201240,10,2012,1,40,201210),('2012-10-02',201240,10,2012,2,40,201210),('2012-10-03',201240,10,2012,3,40,201210),('2012-10-04',201240,10,2012,4,40,201210),('2012-10-05',201240,10,2012,5,40,201210),('2012-10-06',201240,10,2012,6,40,201210),('2012-10-07',201241,10,2012,7,41,201210),('2012-10-08',201241,10,2012,8,41,201210),('2012-10-09',201241,10,2012,9,41,201210),('2012-10-10',201241,10,2012,10,41,201210),('2012-10-11',201241,10,2012,11,41,201210),('2012-10-12',201241,10,2012,12,41,201210),('2012-10-13',201241,10,2012,13,41,201210),('2012-10-14',201242,10,2012,14,42,201210),('2012-10-15',201242,10,2012,15,42,201210),('2012-10-16',201242,10,2012,16,42,201210),('2012-10-17',201242,10,2012,17,42,201210),('2012-10-18',201242,10,2012,18,42,201210),('2012-10-19',201242,10,2012,19,42,201210),('2012-10-20',201242,10,2012,20,42,201210),('2012-10-21',201243,10,2012,21,43,201210),('2012-10-22',201243,10,2012,22,43,201210),('2012-10-23',201243,10,2012,23,43,201210),('2012-10-24',201243,10,2012,24,43,201210),('2012-10-25',201243,10,2012,25,43,201210),('2012-10-26',201243,10,2012,26,43,201210),('2012-10-27',201243,10,2012,27,43,201210),('2012-10-28',201244,10,2012,28,44,201210),('2012-10-29',201244,10,2012,29,44,201210),('2012-10-30',201244,10,2012,30,44,201210),('2012-10-31',201244,10,2012,31,44,201210),('2012-11-01',201244,11,2012,1,44,201211),('2012-11-02',201244,11,2012,2,44,201211),('2012-11-03',201244,11,2012,3,44,201211),('2012-11-04',201245,11,2012,4,45,201211),('2012-11-05',201245,11,2012,5,45,201211),('2012-11-06',201245,11,2012,6,45,201211),('2012-11-07',201245,11,2012,7,45,201211),('2012-11-08',201245,11,2012,8,45,201211),('2012-11-09',201245,11,2012,9,45,201211),('2012-11-10',201245,11,2012,10,45,201211),('2012-11-11',201246,11,2012,11,46,201211),('2012-11-12',201246,11,2012,12,46,201211),('2012-11-13',201246,11,2012,13,46,201211),('2012-11-14',201246,11,2012,14,46,201211),('2012-11-15',201246,11,2012,15,46,201211),('2012-11-16',201246,11,2012,16,46,201211),('2012-11-17',201246,11,2012,17,46,201211),('2012-11-18',201247,11,2012,18,47,201211),('2012-11-19',201247,11,2012,19,47,201211),('2012-11-20',201247,11,2012,20,47,201211),('2012-11-21',201247,11,2012,21,47,201211),('2012-11-22',201247,11,2012,22,47,201211),('2012-11-23',201247,11,2012,23,47,201211),('2012-11-24',201247,11,2012,24,47,201211),('2012-11-25',201248,11,2012,25,48,201211),('2012-11-26',201248,11,2012,26,48,201211),('2012-11-27',201248,11,2012,27,48,201211),('2012-11-28',201248,11,2012,28,48,201211),('2012-11-29',201248,11,2012,29,48,201211),('2012-11-30',201248,11,2012,30,48,201211),('2012-12-01',201248,12,2012,1,48,201212),('2012-12-02',201249,12,2012,2,49,201212),('2012-12-03',201249,12,2012,3,49,201212),('2012-12-04',201249,12,2012,4,49,201212),('2012-12-05',201249,12,2012,5,49,201212),('2012-12-06',201249,12,2012,6,49,201212),('2012-12-07',201249,12,2012,7,49,201212),('2012-12-08',201249,12,2012,8,49,201212),('2012-12-09',201250,12,2012,9,50,201212),('2012-12-10',201250,12,2012,10,50,201212),('2012-12-11',201250,12,2012,11,50,201212),('2012-12-12',201250,12,2012,12,50,201212),('2012-12-13',201250,12,2012,13,50,201212),('2012-12-14',201250,12,2012,14,50,201212),('2012-12-15',201250,12,2012,15,50,201212),('2012-12-16',201251,12,2012,16,51,201212),('2012-12-17',201251,12,2012,17,51,201212),('2012-12-18',201251,12,2012,18,51,201212),('2012-12-19',201251,12,2012,19,51,201212),('2012-12-20',201251,12,2012,20,51,201212),('2012-12-21',201251,12,2012,21,51,201212),('2012-12-22',201251,12,2012,22,51,201212),('2012-12-23',201252,12,2012,23,52,201212),('2012-12-24',201252,12,2012,24,52,201212),('2012-12-25',201252,12,2012,25,52,201212),('2012-12-26',201252,12,2012,26,52,201212),('2012-12-27',201252,12,2012,27,52,201212),('2012-12-28',201252,12,2012,28,52,201212),('2012-12-29',201252,12,2012,29,52,201212),('2012-12-30',201301,12,2012,30,1,201212),('2012-12-31',201301,12,2012,31,1,201212),('2013-01-01',201301,1,2013,1,1,201301),('2013-01-02',201301,1,2013,2,1,201301),('2013-01-03',201301,1,2013,3,1,201301),('2013-01-04',201301,1,2013,4,1,201301),('2013-01-05',201301,1,2013,5,1,201301),('2013-01-06',201302,1,2013,6,2,201301),('2013-01-07',201302,1,2013,7,2,201301),('2013-01-08',201302,1,2013,8,2,201301),('2013-01-09',201302,1,2013,9,2,201301),('2013-01-10',201302,1,2013,10,2,201301),('2013-01-11',201302,1,2013,11,2,201301),('2013-01-12',201302,1,2013,12,2,201301),('2013-01-13',201303,1,2013,13,3,201301),('2013-01-14',201303,1,2013,14,3,201301),('2013-01-15',201303,1,2013,15,3,201301),('2013-01-16',201303,1,2013,16,3,201301),('2013-01-17',201303,1,2013,17,3,201301),('2013-01-18',201303,1,2013,18,3,201301),('2013-01-19',201303,1,2013,19,3,201301),('2013-01-20',201304,1,2013,20,4,201301),('2013-01-21',201304,1,2013,21,4,201301),('2013-01-22',201304,1,2013,22,4,201301),('2013-01-23',201304,1,2013,23,4,201301),('2013-01-24',201304,1,2013,24,4,201301),('2013-01-25',201304,1,2013,25,4,201301),('2013-01-26',201304,1,2013,26,4,201301),('2013-01-27',201305,1,2013,27,5,201301),('2013-01-28',201305,1,2013,28,5,201301),('2013-01-29',201305,1,2013,29,5,201301),('2013-01-30',201305,1,2013,30,5,201301),('2013-01-31',201305,1,2013,31,5,201301),('2013-02-01',201305,2,2013,1,5,201302),('2013-02-02',201305,2,2013,2,5,201302),('2013-02-03',201306,2,2013,3,6,201302),('2013-02-04',201306,2,2013,4,6,201302),('2013-02-05',201306,2,2013,5,6,201302),('2013-02-06',201306,2,2013,6,6,201302),('2013-02-07',201306,2,2013,7,6,201302),('2013-02-08',201306,2,2013,8,6,201302),('2013-02-09',201306,2,2013,9,6,201302),('2013-02-10',201307,2,2013,10,7,201302),('2013-02-11',201307,2,2013,11,7,201302),('2013-02-12',201307,2,2013,12,7,201302),('2013-02-13',201307,2,2013,13,7,201302),('2013-02-14',201307,2,2013,14,7,201302),('2013-02-15',201307,2,2013,15,7,201302),('2013-02-16',201307,2,2013,16,7,201302),('2013-02-17',201308,2,2013,17,8,201302),('2013-02-18',201308,2,2013,18,8,201302),('2013-02-19',201308,2,2013,19,8,201302),('2013-02-20',201308,2,2013,20,8,201302),('2013-02-21',201308,2,2013,21,8,201302),('2013-02-22',201308,2,2013,22,8,201302),('2013-02-23',201308,2,2013,23,8,201302),('2013-02-24',201309,2,2013,24,9,201302),('2013-02-25',201309,2,2013,25,9,201302),('2013-02-26',201309,2,2013,26,9,201302),('2013-02-27',201309,2,2013,27,9,201302),('2013-02-28',201309,2,2013,28,9,201302),('2013-03-01',201309,3,2013,1,9,201303),('2013-03-02',201309,3,2013,2,9,201303),('2013-03-03',201310,3,2013,3,10,201303),('2013-03-04',201310,3,2013,4,10,201303),('2013-03-05',201310,3,2013,5,10,201303),('2013-03-06',201310,3,2013,6,10,201303),('2013-03-07',201310,3,2013,7,10,201303),('2013-03-08',201310,3,2013,8,10,201303),('2013-03-09',201310,3,2013,9,10,201303),('2013-03-10',201311,3,2013,10,11,201303),('2013-03-11',201311,3,2013,11,11,201303),('2013-03-12',201311,3,2013,12,11,201303),('2013-03-13',201311,3,2013,13,11,201303),('2013-03-14',201311,3,2013,14,11,201303),('2013-03-15',201311,3,2013,15,11,201303),('2013-03-16',201311,3,2013,16,11,201303),('2013-03-17',201312,3,2013,17,12,201303),('2013-03-18',201312,3,2013,18,12,201303),('2013-03-19',201312,3,2013,19,12,201303),('2013-03-20',201312,3,2013,20,12,201303),('2013-03-21',201312,3,2013,21,12,201303),('2013-03-22',201312,3,2013,22,12,201303),('2013-03-23',201312,3,2013,23,12,201303),('2013-03-24',201313,3,2013,24,13,201303),('2013-03-25',201313,3,2013,25,13,201303),('2013-03-26',201313,3,2013,26,13,201303),('2013-03-27',201313,3,2013,27,13,201303),('2013-03-28',201313,3,2013,28,13,201303),('2013-03-29',201313,3,2013,29,13,201303),('2013-03-30',201313,3,2013,30,13,201303),('2013-03-31',201314,3,2013,31,14,201303),('2013-04-01',201314,4,2013,1,14,201304),('2013-04-02',201314,4,2013,2,14,201304),('2013-04-03',201314,4,2013,3,14,201304),('2013-04-04',201314,4,2013,4,14,201304),('2013-04-05',201314,4,2013,5,14,201304),('2013-04-06',201314,4,2013,6,14,201304),('2013-04-07',201315,4,2013,7,15,201304),('2013-04-08',201315,4,2013,8,15,201304),('2013-04-09',201315,4,2013,9,15,201304),('2013-04-10',201315,4,2013,10,15,201304),('2013-04-11',201315,4,2013,11,15,201304),('2013-04-12',201315,4,2013,12,15,201304),('2013-04-13',201315,4,2013,13,15,201304),('2013-04-14',201316,4,2013,14,16,201304),('2013-04-15',201316,4,2013,15,16,201304),('2013-04-16',201316,4,2013,16,16,201304),('2013-04-17',201316,4,2013,17,16,201304),('2013-04-18',201316,4,2013,18,16,201304),('2013-04-19',201316,4,2013,19,16,201304),('2013-04-20',201316,4,2013,20,16,201304),('2013-04-21',201317,4,2013,21,17,201304),('2013-04-22',201317,4,2013,22,17,201304),('2013-04-23',201317,4,2013,23,17,201304),('2013-04-24',201317,4,2013,24,17,201304),('2013-04-25',201317,4,2013,25,17,201304),('2013-04-26',201317,4,2013,26,17,201304),('2013-04-27',201317,4,2013,27,17,201304),('2013-04-28',201318,4,2013,28,18,201304),('2013-04-29',201318,4,2013,29,18,201304),('2013-04-30',201318,4,2013,30,18,201304),('2013-05-01',201318,5,2013,1,18,201305),('2013-05-02',201318,5,2013,2,18,201305),('2013-05-03',201318,5,2013,3,18,201305),('2013-05-04',201318,5,2013,4,18,201305),('2013-05-05',201319,5,2013,5,19,201305),('2013-05-06',201319,5,2013,6,19,201305),('2013-05-07',201319,5,2013,7,19,201305),('2013-05-08',201319,5,2013,8,19,201305),('2013-05-09',201319,5,2013,9,19,201305),('2013-05-10',201319,5,2013,10,19,201305),('2013-05-11',201319,5,2013,11,19,201305),('2013-05-12',201320,5,2013,12,20,201305),('2013-05-13',201320,5,2013,13,20,201305),('2013-05-14',201320,5,2013,14,20,201305),('2013-05-15',201320,5,2013,15,20,201305),('2013-05-16',201320,5,2013,16,20,201305),('2013-05-17',201320,5,2013,17,20,201305),('2013-05-18',201320,5,2013,18,20,201305),('2013-05-19',201321,5,2013,19,21,201305),('2013-05-20',201321,5,2013,20,21,201305),('2013-05-21',201321,5,2013,21,21,201305),('2013-05-22',201321,5,2013,22,21,201305),('2013-05-23',201321,5,2013,23,21,201305),('2013-05-24',201321,5,2013,24,21,201305),('2013-05-25',201321,5,2013,25,21,201305),('2013-05-26',201322,5,2013,26,22,201305),('2013-05-27',201322,5,2013,27,22,201305),('2013-05-28',201322,5,2013,28,22,201305),('2013-05-29',201322,5,2013,29,22,201305),('2013-05-30',201322,5,2013,30,22,201305),('2013-05-31',201322,5,2013,31,22,201305),('2013-06-01',201322,6,2013,1,22,201306),('2013-06-02',201323,6,2013,2,23,201306),('2013-06-03',201323,6,2013,3,23,201306),('2013-06-04',201323,6,2013,4,23,201306),('2013-06-05',201323,6,2013,5,23,201306),('2013-06-06',201323,6,2013,6,23,201306),('2013-06-07',201323,6,2013,7,23,201306),('2013-06-08',201323,6,2013,8,23,201306),('2013-06-09',201324,6,2013,9,24,201306),('2013-06-10',201324,6,2013,10,24,201306),('2013-06-11',201324,6,2013,11,24,201306),('2013-06-12',201324,6,2013,12,24,201306),('2013-06-13',201324,6,2013,13,24,201306),('2013-06-14',201324,6,2013,14,24,201306),('2013-06-15',201324,6,2013,15,24,201306),('2013-06-16',201325,6,2013,16,25,201306),('2013-06-17',201325,6,2013,17,25,201306),('2013-06-18',201325,6,2013,18,25,201306),('2013-06-19',201325,6,2013,19,25,201306),('2013-06-20',201325,6,2013,20,25,201306),('2013-06-21',201325,6,2013,21,25,201306),('2013-06-22',201325,6,2013,22,25,201306),('2013-06-23',201326,6,2013,23,26,201306),('2013-06-24',201326,6,2013,24,26,201306),('2013-06-25',201326,6,2013,25,26,201306),('2013-06-26',201326,6,2013,26,26,201306),('2013-06-27',201326,6,2013,27,26,201306),('2013-06-28',201326,6,2013,28,26,201306),('2013-06-29',201326,6,2013,29,26,201306),('2013-06-30',201327,6,2013,30,27,201306),('2013-07-01',201327,7,2013,1,27,201307),('2013-07-02',201327,7,2013,2,27,201307),('2013-07-03',201327,7,2013,3,27,201307),('2013-07-04',201327,7,2013,4,27,201307),('2013-07-05',201327,7,2013,5,27,201307),('2013-07-06',201327,7,2013,6,27,201307),('2013-07-07',201328,7,2013,7,28,201307),('2013-07-08',201328,7,2013,8,28,201307),('2013-07-09',201328,7,2013,9,28,201307),('2013-07-10',201328,7,2013,10,28,201307),('2013-07-11',201328,7,2013,11,28,201307),('2013-07-12',201328,7,2013,12,28,201307),('2013-07-13',201328,7,2013,13,28,201307),('2013-07-14',201329,7,2013,14,29,201307),('2013-07-15',201329,7,2013,15,29,201307),('2013-07-16',201329,7,2013,16,29,201307),('2013-07-17',201329,7,2013,17,29,201307),('2013-07-18',201329,7,2013,18,29,201307),('2013-07-19',201329,7,2013,19,29,201307),('2013-07-20',201329,7,2013,20,29,201307),('2013-07-21',201330,7,2013,21,30,201307),('2013-07-22',201330,7,2013,22,30,201307),('2013-07-23',201330,7,2013,23,30,201307),('2013-07-24',201330,7,2013,24,30,201307),('2013-07-25',201330,7,2013,25,30,201307),('2013-07-26',201330,7,2013,26,30,201307),('2013-07-27',201330,7,2013,27,30,201307),('2013-07-28',201331,7,2013,28,31,201307),('2013-07-29',201331,7,2013,29,31,201307),('2013-07-30',201331,7,2013,30,31,201307),('2013-07-31',201331,7,2013,31,31,201307),('2013-08-01',201331,8,2013,1,31,201308),('2013-08-02',201331,8,2013,2,31,201308),('2013-08-03',201331,8,2013,3,31,201308),('2013-08-04',201332,8,2013,4,32,201308),('2013-08-05',201332,8,2013,5,32,201308),('2013-08-06',201332,8,2013,6,32,201308),('2013-08-07',201332,8,2013,7,32,201308),('2013-08-08',201332,8,2013,8,32,201308),('2013-08-09',201332,8,2013,9,32,201308),('2013-08-10',201332,8,2013,10,32,201308),('2013-08-11',201333,8,2013,11,33,201308),('2013-08-12',201333,8,2013,12,33,201308),('2013-08-13',201333,8,2013,13,33,201308),('2013-08-14',201333,8,2013,14,33,201308),('2013-08-15',201333,8,2013,15,33,201308),('2013-08-16',201333,8,2013,16,33,201308),('2013-08-17',201333,8,2013,17,33,201308),('2013-08-18',201334,8,2013,18,34,201308),('2013-08-19',201334,8,2013,19,34,201308),('2013-08-20',201334,8,2013,20,34,201308),('2013-08-21',201334,8,2013,21,34,201308),('2013-08-22',201334,8,2013,22,34,201308),('2013-08-23',201334,8,2013,23,34,201308),('2013-08-24',201334,8,2013,24,34,201308),('2013-08-25',201335,8,2013,25,35,201308),('2013-08-26',201335,8,2013,26,35,201308),('2013-08-27',201335,8,2013,27,35,201308),('2013-08-28',201335,8,2013,28,35,201308),('2013-08-29',201335,8,2013,29,35,201308),('2013-08-30',201335,8,2013,30,35,201308),('2013-08-31',201335,8,2013,31,35,201308),('2013-09-01',201336,9,2013,1,36,201309),('2013-09-02',201336,9,2013,2,36,201309),('2013-09-03',201336,9,2013,3,36,201309),('2013-09-04',201336,9,2013,4,36,201309),('2013-09-05',201336,9,2013,5,36,201309),('2013-09-06',201336,9,2013,6,36,201309),('2013-09-07',201336,9,2013,7,36,201309),('2013-09-08',201337,9,2013,8,37,201309),('2013-09-09',201337,9,2013,9,37,201309),('2013-09-10',201337,9,2013,10,37,201309),('2013-09-11',201337,9,2013,11,37,201309),('2013-09-12',201337,9,2013,12,37,201309),('2013-09-13',201337,9,2013,13,37,201309),('2013-09-14',201337,9,2013,14,37,201309),('2013-09-15',201338,9,2013,15,38,201309),('2013-09-16',201338,9,2013,16,38,201309),('2013-09-17',201338,9,2013,17,38,201309),('2013-09-18',201338,9,2013,18,38,201309),('2013-09-19',201338,9,2013,19,38,201309),('2013-09-20',201338,9,2013,20,38,201309),('2013-09-21',201338,9,2013,21,38,201309),('2013-09-22',201339,9,2013,22,39,201309),('2013-09-23',201339,9,2013,23,39,201309),('2013-09-24',201339,9,2013,24,39,201309),('2013-09-25',201339,9,2013,25,39,201309),('2013-09-26',201339,9,2013,26,39,201309),('2013-09-27',201339,9,2013,27,39,201309),('2013-09-28',201339,9,2013,28,39,201309),('2013-09-29',201340,9,2013,29,40,201309),('2013-09-30',201340,9,2013,30,40,201309),('2013-10-01',201340,10,2013,1,40,201310),('2013-10-02',201340,10,2013,2,40,201310),('2013-10-03',201340,10,2013,3,40,201310),('2013-10-04',201340,10,2013,4,40,201310),('2013-10-05',201340,10,2013,5,40,201310),('2013-10-06',201341,10,2013,6,41,201310),('2013-10-07',201341,10,2013,7,41,201310),('2013-10-08',201341,10,2013,8,41,201310),('2013-10-09',201341,10,2013,9,41,201310),('2013-10-10',201341,10,2013,10,41,201310),('2013-10-11',201341,10,2013,11,41,201310),('2013-10-12',201341,10,2013,12,41,201310),('2013-10-13',201342,10,2013,13,42,201310),('2013-10-14',201342,10,2013,14,42,201310),('2013-10-15',201342,10,2013,15,42,201310),('2013-10-16',201342,10,2013,16,42,201310),('2013-10-17',201342,10,2013,17,42,201310),('2013-10-18',201342,10,2013,18,42,201310),('2013-10-19',201342,10,2013,19,42,201310),('2013-10-20',201343,10,2013,20,43,201310),('2013-10-21',201343,10,2013,21,43,201310),('2013-10-22',201343,10,2013,22,43,201310),('2013-10-23',201343,10,2013,23,43,201310),('2013-10-24',201343,10,2013,24,43,201310),('2013-10-25',201343,10,2013,25,43,201310),('2013-10-26',201343,10,2013,26,43,201310),('2013-10-27',201344,10,2013,27,44,201310),('2013-10-28',201344,10,2013,28,44,201310),('2013-10-29',201344,10,2013,29,44,201310),('2013-10-30',201344,10,2013,30,44,201310),('2013-10-31',201344,10,2013,31,44,201310),('2013-11-01',201344,11,2013,1,44,201311),('2013-11-02',201344,11,2013,2,44,201311),('2013-11-03',201345,11,2013,3,45,201311),('2013-11-04',201345,11,2013,4,45,201311),('2013-11-05',201345,11,2013,5,45,201311),('2013-11-06',201345,11,2013,6,45,201311),('2013-11-07',201345,11,2013,7,45,201311),('2013-11-08',201345,11,2013,8,45,201311),('2013-11-09',201345,11,2013,9,45,201311),('2013-11-10',201346,11,2013,10,46,201311),('2013-11-11',201346,11,2013,11,46,201311),('2013-11-12',201346,11,2013,12,46,201311),('2013-11-13',201346,11,2013,13,46,201311),('2013-11-14',201346,11,2013,14,46,201311),('2013-11-15',201346,11,2013,15,46,201311),('2013-11-16',201346,11,2013,16,46,201311),('2013-11-17',201347,11,2013,17,47,201311),('2013-11-18',201347,11,2013,18,47,201311),('2013-11-19',201347,11,2013,19,47,201311),('2013-11-20',201347,11,2013,20,47,201311),('2013-11-21',201347,11,2013,21,47,201311),('2013-11-22',201347,11,2013,22,47,201311),('2013-11-23',201347,11,2013,23,47,201311),('2013-11-24',201348,11,2013,24,48,201311),('2013-11-25',201348,11,2013,25,48,201311),('2013-11-26',201348,11,2013,26,48,201311),('2013-11-27',201348,11,2013,27,48,201311),('2013-11-28',201348,11,2013,28,48,201311),('2013-11-29',201348,11,2013,29,48,201311),('2013-11-30',201348,11,2013,30,48,201311),('2013-12-01',201349,12,2013,1,49,201312),('2013-12-02',201349,12,2013,2,49,201312),('2013-12-03',201349,12,2013,3,49,201312),('2013-12-04',201349,12,2013,4,49,201312),('2013-12-05',201349,12,2013,5,49,201312),('2013-12-06',201349,12,2013,6,49,201312),('2013-12-07',201349,12,2013,7,49,201312),('2013-12-08',201350,12,2013,8,50,201312),('2013-12-09',201350,12,2013,9,50,201312),('2013-12-10',201350,12,2013,10,50,201312),('2013-12-11',201350,12,2013,11,50,201312),('2013-12-12',201350,12,2013,12,50,201312),('2013-12-13',201350,12,2013,13,50,201312),('2013-12-14',201350,12,2013,14,50,201312),('2013-12-15',201351,12,2013,15,51,201312),('2013-12-16',201351,12,2013,16,51,201312),('2013-12-17',201351,12,2013,17,51,201312),('2013-12-18',201351,12,2013,18,51,201312),('2013-12-19',201351,12,2013,19,51,201312),('2013-12-20',201351,12,2013,20,51,201312),('2013-12-21',201351,12,2013,21,51,201312),('2013-12-22',201352,12,2013,22,52,201312),('2013-12-23',201352,12,2013,23,52,201312),('2013-12-24',201352,12,2013,24,52,201312),('2013-12-25',201352,12,2013,25,52,201312),('2013-12-26',201352,12,2013,26,52,201312),('2013-12-27',201352,12,2013,27,52,201312),('2013-12-28',201352,12,2013,28,52,201312),('2013-12-29',201401,12,2013,29,1,201312),('2013-12-30',201401,12,2013,30,1,201312),('2013-12-31',201401,12,2013,31,1,201312),('2014-01-01',201401,1,2014,1,1,201401),('2014-01-02',201401,1,2014,2,1,201401),('2014-01-03',201401,1,2014,3,1,201401),('2014-01-04',201401,1,2014,4,1,201401),('2014-01-05',201402,1,2014,5,2,201401),('2014-01-06',201402,1,2014,6,2,201401),('2014-01-07',201402,1,2014,7,2,201401),('2014-01-08',201402,1,2014,8,2,201401),('2014-01-09',201402,1,2014,9,2,201401),('2014-01-10',201402,1,2014,10,2,201401),('2014-01-11',201402,1,2014,11,2,201401),('2014-01-12',201403,1,2014,12,3,201401),('2014-01-13',201403,1,2014,13,3,201401),('2014-01-14',201403,1,2014,14,3,201401),('2014-01-15',201403,1,2014,15,3,201401),('2014-01-16',201403,1,2014,16,3,201401),('2014-01-17',201403,1,2014,17,3,201401),('2014-01-18',201403,1,2014,18,3,201401),('2014-01-19',201404,1,2014,19,4,201401),('2014-01-20',201404,1,2014,20,4,201401),('2014-01-21',201404,1,2014,21,4,201401),('2014-01-22',201404,1,2014,22,4,201401),('2014-01-23',201404,1,2014,23,4,201401),('2014-01-24',201404,1,2014,24,4,201401),('2014-01-25',201404,1,2014,25,4,201401),('2014-01-26',201405,1,2014,26,5,201401),('2014-01-27',201405,1,2014,27,5,201401),('2014-01-28',201405,1,2014,28,5,201401),('2014-01-29',201405,1,2014,29,5,201401),('2014-01-30',201405,1,2014,30,5,201401),('2014-01-31',201405,1,2014,31,5,201401),('2014-02-01',201405,2,2014,1,5,201402),('2014-02-02',201406,2,2014,2,6,201402),('2014-02-03',201406,2,2014,3,6,201402),('2014-02-04',201406,2,2014,4,6,201402),('2014-02-05',201406,2,2014,5,6,201402),('2014-02-06',201406,2,2014,6,6,201402),('2014-02-07',201406,2,2014,7,6,201402),('2014-02-08',201406,2,2014,8,6,201402),('2014-02-09',201407,2,2014,9,7,201402),('2014-02-10',201407,2,2014,10,7,201402),('2014-02-11',201407,2,2014,11,7,201402),('2014-02-12',201407,2,2014,12,7,201402),('2014-02-13',201407,2,2014,13,7,201402),('2014-02-14',201407,2,2014,14,7,201402),('2014-02-15',201407,2,2014,15,7,201402),('2014-02-16',201408,2,2014,16,8,201402),('2014-02-17',201408,2,2014,17,8,201402),('2014-02-18',201408,2,2014,18,8,201402),('2014-02-19',201408,2,2014,19,8,201402),('2014-02-20',201408,2,2014,20,8,201402),('2014-02-21',201408,2,2014,21,8,201402),('2014-02-22',201408,2,2014,22,8,201402),('2014-02-23',201409,2,2014,23,9,201402),('2014-02-24',201409,2,2014,24,9,201402),('2014-02-25',201409,2,2014,25,9,201402),('2014-02-26',201409,2,2014,26,9,201402),('2014-02-27',201409,2,2014,27,9,201402),('2014-02-28',201409,2,2014,28,9,201402),('2014-03-01',201409,3,2014,1,9,201403),('2014-03-02',201410,3,2014,2,10,201403),('2014-03-03',201410,3,2014,3,10,201403),('2014-03-04',201410,3,2014,4,10,201403),('2014-03-05',201410,3,2014,5,10,201403),('2014-03-06',201410,3,2014,6,10,201403),('2014-03-07',201410,3,2014,7,10,201403),('2014-03-08',201410,3,2014,8,10,201403),('2014-03-09',201411,3,2014,9,11,201403),('2014-03-10',201411,3,2014,10,11,201403),('2014-03-11',201411,3,2014,11,11,201403),('2014-03-12',201411,3,2014,12,11,201403),('2014-03-13',201411,3,2014,13,11,201403),('2014-03-14',201411,3,2014,14,11,201403),('2014-03-15',201411,3,2014,15,11,201403),('2014-03-16',201412,3,2014,16,12,201403),('2014-03-17',201412,3,2014,17,12,201403),('2014-03-18',201412,3,2014,18,12,201403),('2014-03-19',201412,3,2014,19,12,201403),('2014-03-20',201412,3,2014,20,12,201403),('2014-03-21',201412,3,2014,21,12,201403),('2014-03-22',201412,3,2014,22,12,201403),('2014-03-23',201413,3,2014,23,13,201403),('2014-03-24',201413,3,2014,24,13,201403),('2014-03-25',201413,3,2014,25,13,201403),('2014-03-26',201413,3,2014,26,13,201403),('2014-03-27',201413,3,2014,27,13,201403),('2014-03-28',201413,3,2014,28,13,201403),('2014-03-29',201413,3,2014,29,13,201403),('2014-03-30',201414,3,2014,30,14,201403),('2014-03-31',201414,3,2014,31,14,201403),('2014-04-01',201414,4,2014,1,14,201404),('2014-04-02',201414,4,2014,2,14,201404),('2014-04-03',201414,4,2014,3,14,201404),('2014-04-04',201414,4,2014,4,14,201404),('2014-04-05',201414,4,2014,5,14,201404),('2014-04-06',201415,4,2014,6,15,201404),('2014-04-07',201415,4,2014,7,15,201404),('2014-04-08',201415,4,2014,8,15,201404),('2014-04-09',201415,4,2014,9,15,201404),('2014-04-10',201415,4,2014,10,15,201404),('2014-04-11',201415,4,2014,11,15,201404),('2014-04-12',201415,4,2014,12,15,201404),('2014-04-13',201416,4,2014,13,16,201404),('2014-04-14',201416,4,2014,14,16,201404),('2014-04-15',201416,4,2014,15,16,201404),('2014-04-16',201416,4,2014,16,16,201404),('2014-04-17',201416,4,2014,17,16,201404),('2014-04-18',201416,4,2014,18,16,201404),('2014-04-19',201416,4,2014,19,16,201404),('2014-04-20',201417,4,2014,20,17,201404),('2014-04-21',201417,4,2014,21,17,201404),('2014-04-22',201417,4,2014,22,17,201404),('2014-04-23',201417,4,2014,23,17,201404),('2014-04-24',201417,4,2014,24,17,201404),('2014-04-25',201417,4,2014,25,17,201404),('2014-04-26',201417,4,2014,26,17,201404),('2014-04-27',201418,4,2014,27,18,201404),('2014-04-28',201418,4,2014,28,18,201404),('2014-04-29',201418,4,2014,29,18,201404),('2014-04-30',201418,4,2014,30,18,201404),('2014-05-01',201418,5,2014,1,18,201405),('2014-05-02',201418,5,2014,2,18,201405),('2014-05-03',201418,5,2014,3,18,201405),('2014-05-04',201419,5,2014,4,19,201405),('2014-05-05',201419,5,2014,5,19,201405),('2014-05-06',201419,5,2014,6,19,201405),('2014-05-07',201419,5,2014,7,19,201405),('2014-05-08',201419,5,2014,8,19,201405),('2014-05-09',201419,5,2014,9,19,201405),('2014-05-10',201419,5,2014,10,19,201405),('2014-05-11',201420,5,2014,11,20,201405),('2014-05-12',201420,5,2014,12,20,201405),('2014-05-13',201420,5,2014,13,20,201405),('2014-05-14',201420,5,2014,14,20,201405),('2014-05-15',201420,5,2014,15,20,201405),('2014-05-16',201420,5,2014,16,20,201405),('2014-05-17',201420,5,2014,17,20,201405),('2014-05-18',201421,5,2014,18,21,201405),('2014-05-19',201421,5,2014,19,21,201405),('2014-05-20',201421,5,2014,20,21,201405),('2014-05-21',201421,5,2014,21,21,201405),('2014-05-22',201421,5,2014,22,21,201405),('2014-05-23',201421,5,2014,23,21,201405),('2014-05-24',201421,5,2014,24,21,201405),('2014-05-25',201422,5,2014,25,22,201405),('2014-05-26',201422,5,2014,26,22,201405),('2014-05-27',201422,5,2014,27,22,201405),('2014-05-28',201422,5,2014,28,22,201405),('2014-05-29',201422,5,2014,29,22,201405),('2014-05-30',201422,5,2014,30,22,201405),('2014-05-31',201422,5,2014,31,22,201405),('2014-06-01',201423,6,2014,1,23,201406),('2014-06-02',201423,6,2014,2,23,201406),('2014-06-03',201423,6,2014,3,23,201406),('2014-06-04',201423,6,2014,4,23,201406),('2014-06-05',201423,6,2014,5,23,201406),('2014-06-06',201423,6,2014,6,23,201406),('2014-06-07',201423,6,2014,7,23,201406),('2014-06-08',201424,6,2014,8,24,201406),('2014-06-09',201424,6,2014,9,24,201406),('2014-06-10',201424,6,2014,10,24,201406),('2014-06-11',201424,6,2014,11,24,201406),('2014-06-12',201424,6,2014,12,24,201406),('2014-06-13',201424,6,2014,13,24,201406),('2014-06-14',201424,6,2014,14,24,201406),('2014-06-15',201425,6,2014,15,25,201406),('2014-06-16',201425,6,2014,16,25,201406),('2014-06-17',201425,6,2014,17,25,201406),('2014-06-18',201425,6,2014,18,25,201406),('2014-06-19',201425,6,2014,19,25,201406),('2014-06-20',201425,6,2014,20,25,201406),('2014-06-21',201425,6,2014,21,25,201406),('2014-06-22',201426,6,2014,22,26,201406),('2014-06-23',201426,6,2014,23,26,201406),('2014-06-24',201426,6,2014,24,26,201406),('2014-06-25',201426,6,2014,25,26,201406),('2014-06-26',201426,6,2014,26,26,201406),('2014-06-27',201426,6,2014,27,26,201406),('2014-06-28',201426,6,2014,28,26,201406),('2014-06-29',201427,6,2014,29,27,201406),('2014-06-30',201427,6,2014,30,27,201406),('2014-07-01',201427,7,2014,1,27,201407),('2014-07-02',201427,7,2014,2,27,201407),('2014-07-03',201427,7,2014,3,27,201407),('2014-07-04',201427,7,2014,4,27,201407),('2014-07-05',201427,7,2014,5,27,201407),('2014-07-06',201428,7,2014,6,28,201407),('2014-07-07',201428,7,2014,7,28,201407),('2014-07-08',201428,7,2014,8,28,201407),('2014-07-09',201428,7,2014,9,28,201407),('2014-07-10',201428,7,2014,10,28,201407),('2014-07-11',201428,7,2014,11,28,201407),('2014-07-12',201428,7,2014,12,28,201407),('2014-07-13',201429,7,2014,13,29,201407),('2014-07-14',201429,7,2014,14,29,201407),('2014-07-15',201429,7,2014,15,29,201407),('2014-07-16',201429,7,2014,16,29,201407),('2014-07-17',201429,7,2014,17,29,201407),('2014-07-18',201429,7,2014,18,29,201407),('2014-07-19',201429,7,2014,19,29,201407),('2014-07-20',201430,7,2014,20,30,201407),('2014-07-21',201430,7,2014,21,30,201407),('2014-07-22',201430,7,2014,22,30,201407),('2014-07-23',201430,7,2014,23,30,201407),('2014-07-24',201430,7,2014,24,30,201407),('2014-07-25',201430,7,2014,25,30,201407),('2014-07-26',201430,7,2014,26,30,201407),('2014-07-27',201431,7,2014,27,31,201407),('2014-07-28',201431,7,2014,28,31,201407),('2014-07-29',201431,7,2014,29,31,201407),('2014-07-30',201431,7,2014,30,31,201407),('2014-07-31',201431,7,2014,31,31,201407),('2014-08-01',201431,8,2014,1,31,201408),('2014-08-02',201431,8,2014,2,31,201408),('2014-08-03',201432,8,2014,3,32,201408),('2014-08-04',201432,8,2014,4,32,201408),('2014-08-05',201432,8,2014,5,32,201408),('2014-08-06',201432,8,2014,6,32,201408),('2014-08-07',201432,8,2014,7,32,201408),('2014-08-08',201432,8,2014,8,32,201408),('2014-08-09',201432,8,2014,9,32,201408),('2014-08-10',201433,8,2014,10,33,201408),('2014-08-11',201433,8,2014,11,33,201408),('2014-08-12',201433,8,2014,12,33,201408),('2014-08-13',201433,8,2014,13,33,201408),('2014-08-14',201433,8,2014,14,33,201408),('2014-08-15',201433,8,2014,15,33,201408),('2014-08-16',201433,8,2014,16,33,201408),('2014-08-17',201434,8,2014,17,34,201408),('2014-08-18',201434,8,2014,18,34,201408),('2014-08-19',201434,8,2014,19,34,201408),('2014-08-20',201434,8,2014,20,34,201408),('2014-08-21',201434,8,2014,21,34,201408),('2014-08-22',201434,8,2014,22,34,201408),('2014-08-23',201434,8,2014,23,34,201408),('2014-08-24',201435,8,2014,24,35,201408),('2014-08-25',201435,8,2014,25,35,201408),('2014-08-26',201435,8,2014,26,35,201408),('2014-08-27',201435,8,2014,27,35,201408),('2014-08-28',201435,8,2014,28,35,201408),('2014-08-29',201435,8,2014,29,35,201408),('2014-08-30',201435,8,2014,30,35,201408),('2014-08-31',201436,8,2014,31,36,201408),('2014-09-01',201436,9,2014,1,36,201409),('2014-09-02',201436,9,2014,2,36,201409),('2014-09-03',201436,9,2014,3,36,201409),('2014-09-04',201436,9,2014,4,36,201409),('2014-09-05',201436,9,2014,5,36,201409),('2014-09-06',201436,9,2014,6,36,201409),('2014-09-07',201437,9,2014,7,37,201409),('2014-09-08',201437,9,2014,8,37,201409),('2014-09-09',201437,9,2014,9,37,201409),('2014-09-10',201437,9,2014,10,37,201409),('2014-09-11',201437,9,2014,11,37,201409),('2014-09-12',201437,9,2014,12,37,201409),('2014-09-13',201437,9,2014,13,37,201409),('2014-09-14',201438,9,2014,14,38,201409),('2014-09-15',201438,9,2014,15,38,201409),('2014-09-16',201438,9,2014,16,38,201409),('2014-09-17',201438,9,2014,17,38,201409),('2014-09-18',201438,9,2014,18,38,201409),('2014-09-19',201438,9,2014,19,38,201409),('2014-09-20',201438,9,2014,20,38,201409),('2014-09-21',201439,9,2014,21,39,201409),('2014-09-22',201439,9,2014,22,39,201409),('2014-09-23',201439,9,2014,23,39,201409),('2014-09-24',201439,9,2014,24,39,201409),('2014-09-25',201439,9,2014,25,39,201409),('2014-09-26',201439,9,2014,26,39,201409),('2014-09-27',201439,9,2014,27,39,201409),('2014-09-28',201440,9,2014,28,40,201409),('2014-09-29',201440,9,2014,29,40,201409),('2014-09-30',201440,9,2014,30,40,201409),('2014-10-01',201440,10,2014,1,40,201410),('2014-10-02',201440,10,2014,2,40,201410),('2014-10-03',201440,10,2014,3,40,201410),('2014-10-04',201440,10,2014,4,40,201410),('2014-10-05',201441,10,2014,5,41,201410),('2014-10-06',201441,10,2014,6,41,201410),('2014-10-07',201441,10,2014,7,41,201410),('2014-10-08',201441,10,2014,8,41,201410),('2014-10-09',201441,10,2014,9,41,201410),('2014-10-10',201441,10,2014,10,41,201410),('2014-10-11',201441,10,2014,11,41,201410),('2014-10-12',201442,10,2014,12,42,201410),('2014-10-13',201442,10,2014,13,42,201410),('2014-10-14',201442,10,2014,14,42,201410),('2014-10-15',201442,10,2014,15,42,201410),('2014-10-16',201442,10,2014,16,42,201410),('2014-10-17',201442,10,2014,17,42,201410),('2014-10-18',201442,10,2014,18,42,201410),('2014-10-19',201443,10,2014,19,43,201410),('2014-10-20',201443,10,2014,20,43,201410),('2014-10-21',201443,10,2014,21,43,201410),('2014-10-22',201443,10,2014,22,43,201410),('2014-10-23',201443,10,2014,23,43,201410),('2014-10-24',201443,10,2014,24,43,201410),('2014-10-25',201443,10,2014,25,43,201410),('2014-10-26',201444,10,2014,26,44,201410),('2014-10-27',201444,10,2014,27,44,201410),('2014-10-28',201444,10,2014,28,44,201410),('2014-10-29',201444,10,2014,29,44,201410),('2014-10-30',201444,10,2014,30,44,201410),('2014-10-31',201444,10,2014,31,44,201410),('2014-11-01',201444,11,2014,1,44,201411),('2014-11-02',201445,11,2014,2,45,201411),('2014-11-03',201445,11,2014,3,45,201411),('2014-11-04',201445,11,2014,4,45,201411),('2014-11-05',201445,11,2014,5,45,201411),('2014-11-06',201445,11,2014,6,45,201411),('2014-11-07',201445,11,2014,7,45,201411),('2014-11-08',201445,11,2014,8,45,201411),('2014-11-09',201446,11,2014,9,46,201411),('2014-11-10',201446,11,2014,10,46,201411),('2014-11-11',201446,11,2014,11,46,201411),('2014-11-12',201446,11,2014,12,46,201411),('2014-11-13',201446,11,2014,13,46,201411),('2014-11-14',201446,11,2014,14,46,201411),('2014-11-15',201446,11,2014,15,46,201411),('2014-11-16',201447,11,2014,16,47,201411),('2014-11-17',201447,11,2014,17,47,201411),('2014-11-18',201447,11,2014,18,47,201411),('2014-11-19',201447,11,2014,19,47,201411),('2014-11-20',201447,11,2014,20,47,201411),('2014-11-21',201447,11,2014,21,47,201411),('2014-11-22',201447,11,2014,22,47,201411),('2014-11-23',201448,11,2014,23,48,201411),('2014-11-24',201448,11,2014,24,48,201411),('2014-11-25',201448,11,2014,25,48,201411),('2014-11-26',201448,11,2014,26,48,201411),('2014-11-27',201448,11,2014,27,48,201411),('2014-11-28',201448,11,2014,28,48,201411),('2014-11-29',201448,11,2014,29,48,201411),('2014-11-30',201449,11,2014,30,49,201411),('2014-12-01',201449,12,2014,1,49,201412),('2014-12-02',201449,12,2014,2,49,201412),('2014-12-03',201449,12,2014,3,49,201412),('2014-12-04',201449,12,2014,4,49,201412),('2014-12-05',201449,12,2014,5,49,201412),('2014-12-06',201449,12,2014,6,49,201412),('2014-12-07',201450,12,2014,7,50,201412),('2014-12-08',201450,12,2014,8,50,201412),('2014-12-09',201450,12,2014,9,50,201412),('2014-12-10',201450,12,2014,10,50,201412),('2014-12-11',201450,12,2014,11,50,201412),('2014-12-12',201450,12,2014,12,50,201412),('2014-12-13',201450,12,2014,13,50,201412),('2014-12-14',201451,12,2014,14,51,201412),('2014-12-15',201451,12,2014,15,51,201412),('2014-12-16',201451,12,2014,16,51,201412),('2014-12-17',201451,12,2014,17,51,201412),('2014-12-18',201451,12,2014,18,51,201412),('2014-12-19',201451,12,2014,19,51,201412),('2014-12-20',201451,12,2014,20,51,201412),('2014-12-21',201452,12,2014,21,52,201412),('2014-12-22',201452,12,2014,22,52,201412),('2014-12-23',201452,12,2014,23,52,201412),('2014-12-24',201452,12,2014,24,52,201412),('2014-12-25',201452,12,2014,25,52,201412),('2014-12-26',201452,12,2014,26,52,201412),('2014-12-27',201452,12,2014,27,52,201412),('2014-12-28',201453,12,2014,28,53,201412),('2014-12-29',201453,12,2014,29,53,201412),('2014-12-30',201453,12,2014,30,53,201412),('2014-12-31',201453,12,2014,31,53,201412),('2015-01-01',201453,1,2015,1,53,201501),('2015-01-02',201453,1,2015,2,53,201501),('2015-01-03',201453,1,2015,3,53,201501),('2015-01-04',201501,1,2015,4,1,201501),('2015-01-05',201501,1,2015,5,1,201501),('2015-01-06',201501,1,2015,6,1,201501),('2015-01-07',201501,1,2015,7,1,201501),('2015-01-08',201501,1,2015,8,1,201501),('2015-01-09',201501,1,2015,9,1,201501),('2015-01-10',201501,1,2015,10,1,201501),('2015-01-11',201502,1,2015,11,2,201501),('2015-01-12',201502,1,2015,12,2,201501),('2015-01-13',201502,1,2015,13,2,201501),('2015-01-14',201502,1,2015,14,2,201501),('2015-01-15',201502,1,2015,15,2,201501),('2015-01-16',201502,1,2015,16,2,201501),('2015-01-17',201502,1,2015,17,2,201501),('2015-01-18',201503,1,2015,18,3,201501),('2015-01-19',201503,1,2015,19,3,201501),('2015-01-20',201503,1,2015,20,3,201501),('2015-01-21',201503,1,2015,21,3,201501),('2015-01-22',201503,1,2015,22,3,201501),('2015-01-23',201503,1,2015,23,3,201501),('2015-01-24',201503,1,2015,24,3,201501),('2015-01-25',201504,1,2015,25,4,201501),('2015-01-26',201504,1,2015,26,4,201501),('2015-01-27',201504,1,2015,27,4,201501),('2015-01-28',201504,1,2015,28,4,201501),('2015-01-29',201504,1,2015,29,4,201501),('2015-01-30',201504,1,2015,30,4,201501),('2015-01-31',201504,1,2015,31,4,201501),('2015-02-01',201505,2,2015,1,5,201502),('2015-02-02',201505,2,2015,2,5,201502),('2015-02-03',201505,2,2015,3,5,201502),('2015-02-04',201505,2,2015,4,5,201502),('2015-02-05',201505,2,2015,5,5,201502),('2015-02-06',201505,2,2015,6,5,201502),('2015-02-07',201505,2,2015,7,5,201502),('2015-02-08',201506,2,2015,8,6,201502),('2015-02-09',201506,2,2015,9,6,201502),('2015-02-10',201506,2,2015,10,6,201502),('2015-02-11',201506,2,2015,11,6,201502),('2015-02-12',201506,2,2015,12,6,201502),('2015-02-13',201506,2,2015,13,6,201502),('2015-02-14',201506,2,2015,14,6,201502),('2015-02-15',201507,2,2015,15,7,201502),('2015-02-16',201507,2,2015,16,7,201502),('2015-02-17',201507,2,2015,17,7,201502),('2015-02-18',201507,2,2015,18,7,201502),('2015-02-19',201507,2,2015,19,7,201502),('2015-02-20',201507,2,2015,20,7,201502),('2015-02-21',201507,2,2015,21,7,201502),('2015-02-22',201508,2,2015,22,8,201502),('2015-02-23',201508,2,2015,23,8,201502),('2015-02-24',201508,2,2015,24,8,201502),('2015-02-25',201508,2,2015,25,8,201502),('2015-02-26',201508,2,2015,26,8,201502),('2015-02-27',201508,2,2015,27,8,201502),('2015-02-28',201508,2,2015,28,8,201502),('2015-03-01',201509,3,2015,1,9,201503),('2015-03-02',201509,3,2015,2,9,201503),('2015-03-03',201509,3,2015,3,9,201503),('2015-03-04',201509,3,2015,4,9,201503),('2015-03-05',201509,3,2015,5,9,201503),('2015-03-06',201509,3,2015,6,9,201503),('2015-03-07',201509,3,2015,7,9,201503),('2015-03-08',201510,3,2015,8,10,201503),('2015-03-09',201510,3,2015,9,10,201503),('2015-03-10',201510,3,2015,10,10,201503),('2015-03-11',201510,3,2015,11,10,201503),('2015-03-12',201510,3,2015,12,10,201503),('2015-03-13',201510,3,2015,13,10,201503),('2015-03-14',201510,3,2015,14,10,201503),('2015-03-15',201511,3,2015,15,11,201503),('2015-03-16',201511,3,2015,16,11,201503),('2015-03-17',201511,3,2015,17,11,201503),('2015-03-18',201511,3,2015,18,11,201503),('2015-03-19',201511,3,2015,19,11,201503),('2015-03-20',201511,3,2015,20,11,201503),('2015-03-21',201511,3,2015,21,11,201503),('2015-03-22',201512,3,2015,22,12,201503),('2015-03-23',201512,3,2015,23,12,201503),('2015-03-24',201512,3,2015,24,12,201503),('2015-03-25',201512,3,2015,25,12,201503),('2015-03-26',201512,3,2015,26,12,201503),('2015-03-27',201512,3,2015,27,12,201503),('2015-03-28',201512,3,2015,28,12,201503),('2015-03-29',201513,3,2015,29,13,201503),('2015-03-30',201513,3,2015,30,13,201503),('2015-03-31',201513,3,2015,31,13,201503),('2015-04-01',201513,4,2015,1,13,201504),('2015-04-02',201513,4,2015,2,13,201504),('2015-04-03',201513,4,2015,3,13,201504),('2015-04-04',201513,4,2015,4,13,201504),('2015-04-05',201514,4,2015,5,14,201504),('2015-04-06',201514,4,2015,6,14,201504),('2015-04-07',201514,4,2015,7,14,201504),('2015-04-08',201514,4,2015,8,14,201504),('2015-04-09',201514,4,2015,9,14,201504),('2015-04-10',201514,4,2015,10,14,201504),('2015-04-11',201514,4,2015,11,14,201504),('2015-04-12',201515,4,2015,12,15,201504),('2015-04-13',201515,4,2015,13,15,201504),('2015-04-14',201515,4,2015,14,15,201504),('2015-04-15',201515,4,2015,15,15,201504),('2015-04-16',201515,4,2015,16,15,201504),('2015-04-17',201515,4,2015,17,15,201504),('2015-04-18',201515,4,2015,18,15,201504),('2015-04-19',201516,4,2015,19,16,201504),('2015-04-20',201516,4,2015,20,16,201504),('2015-04-21',201516,4,2015,21,16,201504),('2015-04-22',201516,4,2015,22,16,201504),('2015-04-23',201516,4,2015,23,16,201504),('2015-04-24',201516,4,2015,24,16,201504),('2015-04-25',201516,4,2015,25,16,201504),('2015-04-26',201517,4,2015,26,17,201504),('2015-04-27',201517,4,2015,27,17,201504),('2015-04-28',201517,4,2015,28,17,201504),('2015-04-29',201517,4,2015,29,17,201504),('2015-04-30',201517,4,2015,30,17,201504),('2015-05-01',201517,5,2015,1,17,201505),('2015-05-02',201517,5,2015,2,17,201505),('2015-05-03',201518,5,2015,3,18,201505),('2015-05-04',201518,5,2015,4,18,201505),('2015-05-05',201518,5,2015,5,18,201505),('2015-05-06',201518,5,2015,6,18,201505),('2015-05-07',201518,5,2015,7,18,201505),('2015-05-08',201518,5,2015,8,18,201505),('2015-05-09',201518,5,2015,9,18,201505),('2015-05-10',201519,5,2015,10,19,201505),('2015-05-11',201519,5,2015,11,19,201505),('2015-05-12',201519,5,2015,12,19,201505),('2015-05-13',201519,5,2015,13,19,201505),('2015-05-14',201519,5,2015,14,19,201505),('2015-05-15',201519,5,2015,15,19,201505),('2015-05-16',201519,5,2015,16,19,201505),('2015-05-17',201520,5,2015,17,20,201505),('2015-05-18',201520,5,2015,18,20,201505),('2015-05-19',201520,5,2015,19,20,201505),('2015-05-20',201520,5,2015,20,20,201505),('2015-05-21',201520,5,2015,21,20,201505),('2015-05-22',201520,5,2015,22,20,201505),('2015-05-23',201520,5,2015,23,20,201505),('2015-05-24',201521,5,2015,24,21,201505),('2015-05-25',201521,5,2015,25,21,201505),('2015-05-26',201521,5,2015,26,21,201505),('2015-05-27',201521,5,2015,27,21,201505),('2015-05-28',201521,5,2015,28,21,201505),('2015-05-29',201521,5,2015,29,21,201505),('2015-05-30',201521,5,2015,30,21,201505),('2015-05-31',201522,5,2015,31,22,201505),('2015-06-01',201522,6,2015,1,22,201506),('2015-06-02',201522,6,2015,2,22,201506),('2015-06-03',201522,6,2015,3,22,201506),('2015-06-04',201522,6,2015,4,22,201506),('2015-06-05',201522,6,2015,5,22,201506),('2015-06-06',201522,6,2015,6,22,201506),('2015-06-07',201523,6,2015,7,23,201506),('2015-06-08',201523,6,2015,8,23,201506),('2015-06-09',201523,6,2015,9,23,201506),('2015-06-10',201523,6,2015,10,23,201506),('2015-06-11',201523,6,2015,11,23,201506),('2015-06-12',201523,6,2015,12,23,201506),('2015-06-13',201523,6,2015,13,23,201506),('2015-06-14',201524,6,2015,14,24,201506),('2015-06-15',201524,6,2015,15,24,201506),('2015-06-16',201524,6,2015,16,24,201506),('2015-06-17',201524,6,2015,17,24,201506),('2015-06-18',201524,6,2015,18,24,201506),('2015-06-19',201524,6,2015,19,24,201506),('2015-06-20',201524,6,2015,20,24,201506),('2015-06-21',201525,6,2015,21,25,201506),('2015-06-22',201525,6,2015,22,25,201506),('2015-06-23',201525,6,2015,23,25,201506),('2015-06-24',201525,6,2015,24,25,201506),('2015-06-25',201525,6,2015,25,25,201506),('2015-06-26',201525,6,2015,26,25,201506),('2015-06-27',201525,6,2015,27,25,201506),('2015-06-28',201526,6,2015,28,26,201506),('2015-06-29',201526,6,2015,29,26,201506),('2015-06-30',201526,6,2015,30,26,201506),('2015-07-01',201526,7,2015,1,26,201507),('2015-07-02',201526,7,2015,2,26,201507),('2015-07-03',201526,7,2015,3,26,201507),('2015-07-04',201526,7,2015,4,26,201507),('2015-07-05',201527,7,2015,5,27,201507),('2015-07-06',201527,7,2015,6,27,201507),('2015-07-07',201527,7,2015,7,27,201507),('2015-07-08',201527,7,2015,8,27,201507),('2015-07-09',201527,7,2015,9,27,201507),('2015-07-10',201527,7,2015,10,27,201507),('2015-07-11',201527,7,2015,11,27,201507),('2015-07-12',201528,7,2015,12,28,201507),('2015-07-13',201528,7,2015,13,28,201507),('2015-07-14',201528,7,2015,14,28,201507),('2015-07-15',201528,7,2015,15,28,201507),('2015-07-16',201528,7,2015,16,28,201507),('2015-07-17',201528,7,2015,17,28,201507),('2015-07-18',201528,7,2015,18,28,201507),('2015-07-19',201529,7,2015,19,29,201507),('2015-07-20',201529,7,2015,20,29,201507),('2015-07-21',201529,7,2015,21,29,201507),('2015-07-22',201529,7,2015,22,29,201507),('2015-07-23',201529,7,2015,23,29,201507),('2015-07-24',201529,7,2015,24,29,201507),('2015-07-25',201529,7,2015,25,29,201507),('2015-07-26',201530,7,2015,26,30,201507),('2015-07-27',201530,7,2015,27,30,201507),('2015-07-28',201530,7,2015,28,30,201507),('2015-07-29',201530,7,2015,29,30,201507),('2015-07-30',201530,7,2015,30,30,201507),('2015-07-31',201530,7,2015,31,30,201507),('2015-08-01',201530,8,2015,1,30,201508),('2015-08-02',201531,8,2015,2,31,201508),('2015-08-03',201531,8,2015,3,31,201508),('2015-08-04',201531,8,2015,4,31,201508),('2015-08-05',201531,8,2015,5,31,201508),('2015-08-06',201531,8,2015,6,31,201508),('2015-08-07',201531,8,2015,7,31,201508),('2015-08-08',201531,8,2015,8,31,201508),('2015-08-09',201532,8,2015,9,32,201508),('2015-08-10',201532,8,2015,10,32,201508),('2015-08-11',201532,8,2015,11,32,201508),('2015-08-12',201532,8,2015,12,32,201508),('2015-08-13',201532,8,2015,13,32,201508),('2015-08-14',201532,8,2015,14,32,201508),('2015-08-15',201532,8,2015,15,32,201508),('2015-08-16',201533,8,2015,16,33,201508),('2015-08-17',201533,8,2015,17,33,201508),('2015-08-18',201533,8,2015,18,33,201508),('2015-08-19',201533,8,2015,19,33,201508),('2015-08-20',201533,8,2015,20,33,201508),('2015-08-21',201533,8,2015,21,33,201508),('2015-08-22',201533,8,2015,22,33,201508),('2015-08-23',201534,8,2015,23,34,201508),('2015-08-24',201534,8,2015,24,34,201508),('2015-08-25',201534,8,2015,25,34,201508),('2015-08-26',201534,8,2015,26,34,201508),('2015-08-27',201534,8,2015,27,34,201508),('2015-08-28',201534,8,2015,28,34,201508),('2015-08-29',201534,8,2015,29,34,201508),('2015-08-30',201535,8,2015,30,35,201508),('2015-08-31',201535,8,2015,31,35,201508),('2015-09-01',201535,9,2015,1,35,201509),('2015-09-02',201535,9,2015,2,35,201509),('2015-09-03',201535,9,2015,3,35,201509),('2015-09-04',201535,9,2015,4,35,201509),('2015-09-05',201535,9,2015,5,35,201509),('2015-09-06',201536,9,2015,6,36,201509),('2015-09-07',201536,9,2015,7,36,201509),('2015-09-08',201536,9,2015,8,36,201509),('2015-09-09',201536,9,2015,9,36,201509),('2015-09-10',201536,9,2015,10,36,201509),('2015-09-11',201536,9,2015,11,36,201509),('2015-09-12',201536,9,2015,12,36,201509),('2015-09-13',201537,9,2015,13,37,201509),('2015-09-14',201537,9,2015,14,37,201509),('2015-09-15',201537,9,2015,15,37,201509),('2015-09-16',201537,9,2015,16,37,201509),('2015-09-17',201537,9,2015,17,37,201509),('2015-09-18',201537,9,2015,18,37,201509),('2015-09-19',201537,9,2015,19,37,201509),('2015-09-20',201538,9,2015,20,38,201509),('2015-09-21',201538,9,2015,21,38,201509),('2015-09-22',201538,9,2015,22,38,201509),('2015-09-23',201538,9,2015,23,38,201509),('2015-09-24',201538,9,2015,24,38,201509),('2015-09-25',201538,9,2015,25,38,201509),('2015-09-26',201538,9,2015,26,38,201509),('2015-09-27',201539,9,2015,27,39,201509),('2015-09-28',201539,9,2015,28,39,201509),('2015-09-29',201539,9,2015,29,39,201509),('2015-09-30',201539,9,2015,30,39,201509),('2015-10-01',201539,10,2015,1,39,201510),('2015-10-02',201539,10,2015,2,39,201510),('2015-10-03',201539,10,2015,3,39,201510),('2015-10-04',201540,10,2015,4,40,201510),('2015-10-05',201540,10,2015,5,40,201510),('2015-10-06',201540,10,2015,6,40,201510),('2015-10-07',201540,10,2015,7,40,201510),('2015-10-08',201540,10,2015,8,40,201510),('2015-10-09',201540,10,2015,9,40,201510),('2015-10-10',201540,10,2015,10,40,201510),('2015-10-11',201541,10,2015,11,41,201510),('2015-10-12',201541,10,2015,12,41,201510),('2015-10-13',201541,10,2015,13,41,201510),('2015-10-14',201541,10,2015,14,41,201510),('2015-10-15',201541,10,2015,15,41,201510),('2015-10-16',201541,10,2015,16,41,201510),('2015-10-17',201541,10,2015,17,41,201510),('2015-10-18',201542,10,2015,18,42,201510),('2015-10-19',201542,10,2015,19,42,201510),('2015-10-20',201542,10,2015,20,42,201510),('2015-10-21',201542,10,2015,21,42,201510),('2015-10-22',201542,10,2015,22,42,201510),('2015-10-23',201542,10,2015,23,42,201510),('2015-10-24',201542,10,2015,24,42,201510),('2015-10-25',201543,10,2015,25,43,201510),('2015-10-26',201543,10,2015,26,43,201510),('2015-10-27',201543,10,2015,27,43,201510),('2015-10-28',201543,10,2015,28,43,201510),('2015-10-29',201543,10,2015,29,43,201510),('2015-10-30',201543,10,2015,30,43,201510),('2015-10-31',201543,10,2015,31,43,201510),('2015-11-01',201544,11,2015,1,44,201511),('2015-11-02',201544,11,2015,2,44,201511),('2015-11-03',201544,11,2015,3,44,201511),('2015-11-04',201544,11,2015,4,44,201511),('2015-11-05',201544,11,2015,5,44,201511),('2015-11-06',201544,11,2015,6,44,201511),('2015-11-07',201544,11,2015,7,44,201511),('2015-11-08',201545,11,2015,8,45,201511),('2015-11-09',201545,11,2015,9,45,201511),('2015-11-10',201545,11,2015,10,45,201511),('2015-11-11',201545,11,2015,11,45,201511),('2015-11-12',201545,11,2015,12,45,201511),('2015-11-13',201545,11,2015,13,45,201511),('2015-11-14',201545,11,2015,14,45,201511),('2015-11-15',201546,11,2015,15,46,201511),('2015-11-16',201546,11,2015,16,46,201511),('2015-11-17',201546,11,2015,17,46,201511),('2015-11-18',201546,11,2015,18,46,201511),('2015-11-19',201546,11,2015,19,46,201511),('2015-11-20',201546,11,2015,20,46,201511),('2015-11-21',201546,11,2015,21,46,201511),('2015-11-22',201547,11,2015,22,47,201511),('2015-11-23',201547,11,2015,23,47,201511),('2015-11-24',201547,11,2015,24,47,201511),('2015-11-25',201547,11,2015,25,47,201511),('2015-11-26',201547,11,2015,26,47,201511),('2015-11-27',201547,11,2015,27,47,201511),('2015-11-28',201547,11,2015,28,47,201511),('2015-11-29',201548,11,2015,29,48,201511),('2015-11-30',201548,11,2015,30,48,201511),('2015-12-01',201548,12,2015,1,48,201512),('2015-12-02',201548,12,2015,2,48,201512),('2015-12-03',201548,12,2015,3,48,201512),('2015-12-04',201548,12,2015,4,48,201512),('2015-12-05',201548,12,2015,5,48,201512),('2015-12-06',201549,12,2015,6,49,201512),('2015-12-07',201549,12,2015,7,49,201512),('2015-12-08',201549,12,2015,8,49,201512),('2015-12-09',201549,12,2015,9,49,201512),('2015-12-10',201549,12,2015,10,49,201512),('2015-12-11',201549,12,2015,11,49,201512),('2015-12-12',201549,12,2015,12,49,201512),('2015-12-13',201550,12,2015,13,50,201512),('2015-12-14',201550,12,2015,14,50,201512),('2015-12-15',201550,12,2015,15,50,201512),('2015-12-16',201550,12,2015,16,50,201512),('2015-12-17',201550,12,2015,17,50,201512),('2015-12-18',201550,12,2015,18,50,201512),('2015-12-19',201550,12,2015,19,50,201512),('2015-12-20',201551,12,2015,20,51,201512),('2015-12-21',201551,12,2015,21,51,201512),('2015-12-22',201551,12,2015,22,51,201512),('2015-12-23',201551,12,2015,23,51,201512),('2015-12-24',201551,12,2015,24,51,201512),('2015-12-25',201551,12,2015,25,51,201512),('2015-12-26',201551,12,2015,26,51,201512),('2015-12-27',201552,12,2015,27,52,201512),('2015-12-28',201552,12,2015,28,52,201512),('2015-12-29',201552,12,2015,29,52,201512),('2015-12-30',201552,12,2015,30,52,201512),('2015-12-31',201552,12,2015,31,52,201512),('2016-01-01',201552,1,2016,1,1,201601),('2016-01-02',201552,1,2016,2,1,201601),('2016-01-03',201601,1,2016,3,1,201601),('2016-01-04',201601,1,2016,4,1,201601),('2016-01-05',201601,1,2016,5,1,201601),('2016-01-06',201601,1,2016,6,1,201601),('2016-01-07',201601,1,2016,7,1,201601),('2016-01-08',201601,1,2016,8,1,201601),('2016-01-09',201601,1,2016,9,1,201601),('2016-01-10',201602,1,2016,10,2,201601),('2016-01-11',201602,1,2016,11,2,201601),('2016-01-12',201602,1,2016,12,2,201601),('2016-01-13',201602,1,2016,13,2,201601),('2016-01-14',201602,1,2016,14,2,201601),('2016-01-15',201602,1,2016,15,2,201601),('2016-01-16',201602,1,2016,16,2,201601),('2016-01-17',201603,1,2016,17,3,201601),('2016-01-18',201603,1,2016,18,3,201601),('2016-01-19',201603,1,2016,19,3,201601),('2016-01-20',201603,1,2016,20,3,201601),('2016-01-21',201603,1,2016,21,3,201601),('2016-01-22',201603,1,2016,22,3,201601),('2016-01-23',201603,1,2016,23,3,201601),('2016-01-24',201604,1,2016,24,4,201601),('2016-01-25',201604,1,2016,25,4,201601),('2016-01-26',201604,1,2016,26,4,201601),('2016-01-27',201604,1,2016,27,4,201601),('2016-01-28',201604,1,2016,28,4,201601),('2016-01-29',201604,1,2016,29,4,201601),('2016-01-30',201604,1,2016,30,4,201601),('2016-01-31',201605,1,2016,31,5,201601),('2016-02-01',201605,2,2016,1,5,201602),('2016-02-02',201605,2,2016,2,5,201602),('2016-02-03',201605,2,2016,3,5,201602),('2016-02-04',201605,2,2016,4,5,201602),('2016-02-05',201605,2,2016,5,5,201602),('2016-02-06',201605,2,2016,6,5,201602),('2016-02-07',201606,2,2016,7,6,201602),('2016-02-08',201606,2,2016,8,6,201602),('2016-02-09',201606,2,2016,9,6,201602),('2016-02-10',201606,2,2016,10,6,201602),('2016-02-11',201606,2,2016,11,6,201602),('2016-02-12',201606,2,2016,12,6,201602),('2016-02-13',201606,2,2016,13,6,201602),('2016-02-14',201607,2,2016,14,7,201602),('2016-02-15',201607,2,2016,15,7,201602),('2016-02-16',201607,2,2016,16,7,201602),('2016-02-17',201607,2,2016,17,7,201602),('2016-02-18',201607,2,2016,18,7,201602),('2016-02-19',201607,2,2016,19,7,201602),('2016-02-20',201607,2,2016,20,7,201602),('2016-02-21',201608,2,2016,21,8,201602),('2016-02-22',201608,2,2016,22,8,201602),('2016-02-23',201608,2,2016,23,8,201602),('2016-02-24',201608,2,2016,24,8,201602),('2016-02-25',201608,2,2016,25,8,201602),('2016-02-26',201608,2,2016,26,8,201602),('2016-02-27',201608,2,2016,27,8,201602),('2016-02-28',201609,2,2016,28,9,201602),('2016-02-29',201609,2,2016,29,9,201602),('2016-03-01',201609,3,2016,1,9,201603),('2016-03-02',201609,3,2016,2,9,201603),('2016-03-03',201609,3,2016,3,9,201603),('2016-03-04',201609,3,2016,4,9,201603),('2016-03-05',201609,3,2016,5,9,201603),('2016-03-06',201610,3,2016,6,10,201603),('2016-03-07',201610,3,2016,7,10,201603),('2016-03-08',201610,3,2016,8,10,201603),('2016-03-09',201610,3,2016,9,10,201603),('2016-03-10',201610,3,2016,10,10,201603),('2016-03-11',201610,3,2016,11,10,201603),('2016-03-12',201610,3,2016,12,10,201603),('2016-03-13',201611,3,2016,13,11,201603),('2016-03-14',201611,3,2016,14,11,201603),('2016-03-15',201611,3,2016,15,11,201603),('2016-03-16',201611,3,2016,16,11,201603),('2016-03-17',201611,3,2016,17,11,201603),('2016-03-18',201611,3,2016,18,11,201603),('2016-03-19',201611,3,2016,19,11,201603),('2016-03-20',201612,3,2016,20,12,201603),('2016-03-21',201612,3,2016,21,12,201603),('2016-03-22',201612,3,2016,22,12,201603),('2016-03-23',201612,3,2016,23,12,201603),('2016-03-24',201612,3,2016,24,12,201603),('2016-03-25',201612,3,2016,25,12,201603),('2016-03-26',201612,3,2016,26,12,201603),('2016-03-27',201613,3,2016,27,13,201603),('2016-03-28',201613,3,2016,28,13,201603),('2016-03-29',201613,3,2016,29,13,201603),('2016-03-30',201613,3,2016,30,13,201603),('2016-03-31',201613,3,2016,31,13,201603),('2016-04-01',201613,4,2016,1,13,201604),('2016-04-02',201613,4,2016,2,13,201604),('2016-04-03',201614,4,2016,3,14,201604),('2016-04-04',201614,4,2016,4,14,201604),('2016-04-05',201614,4,2016,5,14,201604),('2016-04-06',201614,4,2016,6,14,201604),('2016-04-07',201614,4,2016,7,14,201604),('2016-04-08',201614,4,2016,8,14,201604),('2016-04-09',201614,4,2016,9,14,201604),('2016-04-10',201615,4,2016,10,15,201604),('2016-04-11',201615,4,2016,11,15,201604),('2016-04-12',201615,4,2016,12,15,201604),('2016-04-13',201615,4,2016,13,15,201604),('2016-04-14',201615,4,2016,14,15,201604),('2016-04-15',201615,4,2016,15,15,201604),('2016-04-16',201615,4,2016,16,15,201604),('2016-04-17',201616,4,2016,17,16,201604),('2016-04-18',201616,4,2016,18,16,201604),('2016-04-19',201616,4,2016,19,16,201604),('2016-04-20',201616,4,2016,20,16,201604),('2016-04-21',201616,4,2016,21,16,201604),('2016-04-22',201616,4,2016,22,16,201604),('2016-04-23',201616,4,2016,23,16,201604),('2016-04-24',201617,4,2016,24,17,201604),('2016-04-25',201617,4,2016,25,17,201604),('2016-04-26',201617,4,2016,26,17,201604),('2016-04-27',201617,4,2016,27,17,201604),('2016-04-28',201617,4,2016,28,17,201604),('2016-04-29',201617,4,2016,29,17,201604),('2016-04-30',201617,4,2016,30,17,201604),('2016-05-01',201618,5,2016,1,18,201605),('2016-05-02',201618,5,2016,2,18,201605),('2016-05-03',201618,5,2016,3,18,201605),('2016-05-04',201618,5,2016,4,18,201605),('2016-05-05',201618,5,2016,5,18,201605),('2016-05-06',201618,5,2016,6,18,201605),('2016-05-07',201618,5,2016,7,18,201605),('2016-05-08',201619,5,2016,8,19,201605),('2016-05-09',201619,5,2016,9,19,201605),('2016-05-10',201619,5,2016,10,19,201605),('2016-05-11',201619,5,2016,11,19,201605),('2016-05-12',201619,5,2016,12,19,201605),('2016-05-13',201619,5,2016,13,19,201605),('2016-05-14',201619,5,2016,14,19,201605),('2016-05-15',201620,5,2016,15,20,201605),('2016-05-16',201620,5,2016,16,20,201605),('2016-05-17',201620,5,2016,17,20,201605),('2016-05-18',201620,5,2016,18,20,201605),('2016-05-19',201620,5,2016,19,20,201605),('2016-05-20',201620,5,2016,20,20,201605),('2016-05-21',201620,5,2016,21,20,201605),('2016-05-22',201621,5,2016,22,21,201605),('2016-05-23',201621,5,2016,23,21,201605),('2016-05-24',201621,5,2016,24,21,201605),('2016-05-25',201621,5,2016,25,21,201605),('2016-05-26',201621,5,2016,26,21,201605),('2016-05-27',201621,5,2016,27,21,201605),('2016-05-28',201621,5,2016,28,21,201605),('2016-05-29',201622,5,2016,29,22,201605),('2016-05-30',201622,5,2016,30,22,201605),('2016-05-31',201622,5,2016,31,22,201605),('2016-06-01',201622,6,2016,1,22,201606),('2016-06-02',201622,6,2016,2,22,201606),('2016-06-03',201622,6,2016,3,22,201606),('2016-06-04',201622,6,2016,4,22,201606),('2016-06-05',201623,6,2016,5,23,201606),('2016-06-06',201623,6,2016,6,23,201606),('2016-06-07',201623,6,2016,7,23,201606),('2016-06-08',201623,6,2016,8,23,201606),('2016-06-09',201623,6,2016,9,23,201606),('2016-06-10',201623,6,2016,10,23,201606),('2016-06-11',201623,6,2016,11,23,201606),('2016-06-12',201624,6,2016,12,24,201606),('2016-06-13',201624,6,2016,13,24,201606),('2016-06-14',201624,6,2016,14,24,201606),('2016-06-15',201624,6,2016,15,24,201606),('2016-06-16',201624,6,2016,16,24,201606),('2016-06-17',201624,6,2016,17,24,201606),('2016-06-18',201624,6,2016,18,24,201606),('2016-06-19',201625,6,2016,19,25,201606),('2016-06-20',201625,6,2016,20,25,201606),('2016-06-21',201625,6,2016,21,25,201606),('2016-06-22',201625,6,2016,22,25,201606),('2016-06-23',201625,6,2016,23,25,201606),('2016-06-24',201625,6,2016,24,25,201606),('2016-06-25',201625,6,2016,25,25,201606),('2016-06-26',201626,6,2016,26,26,201606),('2016-06-27',201626,6,2016,27,26,201606),('2016-06-28',201626,6,2016,28,26,201606),('2016-06-29',201626,6,2016,29,26,201606),('2016-06-30',201626,6,2016,30,26,201606),('2016-07-01',201626,7,2016,1,26,201607),('2016-07-02',201626,7,2016,2,26,201607),('2016-07-03',201627,7,2016,3,27,201607),('2016-07-04',201627,7,2016,4,27,201607),('2016-07-05',201627,7,2016,5,27,201607),('2016-07-06',201627,7,2016,6,27,201607),('2016-07-07',201627,7,2016,7,27,201607),('2016-07-08',201627,7,2016,8,27,201607),('2016-07-09',201627,7,2016,9,27,201607),('2016-07-10',201628,7,2016,10,28,201607),('2016-07-11',201628,7,2016,11,28,201607),('2016-07-12',201628,7,2016,12,28,201607),('2016-07-13',201628,7,2016,13,28,201607),('2016-07-14',201628,7,2016,14,28,201607),('2016-07-15',201628,7,2016,15,28,201607),('2016-07-16',201628,7,2016,16,28,201607),('2016-07-17',201629,7,2016,17,29,201607),('2016-07-18',201629,7,2016,18,29,201607),('2016-07-19',201629,7,2016,19,29,201607),('2016-07-20',201629,7,2016,20,29,201607),('2016-07-21',201629,7,2016,21,29,201607),('2016-07-22',201629,7,2016,22,29,201607),('2016-07-23',201629,7,2016,23,29,201607),('2016-07-24',201630,7,2016,24,30,201607),('2016-07-25',201630,7,2016,25,30,201607),('2016-07-26',201630,7,2016,26,30,201607),('2016-07-27',201630,7,2016,27,30,201607),('2016-07-28',201630,7,2016,28,30,201607),('2016-07-29',201630,7,2016,29,30,201607),('2016-07-30',201630,7,2016,30,30,201607),('2016-07-31',201631,7,2016,31,31,201607),('2016-08-01',201631,8,2016,1,31,201608),('2016-08-02',201631,8,2016,2,31,201608),('2016-08-03',201631,8,2016,3,31,201608),('2016-08-04',201631,8,2016,4,31,201608),('2016-08-05',201631,8,2016,5,31,201608),('2016-08-06',201631,8,2016,6,31,201608),('2016-08-07',201632,8,2016,7,32,201608),('2016-08-08',201632,8,2016,8,32,201608),('2016-08-09',201632,8,2016,9,32,201608),('2016-08-10',201632,8,2016,10,32,201608),('2016-08-11',201632,8,2016,11,32,201608),('2016-08-12',201632,8,2016,12,32,201608),('2016-08-13',201632,8,2016,13,32,201608),('2016-08-14',201633,8,2016,14,33,201608),('2016-08-15',201633,8,2016,15,33,201608),('2016-08-16',201633,8,2016,16,33,201608),('2016-08-17',201633,8,2016,17,33,201608),('2016-08-18',201633,8,2016,18,33,201608),('2016-08-19',201633,8,2016,19,33,201608),('2016-08-20',201633,8,2016,20,33,201608),('2016-08-21',201634,8,2016,21,34,201608),('2016-08-22',201634,8,2016,22,34,201608),('2016-08-23',201634,8,2016,23,34,201608),('2016-08-24',201634,8,2016,24,34,201608),('2016-08-25',201634,8,2016,25,34,201608),('2016-08-26',201634,8,2016,26,34,201608),('2016-08-27',201634,8,2016,27,34,201608),('2016-08-28',201635,8,2016,28,35,201608),('2016-08-29',201635,8,2016,29,35,201608),('2016-08-30',201635,8,2016,30,35,201608),('2016-08-31',201635,8,2016,31,35,201608),('2016-09-01',201635,9,2016,1,35,201609),('2016-09-02',201635,9,2016,2,35,201609),('2016-09-03',201635,9,2016,3,35,201609),('2016-09-04',201636,9,2016,4,36,201609),('2016-09-05',201636,9,2016,5,36,201609),('2016-09-06',201636,9,2016,6,36,201609),('2016-09-07',201636,9,2016,7,36,201609),('2016-09-08',201636,9,2016,8,36,201609),('2016-09-09',201636,9,2016,9,36,201609),('2016-09-10',201636,9,2016,10,36,201609),('2016-09-11',201637,9,2016,11,37,201609),('2016-09-12',201637,9,2016,12,37,201609),('2016-09-13',201637,9,2016,13,37,201609),('2016-09-14',201637,9,2016,14,37,201609),('2016-09-15',201637,9,2016,15,37,201609),('2016-09-16',201637,9,2016,16,37,201609),('2016-09-17',201637,9,2016,17,37,201609),('2016-09-18',201638,9,2016,18,38,201609),('2016-09-19',201638,9,2016,19,38,201609),('2016-09-20',201638,9,2016,20,38,201609),('2016-09-21',201638,9,2016,21,38,201609),('2016-09-22',201638,9,2016,22,38,201609),('2016-09-23',201638,9,2016,23,38,201609),('2016-09-24',201638,9,2016,24,38,201609),('2016-09-25',201639,9,2016,25,39,201609),('2016-09-26',201639,9,2016,26,39,201609),('2016-09-27',201639,9,2016,27,39,201609),('2016-09-28',201639,9,2016,28,39,201609),('2016-09-29',201639,9,2016,29,39,201609),('2016-09-30',201639,9,2016,30,39,201609),('2016-10-01',201639,10,2016,1,39,201610),('2016-10-02',201640,10,2016,2,40,201610),('2016-10-03',201640,10,2016,3,40,201610),('2016-10-04',201640,10,2016,4,40,201610),('2016-10-05',201640,10,2016,5,40,201610),('2016-10-06',201640,10,2016,6,40,201610),('2016-10-07',201640,10,2016,7,40,201610),('2016-10-08',201640,10,2016,8,40,201610),('2016-10-09',201641,10,2016,9,41,201610),('2016-10-10',201641,10,2016,10,41,201610),('2016-10-11',201641,10,2016,11,41,201610),('2016-10-12',201641,10,2016,12,41,201610),('2016-10-13',201641,10,2016,13,41,201610),('2016-10-14',201641,10,2016,14,41,201610),('2016-10-15',201641,10,2016,15,41,201610),('2016-10-16',201642,10,2016,16,42,201610),('2016-10-17',201642,10,2016,17,42,201610),('2016-10-18',201642,10,2016,18,42,201610),('2016-10-19',201642,10,2016,19,42,201610),('2016-10-20',201642,10,2016,20,42,201610),('2016-10-21',201642,10,2016,21,42,201610),('2016-10-22',201642,10,2016,22,42,201610),('2016-10-23',201643,10,2016,23,43,201610),('2016-10-24',201643,10,2016,24,43,201610),('2016-10-25',201643,10,2016,25,43,201610),('2016-10-26',201643,10,2016,26,43,201610),('2016-10-27',201643,10,2016,27,43,201610),('2016-10-28',201643,10,2016,28,43,201610),('2016-10-29',201643,10,2016,29,43,201610),('2016-10-30',201644,10,2016,30,44,201610),('2016-10-31',201644,10,2016,31,44,201610),('2016-11-01',201644,11,2016,1,44,201611),('2016-11-02',201644,11,2016,2,44,201611),('2016-11-03',201644,11,2016,3,44,201611),('2016-11-04',201644,11,2016,4,44,201611),('2016-11-05',201644,11,2016,5,44,201611),('2016-11-06',201645,11,2016,6,45,201611),('2016-11-07',201645,11,2016,7,45,201611),('2016-11-08',201645,11,2016,8,45,201611),('2016-11-09',201645,11,2016,9,45,201611),('2016-11-10',201645,11,2016,10,45,201611),('2016-11-11',201645,11,2016,11,45,201611),('2016-11-12',201645,11,2016,12,45,201611),('2016-11-13',201646,11,2016,13,46,201611),('2016-11-14',201646,11,2016,14,46,201611),('2016-11-15',201646,11,2016,15,46,201611),('2016-11-16',201646,11,2016,16,46,201611),('2016-11-17',201646,11,2016,17,46,201611),('2016-11-18',201646,11,2016,18,46,201611),('2016-11-19',201646,11,2016,19,46,201611),('2016-11-20',201647,11,2016,20,47,201611),('2016-11-21',201647,11,2016,21,47,201611),('2016-11-22',201647,11,2016,22,47,201611),('2016-11-23',201647,11,2016,23,47,201611),('2016-11-24',201647,11,2016,24,47,201611),('2016-11-25',201647,11,2016,25,47,201611),('2016-11-26',201647,11,2016,26,47,201611),('2016-11-27',201648,11,2016,27,48,201611),('2016-11-28',201648,11,2016,28,48,201611),('2016-11-29',201648,11,2016,29,48,201611),('2016-11-30',201648,11,2016,30,48,201611),('2016-12-01',201648,12,2016,1,48,201612),('2016-12-02',201648,12,2016,2,48,201612),('2016-12-03',201648,12,2016,3,48,201612),('2016-12-04',201649,12,2016,4,49,201612),('2016-12-05',201649,12,2016,5,49,201612),('2016-12-06',201649,12,2016,6,49,201612),('2016-12-07',201649,12,2016,7,49,201612),('2016-12-08',201649,12,2016,8,49,201612),('2016-12-09',201649,12,2016,9,49,201612),('2016-12-10',201649,12,2016,10,49,201612),('2016-12-11',201650,12,2016,11,50,201612),('2016-12-12',201650,12,2016,12,50,201612),('2016-12-13',201650,12,2016,13,50,201612),('2016-12-14',201650,12,2016,14,50,201612),('2016-12-15',201650,12,2016,15,50,201612),('2016-12-16',201650,12,2016,16,50,201612),('2016-12-17',201650,12,2016,17,50,201612),('2016-12-18',201651,12,2016,18,51,201612),('2016-12-19',201651,12,2016,19,51,201612),('2016-12-20',201651,12,2016,20,51,201612),('2016-12-21',201651,12,2016,21,51,201612),('2016-12-22',201651,12,2016,22,51,201612),('2016-12-23',201651,12,2016,23,51,201612),('2016-12-24',201651,12,2016,24,51,201612),('2016-12-25',201652,12,2016,25,52,201612),('2016-12-26',201652,12,2016,26,52,201612),('2016-12-27',201652,12,2016,27,52,201612),('2016-12-28',201652,12,2016,28,52,201612),('2016-12-29',201652,12,2016,29,52,201612),('2016-12-30',201652,12,2016,30,52,201612),('2016-12-31',201652,12,2016,31,52,201612),('2017-01-01',201701,1,2017,1,1,201701),('2017-01-02',201701,1,2017,2,1,201701),('2017-01-03',201701,1,2017,3,1,201701),('2017-01-04',201701,1,2017,4,1,201701),('2017-01-05',201701,1,2017,5,1,201701),('2017-01-06',201701,1,2017,6,1,201701),('2017-01-07',201701,1,2017,7,1,201701),('2017-01-08',201702,1,2017,8,2,201701),('2017-01-09',201702,1,2017,9,2,201701),('2017-01-10',201702,1,2017,10,2,201701),('2017-01-11',201702,1,2017,11,2,201701),('2017-01-12',201702,1,2017,12,2,201701),('2017-01-13',201702,1,2017,13,2,201701),('2017-01-14',201702,1,2017,14,2,201701),('2017-01-15',201703,1,2017,15,3,201701),('2017-01-16',201703,1,2017,16,3,201701),('2017-01-17',201703,1,2017,17,3,201701),('2017-01-18',201703,1,2017,18,3,201701),('2017-01-19',201703,1,2017,19,3,201701),('2017-01-20',201703,1,2017,20,3,201701),('2017-01-21',201703,1,2017,21,3,201701),('2017-01-22',201704,1,2017,22,4,201701),('2017-01-23',201704,1,2017,23,4,201701),('2017-01-24',201704,1,2017,24,4,201701),('2017-01-25',201704,1,2017,25,4,201701),('2017-01-26',201704,1,2017,26,4,201701),('2017-01-27',201704,1,2017,27,4,201701),('2017-01-28',201704,1,2017,28,4,201701),('2017-01-29',201705,1,2017,29,5,201701),('2017-01-30',201705,1,2017,30,5,201701),('2017-01-31',201705,1,2017,31,5,201701),('2017-02-01',201705,2,2017,1,5,201702),('2017-02-02',201705,2,2017,2,5,201702),('2017-02-03',201705,2,2017,3,5,201702),('2017-02-04',201705,2,2017,4,5,201702),('2017-02-05',201706,2,2017,5,6,201702),('2017-02-06',201706,2,2017,6,6,201702),('2017-02-07',201706,2,2017,7,6,201702),('2017-02-08',201706,2,2017,8,6,201702),('2017-02-09',201706,2,2017,9,6,201702),('2017-02-10',201706,2,2017,10,6,201702),('2017-02-11',201706,2,2017,11,6,201702),('2017-02-12',201707,2,2017,12,7,201702),('2017-02-13',201707,2,2017,13,7,201702),('2017-02-14',201707,2,2017,14,7,201702),('2017-02-15',201707,2,2017,15,7,201702),('2017-02-16',201707,2,2017,16,7,201702),('2017-02-17',201707,2,2017,17,7,201702),('2017-02-18',201707,2,2017,18,7,201702),('2017-02-19',201708,2,2017,19,8,201702),('2017-02-20',201708,2,2017,20,8,201702),('2017-02-21',201708,2,2017,21,8,201702),('2017-02-22',201708,2,2017,22,8,201702),('2017-02-23',201708,2,2017,23,8,201702),('2017-02-24',201708,2,2017,24,8,201702),('2017-02-25',201708,2,2017,25,8,201702),('2017-02-26',201709,2,2017,26,9,201702),('2017-02-27',201709,2,2017,27,9,201702),('2017-02-28',201709,2,2017,28,9,201702),('2017-03-01',201709,3,2017,1,9,201703),('2017-03-02',201709,3,2017,2,9,201703),('2017-03-03',201709,3,2017,3,9,201703),('2017-03-04',201709,3,2017,4,9,201703),('2017-03-05',201710,3,2017,5,10,201703),('2017-03-06',201710,3,2017,6,10,201703),('2017-03-07',201710,3,2017,7,10,201703),('2017-03-08',201710,3,2017,8,10,201703),('2017-03-09',201710,3,2017,9,10,201703),('2017-03-10',201710,3,2017,10,10,201703),('2017-03-11',201710,3,2017,11,10,201703),('2017-03-12',201711,3,2017,12,11,201703),('2017-03-13',201711,3,2017,13,11,201703),('2017-03-14',201711,3,2017,14,11,201703),('2017-03-15',201711,3,2017,15,11,201703),('2017-03-16',201711,3,2017,16,11,201703),('2017-03-17',201711,3,2017,17,11,201703),('2017-03-18',201711,3,2017,18,11,201703),('2017-03-19',201712,3,2017,19,12,201703),('2017-03-20',201712,3,2017,20,12,201703),('2017-03-21',201712,3,2017,21,12,201703),('2017-03-22',201712,3,2017,22,12,201703),('2017-03-23',201712,3,2017,23,12,201703),('2017-03-24',201712,3,2017,24,12,201703),('2017-03-25',201712,3,2017,25,12,201703),('2017-03-26',201713,3,2017,26,13,201703),('2017-03-27',201713,3,2017,27,13,201703),('2017-03-28',201713,3,2017,28,13,201703),('2017-03-29',201713,3,2017,29,13,201703),('2017-03-30',201713,3,2017,30,13,201703),('2017-03-31',201713,3,2017,31,13,201703),('2017-04-01',201713,4,2017,1,13,201704),('2017-04-02',201714,4,2017,2,14,201704),('2017-04-03',201714,4,2017,3,14,201704),('2017-04-04',201714,4,2017,4,14,201704),('2017-04-05',201714,4,2017,5,14,201704),('2017-04-06',201714,4,2017,6,14,201704),('2017-04-07',201714,4,2017,7,14,201704),('2017-04-08',201714,4,2017,8,14,201704),('2017-04-09',201715,4,2017,9,15,201704),('2017-04-10',201715,4,2017,10,15,201704),('2017-04-11',201715,4,2017,11,15,201704),('2017-04-12',201715,4,2017,12,15,201704),('2017-04-13',201715,4,2017,13,15,201704),('2017-04-14',201715,4,2017,14,15,201704),('2017-04-15',201715,4,2017,15,15,201704),('2017-04-16',201716,4,2017,16,16,201704),('2017-04-17',201716,4,2017,17,16,201704),('2017-04-18',201716,4,2017,18,16,201704),('2017-04-19',201716,4,2017,19,16,201704),('2017-04-20',201716,4,2017,20,16,201704),('2017-04-21',201716,4,2017,21,16,201704),('2017-04-22',201716,4,2017,22,16,201704),('2017-04-23',201717,4,2017,23,17,201704),('2017-04-24',201717,4,2017,24,17,201704),('2017-04-25',201717,4,2017,25,17,201704),('2017-04-26',201717,4,2017,26,17,201704),('2017-04-27',201717,4,2017,27,17,201704),('2017-04-28',201717,4,2017,28,17,201704),('2017-04-29',201717,4,2017,29,17,201704),('2017-04-30',201718,4,2017,30,18,201704),('2017-05-01',201718,5,2017,1,18,201705),('2017-05-02',201718,5,2017,2,18,201705),('2017-05-03',201718,5,2017,3,18,201705),('2017-05-04',201718,5,2017,4,18,201705),('2017-05-05',201718,5,2017,5,18,201705),('2017-05-06',201718,5,2017,6,18,201705),('2017-05-07',201719,5,2017,7,19,201705),('2017-05-08',201719,5,2017,8,19,201705),('2017-05-09',201719,5,2017,9,19,201705),('2017-05-10',201719,5,2017,10,19,201705),('2017-05-11',201719,5,2017,11,19,201705),('2017-05-12',201719,5,2017,12,19,201705),('2017-05-13',201719,5,2017,13,19,201705),('2017-05-14',201720,5,2017,14,20,201705),('2017-05-15',201720,5,2017,15,20,201705),('2017-05-16',201720,5,2017,16,20,201705),('2017-05-17',201720,5,2017,17,20,201705),('2017-05-18',201720,5,2017,18,20,201705),('2017-05-19',201720,5,2017,19,20,201705),('2017-05-20',201720,5,2017,20,20,201705),('2017-05-21',201721,5,2017,21,21,201705),('2017-05-22',201721,5,2017,22,21,201705),('2017-05-23',201721,5,2017,23,21,201705),('2017-05-24',201721,5,2017,24,21,201705),('2017-05-25',201721,5,2017,25,21,201705),('2017-05-26',201721,5,2017,26,21,201705),('2017-05-27',201721,5,2017,27,21,201705),('2017-05-28',201722,5,2017,28,22,201705),('2017-05-29',201722,5,2017,29,22,201705),('2017-05-30',201722,5,2017,30,22,201705),('2017-05-31',201722,5,2017,31,22,201705),('2017-06-01',201722,6,2017,1,22,201706),('2017-06-02',201722,6,2017,2,22,201706),('2017-06-03',201722,6,2017,3,22,201706),('2017-06-04',201723,6,2017,4,23,201706),('2017-06-05',201723,6,2017,5,23,201706),('2017-06-06',201723,6,2017,6,23,201706),('2017-06-07',201723,6,2017,7,23,201706),('2017-06-08',201723,6,2017,8,23,201706),('2017-06-09',201723,6,2017,9,23,201706),('2017-06-10',201723,6,2017,10,23,201706),('2017-06-11',201724,6,2017,11,24,201706),('2017-06-12',201724,6,2017,12,24,201706),('2017-06-13',201724,6,2017,13,24,201706),('2017-06-14',201724,6,2017,14,24,201706),('2017-06-15',201724,6,2017,15,24,201706),('2017-06-16',201724,6,2017,16,24,201706),('2017-06-17',201724,6,2017,17,24,201706),('2017-06-18',201725,6,2017,18,25,201706),('2017-06-19',201725,6,2017,19,25,201706),('2017-06-20',201725,6,2017,20,25,201706),('2017-06-21',201725,6,2017,21,25,201706),('2017-06-22',201725,6,2017,22,25,201706),('2017-06-23',201725,6,2017,23,25,201706),('2017-06-24',201725,6,2017,24,25,201706),('2017-06-25',201726,6,2017,25,26,201706),('2017-06-26',201726,6,2017,26,26,201706),('2017-06-27',201726,6,2017,27,26,201706),('2017-06-28',201726,6,2017,28,26,201706),('2017-06-29',201726,6,2017,29,26,201706),('2017-06-30',201726,6,2017,30,26,201706),('2017-07-01',201726,7,2017,1,26,201707),('2017-07-02',201727,7,2017,2,27,201707),('2017-07-03',201727,7,2017,3,27,201707),('2017-07-04',201727,7,2017,4,27,201707),('2017-07-05',201727,7,2017,5,27,201707),('2017-07-06',201727,7,2017,6,27,201707),('2017-07-07',201727,7,2017,7,27,201707),('2017-07-08',201727,7,2017,8,27,201707),('2017-07-09',201728,7,2017,9,28,201707),('2017-07-10',201728,7,2017,10,28,201707),('2017-07-11',201728,7,2017,11,28,201707),('2017-07-12',201728,7,2017,12,28,201707),('2017-07-13',201728,7,2017,13,28,201707),('2017-07-14',201728,7,2017,14,28,201707),('2017-07-15',201728,7,2017,15,28,201707),('2017-07-16',201729,7,2017,16,29,201707),('2017-07-17',201729,7,2017,17,29,201707),('2017-07-18',201729,7,2017,18,29,201707),('2017-07-19',201729,7,2017,19,29,201707),('2017-07-20',201729,7,2017,20,29,201707),('2017-07-21',201729,7,2017,21,29,201707),('2017-07-22',201729,7,2017,22,29,201707),('2017-07-23',201730,7,2017,23,30,201707),('2017-07-24',201730,7,2017,24,30,201707),('2017-07-25',201730,7,2017,25,30,201707),('2017-07-26',201730,7,2017,26,30,201707),('2017-07-27',201730,7,2017,27,30,201707),('2017-07-28',201730,7,2017,28,30,201707),('2017-07-29',201730,7,2017,29,30,201707),('2017-07-30',201731,7,2017,30,31,201707),('2017-07-31',201731,7,2017,31,31,201707),('2017-08-01',201731,8,2017,1,31,201708),('2017-08-02',201731,8,2017,2,31,201708),('2017-08-03',201731,8,2017,3,31,201708),('2017-08-04',201731,8,2017,4,31,201708),('2017-08-05',201731,8,2017,5,31,201708),('2017-08-06',201732,8,2017,6,32,201708),('2017-08-07',201732,8,2017,7,32,201708),('2017-08-08',201732,8,2017,8,32,201708),('2017-08-09',201732,8,2017,9,32,201708),('2017-08-10',201732,8,2017,10,32,201708),('2017-08-11',201732,8,2017,11,32,201708),('2017-08-12',201732,8,2017,12,32,201708),('2017-08-13',201733,8,2017,13,33,201708),('2017-08-14',201733,8,2017,14,33,201708),('2017-08-15',201733,8,2017,15,33,201708),('2017-08-16',201733,8,2017,16,33,201708),('2017-08-17',201733,8,2017,17,33,201708),('2017-08-18',201733,8,2017,18,33,201708),('2017-08-19',201733,8,2017,19,33,201708),('2017-08-20',201734,8,2017,20,34,201708),('2017-08-21',201734,8,2017,21,34,201708),('2017-08-22',201734,8,2017,22,34,201708),('2017-08-23',201734,8,2017,23,34,201708),('2017-08-24',201734,8,2017,24,34,201708),('2017-08-25',201734,8,2017,25,34,201708),('2017-08-26',201734,8,2017,26,34,201708),('2017-08-27',201735,8,2017,27,35,201708),('2017-08-28',201735,8,2017,28,35,201708),('2017-08-29',201735,8,2017,29,35,201708),('2017-08-30',201735,8,2017,30,35,201708),('2017-08-31',201735,8,2017,31,35,201708),('2017-09-01',201735,9,2017,1,35,201709),('2017-09-02',201735,9,2017,2,35,201709),('2017-09-03',201736,9,2017,3,36,201709),('2017-09-04',201736,9,2017,4,36,201709),('2017-09-05',201736,9,2017,5,36,201709),('2017-09-06',201736,9,2017,6,36,201709),('2017-09-07',201736,9,2017,7,36,201709),('2017-09-08',201736,9,2017,8,36,201709),('2017-09-09',201736,9,2017,9,36,201709),('2017-09-10',201737,9,2017,10,37,201709),('2017-09-11',201737,9,2017,11,37,201709),('2017-09-12',201737,9,2017,12,37,201709),('2017-09-13',201737,9,2017,13,37,201709),('2017-09-14',201737,9,2017,14,37,201709),('2017-09-15',201737,9,2017,15,37,201709),('2017-09-16',201737,9,2017,16,37,201709),('2017-09-17',201738,9,2017,17,38,201709),('2017-09-18',201738,9,2017,18,38,201709),('2017-09-19',201738,9,2017,19,38,201709),('2017-09-20',201738,9,2017,20,38,201709),('2017-09-21',201738,9,2017,21,38,201709),('2017-09-22',201738,9,2017,22,38,201709),('2017-09-23',201738,9,2017,23,38,201709),('2017-09-24',201739,9,2017,24,39,201709),('2017-09-25',201739,9,2017,25,39,201709),('2017-09-26',201739,9,2017,26,39,201709),('2017-09-27',201739,9,2017,27,39,201709),('2017-09-28',201739,9,2017,28,39,201709),('2017-09-29',201739,9,2017,29,39,201709),('2017-09-30',201739,9,2017,30,39,201709),('2017-10-01',201740,10,2017,1,40,201710),('2017-10-02',201740,10,2017,2,40,201710),('2017-10-03',201740,10,2017,3,40,201710),('2017-10-04',201740,10,2017,4,40,201710),('2017-10-05',201740,10,2017,5,40,201710),('2017-10-06',201740,10,2017,6,40,201710),('2017-10-07',201740,10,2017,7,40,201710),('2017-10-08',201741,10,2017,8,41,201710),('2017-10-09',201741,10,2017,9,41,201710),('2017-10-10',201741,10,2017,10,41,201710),('2017-10-11',201741,10,2017,11,41,201710),('2017-10-12',201741,10,2017,12,41,201710),('2017-10-13',201741,10,2017,13,41,201710),('2017-10-14',201741,10,2017,14,41,201710),('2017-10-15',201742,10,2017,15,42,201710),('2017-10-16',201742,10,2017,16,42,201710),('2017-10-17',201742,10,2017,17,42,201710),('2017-10-18',201742,10,2017,18,42,201710),('2017-10-19',201742,10,2017,19,42,201710),('2017-10-20',201742,10,2017,20,42,201710),('2017-10-21',201742,10,2017,21,42,201710),('2017-10-22',201743,10,2017,22,43,201710),('2017-10-23',201743,10,2017,23,43,201710),('2017-10-24',201743,10,2017,24,43,201710),('2017-10-25',201743,10,2017,25,43,201710),('2017-10-26',201743,10,2017,26,43,201710),('2017-10-27',201743,10,2017,27,43,201710),('2017-10-28',201743,10,2017,28,43,201710),('2017-10-29',201744,10,2017,29,44,201710),('2017-10-30',201744,10,2017,30,44,201710),('2017-10-31',201744,10,2017,31,44,201710),('2017-11-01',201744,11,2017,1,44,201711),('2017-11-02',201744,11,2017,2,44,201711),('2017-11-03',201744,11,2017,3,44,201711),('2017-11-04',201744,11,2017,4,44,201711),('2017-11-05',201745,11,2017,5,45,201711),('2017-11-06',201745,11,2017,6,45,201711),('2017-11-07',201745,11,2017,7,45,201711),('2017-11-08',201745,11,2017,8,45,201711),('2017-11-09',201745,11,2017,9,45,201711),('2017-11-10',201745,11,2017,10,45,201711),('2017-11-11',201745,11,2017,11,45,201711),('2017-11-12',201746,11,2017,12,46,201711),('2017-11-13',201746,11,2017,13,46,201711),('2017-11-14',201746,11,2017,14,46,201711),('2017-11-15',201746,11,2017,15,46,201711),('2017-11-16',201746,11,2017,16,46,201711),('2017-11-17',201746,11,2017,17,46,201711),('2017-11-18',201746,11,2017,18,46,201711),('2017-11-19',201747,11,2017,19,47,201711),('2017-11-20',201747,11,2017,20,47,201711),('2017-11-21',201747,11,2017,21,47,201711),('2017-11-22',201747,11,2017,22,47,201711),('2017-11-23',201747,11,2017,23,47,201711),('2017-11-24',201747,11,2017,24,47,201711),('2017-11-25',201747,11,2017,25,47,201711),('2017-11-26',201748,11,2017,26,48,201711),('2017-11-27',201748,11,2017,27,48,201711),('2017-11-28',201748,11,2017,28,48,201711),('2017-11-29',201748,11,2017,29,48,201711),('2017-11-30',201748,11,2017,30,48,201711),('2017-12-01',201748,12,2017,1,48,201712),('2017-12-02',201748,12,2017,2,48,201712),('2017-12-03',201749,12,2017,3,49,201712),('2017-12-04',201749,12,2017,4,49,201712),('2017-12-05',201749,12,2017,5,49,201712),('2017-12-06',201749,12,2017,6,49,201712),('2017-12-07',201749,12,2017,7,49,201712),('2017-12-08',201749,12,2017,8,49,201712),('2017-12-09',201749,12,2017,9,49,201712),('2017-12-10',201750,12,2017,10,50,201712),('2017-12-11',201750,12,2017,11,50,201712),('2017-12-12',201750,12,2017,12,50,201712),('2017-12-13',201750,12,2017,13,50,201712),('2017-12-14',201750,12,2017,14,50,201712),('2017-12-15',201750,12,2017,15,50,201712),('2017-12-16',201750,12,2017,16,50,201712),('2017-12-17',201751,12,2017,17,51,201712),('2017-12-18',201751,12,2017,18,51,201712),('2017-12-19',201751,12,2017,19,51,201712),('2017-12-20',201751,12,2017,20,51,201712),('2017-12-21',201751,12,2017,21,51,201712),('2017-12-22',201751,12,2017,22,51,201712),('2017-12-23',201751,12,2017,23,51,201712),('2017-12-24',201752,12,2017,24,52,201712),('2017-12-25',201752,12,2017,25,52,201712),('2017-12-26',201752,12,2017,26,52,201712),('2017-12-27',201752,12,2017,27,52,201712),('2017-12-28',201752,12,2017,28,52,201712),('2017-12-29',201752,12,2017,29,52,201712),('2017-12-30',201752,12,2017,30,52,201712),('2017-12-31',201801,12,2017,31,1,201712),('2018-01-01',201801,1,2018,1,1,201801),('2018-01-02',201801,1,2018,2,1,201801),('2018-01-03',201801,1,2018,3,1,201801),('2018-01-04',201801,1,2018,4,1,201801),('2018-01-05',201801,1,2018,5,1,201801),('2018-01-06',201801,1,2018,6,1,201801),('2018-01-07',201802,1,2018,7,2,201801),('2018-01-08',201802,1,2018,8,2,201801),('2018-01-09',201802,1,2018,9,2,201801),('2018-01-10',201802,1,2018,10,2,201801),('2018-01-11',201802,1,2018,11,2,201801),('2018-01-12',201802,1,2018,12,2,201801),('2018-01-13',201802,1,2018,13,2,201801),('2018-01-14',201803,1,2018,14,3,201801),('2018-01-15',201803,1,2018,15,3,201801),('2018-01-16',201803,1,2018,16,3,201801),('2018-01-17',201803,1,2018,17,3,201801),('2018-01-18',201803,1,2018,18,3,201801),('2018-01-19',201803,1,2018,19,3,201801),('2018-01-20',201803,1,2018,20,3,201801),('2018-01-21',201804,1,2018,21,4,201801),('2018-01-22',201804,1,2018,22,4,201801),('2018-01-23',201804,1,2018,23,4,201801),('2018-01-24',201804,1,2018,24,4,201801),('2018-01-25',201804,1,2018,25,4,201801),('2018-01-26',201804,1,2018,26,4,201801),('2018-01-27',201804,1,2018,27,4,201801),('2018-01-28',201805,1,2018,28,5,201801),('2018-01-29',201805,1,2018,29,5,201801),('2018-01-30',201805,1,2018,30,5,201801),('2018-01-31',201805,1,2018,31,5,201801),('2018-02-01',201805,2,2018,1,5,201802),('2018-02-02',201805,2,2018,2,5,201802),('2018-02-03',201805,2,2018,3,5,201802),('2018-02-04',201806,2,2018,4,6,201802),('2018-02-05',201806,2,2018,5,6,201802),('2018-02-06',201806,2,2018,6,6,201802),('2018-02-07',201806,2,2018,7,6,201802),('2018-02-08',201806,2,2018,8,6,201802),('2018-02-09',201806,2,2018,9,6,201802),('2018-02-10',201806,2,2018,10,6,201802),('2018-02-11',201807,2,2018,11,7,201802),('2018-02-12',201807,2,2018,12,7,201802),('2018-02-13',201807,2,2018,13,7,201802),('2018-02-14',201807,2,2018,14,7,201802),('2018-02-15',201807,2,2018,15,7,201802),('2018-02-16',201807,2,2018,16,7,201802),('2018-02-17',201807,2,2018,17,7,201802),('2018-02-18',201808,2,2018,18,8,201802),('2018-02-19',201808,2,2018,19,8,201802),('2018-02-20',201808,2,2018,20,8,201802),('2018-02-21',201808,2,2018,21,8,201802),('2018-02-22',201808,2,2018,22,8,201802),('2018-02-23',201808,2,2018,23,8,201802),('2018-02-24',201808,2,2018,24,8,201802),('2018-02-25',201809,2,2018,25,9,201802),('2018-02-26',201809,2,2018,26,9,201802),('2018-02-27',201809,2,2018,27,9,201802),('2018-02-28',201809,2,2018,28,9,201802),('2018-03-01',201809,3,2018,1,9,201803),('2018-03-02',201809,3,2018,2,9,201803),('2018-03-03',201809,3,2018,3,9,201803),('2018-03-04',201810,3,2018,4,10,201803),('2018-03-05',201810,3,2018,5,10,201803),('2018-03-06',201810,3,2018,6,10,201803),('2018-03-07',201810,3,2018,7,10,201803),('2018-03-08',201810,3,2018,8,10,201803),('2018-03-09',201810,3,2018,9,10,201803),('2018-03-10',201810,3,2018,10,10,201803),('2018-03-11',201811,3,2018,11,11,201803),('2018-03-12',201811,3,2018,12,11,201803),('2018-03-13',201811,3,2018,13,11,201803),('2018-03-14',201811,3,2018,14,11,201803),('2018-03-15',201811,3,2018,15,11,201803),('2018-03-16',201811,3,2018,16,11,201803),('2018-03-17',201811,3,2018,17,11,201803),('2018-03-18',201812,3,2018,18,12,201803),('2018-03-19',201812,3,2018,19,12,201803),('2018-03-20',201812,3,2018,20,12,201803),('2018-03-21',201812,3,2018,21,12,201803),('2018-03-22',201812,3,2018,22,12,201803),('2018-03-23',201812,3,2018,23,12,201803),('2018-03-24',201812,3,2018,24,12,201803),('2018-03-25',201813,3,2018,25,13,201803),('2018-03-26',201813,3,2018,26,13,201803),('2018-03-27',201813,3,2018,27,13,201803),('2018-03-28',201813,3,2018,28,13,201803),('2018-03-29',201813,3,2018,29,13,201803),('2018-03-30',201813,3,2018,30,13,201803),('2018-03-31',201813,3,2018,31,13,201803),('2018-04-01',201814,4,2018,1,14,201804),('2018-04-02',201814,4,2018,2,14,201804),('2018-04-03',201814,4,2018,3,14,201804),('2018-04-04',201814,4,2018,4,14,201804),('2018-04-05',201814,4,2018,5,14,201804),('2018-04-06',201814,4,2018,6,14,201804),('2018-04-07',201814,4,2018,7,14,201804),('2018-04-08',201815,4,2018,8,15,201804),('2018-04-09',201815,4,2018,9,15,201804),('2018-04-10',201815,4,2018,10,15,201804),('2018-04-11',201815,4,2018,11,15,201804),('2018-04-12',201815,4,2018,12,15,201804),('2018-04-13',201815,4,2018,13,15,201804),('2018-04-14',201815,4,2018,14,15,201804),('2018-04-15',201816,4,2018,15,16,201804),('2018-04-16',201816,4,2018,16,16,201804),('2018-04-17',201816,4,2018,17,16,201804),('2018-04-18',201816,4,2018,18,16,201804),('2018-04-19',201816,4,2018,19,16,201804),('2018-04-20',201816,4,2018,20,16,201804),('2018-04-21',201816,4,2018,21,16,201804),('2018-04-22',201817,4,2018,22,17,201804),('2018-04-23',201817,4,2018,23,17,201804),('2018-04-24',201817,4,2018,24,17,201804),('2018-04-25',201817,4,2018,25,17,201804),('2018-04-26',201817,4,2018,26,17,201804),('2018-04-27',201817,4,2018,27,17,201804),('2018-04-28',201817,4,2018,28,17,201804),('2018-04-29',201818,4,2018,29,18,201804),('2018-04-30',201818,4,2018,30,18,201804),('2018-05-01',201818,5,2018,1,18,201805),('2018-05-02',201818,5,2018,2,18,201805),('2018-05-03',201818,5,2018,3,18,201805),('2018-05-04',201818,5,2018,4,18,201805),('2018-05-05',201818,5,2018,5,18,201805),('2018-05-06',201819,5,2018,6,19,201805),('2018-05-07',201819,5,2018,7,19,201805),('2018-05-08',201819,5,2018,8,19,201805),('2018-05-09',201819,5,2018,9,19,201805),('2018-05-10',201819,5,2018,10,19,201805),('2018-05-11',201819,5,2018,11,19,201805),('2018-05-12',201819,5,2018,12,19,201805),('2018-05-13',201820,5,2018,13,20,201805),('2018-05-14',201820,5,2018,14,20,201805),('2018-05-15',201820,5,2018,15,20,201805),('2018-05-16',201820,5,2018,16,20,201805),('2018-05-17',201820,5,2018,17,20,201805),('2018-05-18',201820,5,2018,18,20,201805),('2018-05-19',201820,5,2018,19,20,201805),('2018-05-20',201821,5,2018,20,21,201805),('2018-05-21',201821,5,2018,21,21,201805),('2018-05-22',201821,5,2018,22,21,201805),('2018-05-23',201821,5,2018,23,21,201805),('2018-05-24',201821,5,2018,24,21,201805),('2018-05-25',201821,5,2018,25,21,201805),('2018-05-26',201821,5,2018,26,21,201805),('2018-05-27',201822,5,2018,27,22,201805),('2018-05-28',201822,5,2018,28,22,201805),('2018-05-29',201822,5,2018,29,22,201805),('2018-05-30',201822,5,2018,30,22,201805),('2018-05-31',201822,5,2018,31,22,201805),('2018-06-01',201822,6,2018,1,22,201806),('2018-06-02',201822,6,2018,2,22,201806),('2018-06-03',201823,6,2018,3,23,201806),('2018-06-04',201823,6,2018,4,23,201806),('2018-06-05',201823,6,2018,5,23,201806),('2018-06-06',201823,6,2018,6,23,201806),('2018-06-07',201823,6,2018,7,23,201806),('2018-06-08',201823,6,2018,8,23,201806),('2018-06-09',201823,6,2018,9,23,201806),('2018-06-10',201824,6,2018,10,24,201806),('2018-06-11',201824,6,2018,11,24,201806),('2018-06-12',201824,6,2018,12,24,201806),('2018-06-13',201824,6,2018,13,24,201806),('2018-06-14',201824,6,2018,14,24,201806),('2018-06-15',201824,6,2018,15,24,201806),('2018-06-16',201824,6,2018,16,24,201806),('2018-06-17',201825,6,2018,17,25,201806),('2018-06-18',201825,6,2018,18,25,201806),('2018-06-19',201825,6,2018,19,25,201806),('2018-06-20',201825,6,2018,20,25,201806),('2018-06-21',201825,6,2018,21,25,201806),('2018-06-22',201825,6,2018,22,25,201806),('2018-06-23',201825,6,2018,23,25,201806),('2018-06-24',201826,6,2018,24,26,201806),('2018-06-25',201826,6,2018,25,26,201806),('2018-06-26',201826,6,2018,26,26,201806),('2018-06-27',201826,6,2018,27,26,201806),('2018-06-28',201826,6,2018,28,26,201806),('2018-06-29',201826,6,2018,29,26,201806),('2018-06-30',201826,6,2018,30,26,201806),('2018-07-01',201827,7,2018,1,27,201807),('2018-07-02',201827,7,2018,2,27,201807),('2018-07-03',201827,7,2018,3,27,201807),('2018-07-04',201827,7,2018,4,27,201807),('2018-07-05',201827,7,2018,5,27,201807),('2018-07-06',201827,7,2018,6,27,201807),('2018-07-07',201827,7,2018,7,27,201807),('2018-07-08',201828,7,2018,8,28,201807),('2018-07-09',201828,7,2018,9,28,201807),('2018-07-10',201828,7,2018,10,28,201807),('2018-07-11',201828,7,2018,11,28,201807),('2018-07-12',201828,7,2018,12,28,201807),('2018-07-13',201828,7,2018,13,28,201807),('2018-07-14',201828,7,2018,14,28,201807),('2018-07-15',201829,7,2018,15,29,201807),('2018-07-16',201829,7,2018,16,29,201807),('2018-07-17',201829,7,2018,17,29,201807),('2018-07-18',201829,7,2018,18,29,201807),('2018-07-19',201829,7,2018,19,29,201807),('2018-07-20',201829,7,2018,20,29,201807),('2018-07-21',201829,7,2018,21,29,201807),('2018-07-22',201830,7,2018,22,30,201807),('2018-07-23',201830,7,2018,23,30,201807),('2018-07-24',201830,7,2018,24,30,201807),('2018-07-25',201830,7,2018,25,30,201807),('2018-07-26',201830,7,2018,26,30,201807),('2018-07-27',201830,7,2018,27,30,201807),('2018-07-28',201830,7,2018,28,30,201807),('2018-07-29',201831,7,2018,29,31,201807),('2018-07-30',201831,7,2018,30,31,201807),('2018-07-31',201831,7,2018,31,31,201807),('2018-08-01',201831,8,2018,1,31,201808),('2018-08-02',201831,8,2018,2,31,201808),('2018-08-03',201831,8,2018,3,31,201808),('2018-08-04',201831,8,2018,4,31,201808),('2018-08-05',201832,8,2018,5,32,201808),('2018-08-06',201832,8,2018,6,32,201808),('2018-08-07',201832,8,2018,7,32,201808),('2018-08-08',201832,8,2018,8,32,201808),('2018-08-09',201832,8,2018,9,32,201808),('2018-08-10',201832,8,2018,10,32,201808),('2018-08-11',201832,8,2018,11,32,201808),('2018-08-12',201833,8,2018,12,33,201808),('2018-08-13',201833,8,2018,13,33,201808),('2018-08-14',201833,8,2018,14,33,201808),('2018-08-15',201833,8,2018,15,33,201808),('2018-08-16',201833,8,2018,16,33,201808),('2018-08-17',201833,8,2018,17,33,201808),('2018-08-18',201833,8,2018,18,33,201808),('2018-08-19',201834,8,2018,19,34,201808),('2018-08-20',201834,8,2018,20,34,201808),('2018-08-21',201834,8,2018,21,34,201808),('2018-08-22',201834,8,2018,22,34,201808),('2018-08-23',201834,8,2018,23,34,201808),('2018-08-24',201834,8,2018,24,34,201808),('2018-08-25',201834,8,2018,25,34,201808),('2018-08-26',201835,8,2018,26,35,201808),('2018-08-27',201835,8,2018,27,35,201808),('2018-08-28',201835,8,2018,28,35,201808),('2018-08-29',201835,8,2018,29,35,201808),('2018-08-30',201835,8,2018,30,35,201808),('2018-08-31',201835,8,2018,31,35,201808),('2018-09-01',201835,9,2018,1,35,201809),('2018-09-02',201836,9,2018,2,36,201809),('2018-09-03',201836,9,2018,3,36,201809),('2018-09-04',201836,9,2018,4,36,201809),('2018-09-05',201836,9,2018,5,36,201809),('2018-09-06',201836,9,2018,6,36,201809),('2018-09-07',201836,9,2018,7,36,201809),('2018-09-08',201836,9,2018,8,36,201809),('2018-09-09',201837,9,2018,9,37,201809),('2018-09-10',201837,9,2018,10,37,201809),('2018-09-11',201837,9,2018,11,37,201809),('2018-09-12',201837,9,2018,12,37,201809),('2018-09-13',201837,9,2018,13,37,201809),('2018-09-14',201837,9,2018,14,37,201809),('2018-09-15',201837,9,2018,15,37,201809),('2018-09-16',201838,9,2018,16,38,201809),('2018-09-17',201838,9,2018,17,38,201809),('2018-09-18',201838,9,2018,18,38,201809),('2018-09-19',201838,9,2018,19,38,201809),('2018-09-20',201838,9,2018,20,38,201809),('2018-09-21',201838,9,2018,21,38,201809),('2018-09-22',201838,9,2018,22,38,201809),('2018-09-23',201839,9,2018,23,39,201809),('2018-09-24',201839,9,2018,24,39,201809),('2018-09-25',201839,9,2018,25,39,201809),('2018-09-26',201839,9,2018,26,39,201809),('2018-09-27',201839,9,2018,27,39,201809),('2018-09-28',201839,9,2018,28,39,201809),('2018-09-29',201839,9,2018,29,39,201809),('2018-09-30',201840,9,2018,30,40,201809),('2018-10-01',201840,10,2018,1,40,201810),('2018-10-02',201840,10,2018,2,40,201810),('2018-10-03',201840,10,2018,3,40,201810),('2018-10-04',201840,10,2018,4,40,201810),('2018-10-05',201840,10,2018,5,40,201810),('2018-10-06',201840,10,2018,6,40,201810),('2018-10-07',201841,10,2018,7,41,201810),('2018-10-08',201841,10,2018,8,41,201810),('2018-10-09',201841,10,2018,9,41,201810),('2018-10-10',201841,10,2018,10,41,201810),('2018-10-11',201841,10,2018,11,41,201810),('2018-10-12',201841,10,2018,12,41,201810),('2018-10-13',201841,10,2018,13,41,201810),('2018-10-14',201842,10,2018,14,42,201810),('2018-10-15',201842,10,2018,15,42,201810),('2018-10-16',201842,10,2018,16,42,201810),('2018-10-17',201842,10,2018,17,42,201810),('2018-10-18',201842,10,2018,18,42,201810),('2018-10-19',201842,10,2018,19,42,201810),('2018-10-20',201842,10,2018,20,42,201810),('2018-10-21',201843,10,2018,21,43,201810),('2018-10-22',201843,10,2018,22,43,201810),('2018-10-23',201843,10,2018,23,43,201810),('2018-10-24',201843,10,2018,24,43,201810),('2018-10-25',201843,10,2018,25,43,201810),('2018-10-26',201843,10,2018,26,43,201810),('2018-10-27',201843,10,2018,27,43,201810),('2018-10-28',201844,10,2018,28,44,201810),('2018-10-29',201844,10,2018,29,44,201810),('2018-10-30',201844,10,2018,30,44,201810),('2018-10-31',201844,10,2018,31,44,201810),('2018-11-01',201844,11,2018,1,44,201811),('2018-11-02',201844,11,2018,2,44,201811),('2018-11-03',201844,11,2018,3,44,201811),('2018-11-04',201845,11,2018,4,45,201811),('2018-11-05',201845,11,2018,5,45,201811),('2018-11-06',201845,11,2018,6,45,201811),('2018-11-07',201845,11,2018,7,45,201811),('2018-11-08',201845,11,2018,8,45,201811),('2018-11-09',201845,11,2018,9,45,201811),('2018-11-10',201845,11,2018,10,45,201811),('2018-11-11',201846,11,2018,11,46,201811),('2018-11-12',201846,11,2018,12,46,201811),('2018-11-13',201846,11,2018,13,46,201811),('2018-11-14',201846,11,2018,14,46,201811),('2018-11-15',201846,11,2018,15,46,201811),('2018-11-16',201846,11,2018,16,46,201811),('2018-11-17',201846,11,2018,17,46,201811),('2018-11-18',201847,11,2018,18,47,201811),('2018-11-19',201847,11,2018,19,47,201811),('2018-11-20',201847,11,2018,20,47,201811),('2018-11-21',201847,11,2018,21,47,201811),('2018-11-22',201847,11,2018,22,47,201811),('2018-11-23',201847,11,2018,23,47,201811),('2018-11-24',201847,11,2018,24,47,201811),('2018-11-25',201848,11,2018,25,48,201811),('2018-11-26',201848,11,2018,26,48,201811),('2018-11-27',201848,11,2018,27,48,201811),('2018-11-28',201848,11,2018,28,48,201811),('2018-11-29',201848,11,2018,29,48,201811),('2018-11-30',201848,11,2018,30,48,201811),('2018-12-01',201848,12,2018,1,48,201812),('2018-12-02',201849,12,2018,2,49,201812),('2018-12-03',201849,12,2018,3,49,201812),('2018-12-04',201849,12,2018,4,49,201812),('2018-12-05',201849,12,2018,5,49,201812),('2018-12-06',201849,12,2018,6,49,201812),('2018-12-07',201849,12,2018,7,49,201812),('2018-12-08',201849,12,2018,8,49,201812),('2018-12-09',201850,12,2018,9,50,201812),('2018-12-10',201850,12,2018,10,50,201812),('2018-12-11',201850,12,2018,11,50,201812),('2018-12-12',201850,12,2018,12,50,201812),('2018-12-13',201850,12,2018,13,50,201812),('2018-12-14',201850,12,2018,14,50,201812),('2018-12-15',201850,12,2018,15,50,201812),('2018-12-16',201851,12,2018,16,51,201812),('2018-12-17',201851,12,2018,17,51,201812),('2018-12-18',201851,12,2018,18,51,201812),('2018-12-19',201851,12,2018,19,51,201812),('2018-12-20',201851,12,2018,20,51,201812),('2018-12-21',201851,12,2018,21,51,201812),('2018-12-22',201851,12,2018,22,51,201812),('2018-12-23',201852,12,2018,23,52,201812),('2018-12-24',201852,12,2018,24,52,201812),('2018-12-25',201852,12,2018,25,52,201812),('2018-12-26',201852,12,2018,26,52,201812),('2018-12-27',201852,12,2018,27,52,201812),('2018-12-28',201852,12,2018,28,52,201812),('2018-12-29',201852,12,2018,29,52,201812),('2018-12-30',201901,1,2019,30,1,201812),('2018-12-31',201901,1,2019,31,1,201812),('2019-01-01',201901,1,2019,1,1,201901),('2019-01-02',201901,1,2019,2,1,201901),('2019-01-03',201901,1,2019,3,1,201901),('2019-01-04',201901,1,2019,4,1,201901),('2019-01-05',201901,1,2019,5,1,201901),('2019-01-06',201902,1,2019,6,2,201901),('2019-01-07',201902,1,2019,7,2,201901),('2019-01-08',201902,1,2019,8,2,201901),('2019-01-09',201902,1,2019,9,2,201901),('2019-01-10',201902,1,2019,10,2,201901),('2019-01-11',201902,1,2019,11,2,201901),('2019-01-12',201902,1,2019,12,2,201901),('2019-01-13',201903,1,2019,13,3,201901),('2019-01-14',201903,1,2019,14,3,201901),('2019-01-15',201903,1,2019,15,3,201901),('2019-01-16',201903,1,2019,16,3,201901),('2019-01-17',201903,1,2019,17,3,201901),('2019-01-18',201903,1,2019,18,3,201901),('2019-01-19',201903,1,2019,19,3,201901),('2019-01-20',201904,1,2019,20,4,201901),('2019-01-21',201904,1,2019,21,4,201901),('2019-01-22',201904,1,2019,22,4,201901),('2019-01-23',201904,1,2019,23,4,201901),('2019-01-24',201904,1,2019,24,4,201901),('2019-01-25',201904,1,2019,25,4,201901),('2019-01-26',201904,1,2019,26,4,201901),('2019-01-27',201905,1,2019,27,5,201901),('2019-01-28',201905,1,2019,28,5,201901),('2019-01-29',201905,1,2019,29,5,201901),('2019-01-30',201905,1,2019,30,5,201901),('2019-01-31',201905,1,2019,31,5,201901),('2019-02-01',201905,2,2019,1,5,201902),('2019-02-02',201905,2,2019,2,5,201902),('2019-02-03',201906,2,2019,3,6,201902),('2019-02-04',201906,2,2019,4,6,201902),('2019-02-05',201906,2,2019,5,6,201902),('2019-02-06',201906,2,2019,6,6,201902),('2019-02-07',201906,2,2019,7,6,201902),('2019-02-08',201906,2,2019,8,6,201902),('2019-02-09',201906,2,2019,9,6,201902),('2019-02-10',201907,2,2019,10,7,201902),('2019-02-11',201907,2,2019,11,7,201902),('2019-02-12',201907,2,2019,12,7,201902),('2019-02-13',201907,2,2019,13,7,201902),('2019-02-14',201907,2,2019,14,7,201902),('2019-02-15',201907,2,2019,15,7,201902),('2019-02-16',201907,2,2019,16,7,201902),('2019-02-17',201908,2,2019,17,8,201902),('2019-02-18',201908,2,2019,18,8,201902),('2019-02-19',201908,2,2019,19,8,201902),('2019-02-20',201908,2,2019,20,8,201902),('2019-02-21',201908,2,2019,21,8,201902),('2019-02-22',201908,2,2019,22,8,201902),('2019-02-23',201908,2,2019,23,8,201902),('2019-02-24',201909,2,2019,24,9,201902),('2019-02-25',201909,2,2019,25,9,201902),('2019-02-26',201909,2,2019,26,9,201902),('2019-02-27',201909,2,2019,27,9,201902),('2019-02-28',201909,2,2019,28,9,201902),('2019-03-01',201909,3,2019,1,9,201903),('2019-03-02',201909,3,2019,2,9,201903),('2019-03-03',201910,3,2019,3,10,201903),('2019-03-04',201910,3,2019,4,10,201903),('2019-03-05',201910,3,2019,5,10,201903),('2019-03-06',201910,3,2019,6,10,201903),('2019-03-07',201910,3,2019,7,10,201903),('2019-03-08',201910,3,2019,8,10,201903),('2019-03-09',201910,3,2019,9,10,201903),('2019-03-10',201911,3,2019,10,11,201903),('2019-03-11',201911,3,2019,11,11,201903),('2019-03-12',201911,3,2019,12,11,201903),('2019-03-13',201911,3,2019,13,11,201903),('2019-03-14',201911,3,2019,14,11,201903),('2019-03-15',201911,3,2019,15,11,201903),('2019-03-16',201911,3,2019,16,11,201903),('2019-03-17',201912,3,2019,17,12,201903),('2019-03-18',201912,3,2019,18,12,201903),('2019-03-19',201912,3,2019,19,12,201903),('2019-03-20',201912,3,2019,20,12,201903),('2019-03-21',201912,3,2019,21,12,201903),('2019-03-22',201912,3,2019,22,12,201903),('2019-03-23',201912,3,2019,23,12,201903),('2019-03-24',201913,3,2019,24,13,201903),('2019-03-25',201913,3,2019,25,13,201903),('2019-03-26',201913,3,2019,26,13,201903),('2019-03-27',201913,3,2019,27,13,201903),('2019-03-28',201913,3,2019,28,13,201903),('2019-03-29',201913,3,2019,29,13,201903),('2019-03-30',201913,3,2019,30,13,201903),('2019-03-31',201914,3,2019,31,14,201903),('2019-04-01',201914,4,2019,1,14,201904),('2019-04-02',201914,4,2019,2,14,201904),('2019-04-03',201914,4,2019,3,14,201904),('2019-04-04',201914,4,2019,4,14,201904),('2019-04-05',201914,4,2019,5,14,201904),('2019-04-06',201914,4,2019,6,14,201904),('2019-04-07',201915,4,2019,7,15,201904),('2019-04-08',201915,4,2019,8,15,201904),('2019-04-09',201915,4,2019,9,15,201904),('2019-04-10',201915,4,2019,10,15,201904),('2019-04-11',201915,4,2019,11,15,201904),('2019-04-12',201915,4,2019,12,15,201904),('2019-04-13',201915,4,2019,13,15,201904),('2019-04-14',201916,4,2019,14,16,201904),('2019-04-15',201916,4,2019,15,16,201904),('2019-04-16',201916,4,2019,16,16,201904),('2019-04-17',201916,4,2019,17,16,201904),('2019-04-18',201916,4,2019,18,16,201904),('2019-04-19',201916,4,2019,19,16,201904),('2019-04-20',201916,4,2019,20,16,201904),('2019-04-21',201917,4,2019,21,17,201904),('2019-04-22',201917,4,2019,22,17,201904),('2019-04-23',201917,4,2019,23,17,201904),('2019-04-24',201917,4,2019,24,17,201904),('2019-04-25',201917,4,2019,25,17,201904),('2019-04-26',201917,4,2019,26,17,201904),('2019-04-27',201917,4,2019,27,17,201904),('2019-04-28',201918,4,2019,28,18,201904),('2019-04-29',201918,4,2019,29,18,201904),('2019-04-30',201918,4,2019,30,18,201904),('2019-05-01',201918,5,2019,1,18,201905),('2019-05-02',201918,5,2019,2,18,201905),('2019-05-03',201918,5,2019,3,18,201905),('2019-05-04',201918,5,2019,4,18,201905),('2019-05-05',201919,5,2019,5,19,201905),('2019-05-06',201919,5,2019,6,19,201905),('2019-05-07',201919,5,2019,7,19,201905),('2019-05-08',201919,5,2019,8,19,201905),('2019-05-09',201919,5,2019,9,19,201905),('2019-05-10',201919,5,2019,10,19,201905),('2019-05-11',201919,5,2019,11,19,201905),('2019-05-12',201920,5,2019,12,20,201905),('2019-05-13',201920,5,2019,13,20,201905),('2019-05-14',201920,5,2019,14,20,201905),('2019-05-15',201920,5,2019,15,20,201905),('2019-05-16',201920,5,2019,16,20,201905),('2019-05-17',201920,5,2019,17,20,201905),('2019-05-18',201920,5,2019,18,20,201905),('2019-05-19',201921,5,2019,19,21,201905),('2019-05-20',201921,5,2019,20,21,201905),('2019-05-21',201921,5,2019,21,21,201905),('2019-05-22',201921,5,2019,22,21,201905),('2019-05-23',201921,5,2019,23,21,201905),('2019-05-24',201921,5,2019,24,21,201905),('2019-05-25',201921,5,2019,25,21,201905),('2019-05-26',201922,5,2019,26,22,201905),('2019-05-27',201922,5,2019,27,22,201905),('2019-05-28',201922,5,2019,28,22,201905),('2019-05-29',201922,5,2019,29,22,201905),('2019-05-30',201922,5,2019,30,22,201905),('2019-05-31',201922,5,2019,31,22,201905),('2019-06-01',201922,6,2019,1,22,201906),('2019-06-02',201923,6,2019,2,23,201906),('2019-06-03',201923,6,2019,3,23,201906),('2019-06-04',201923,6,2019,4,23,201906),('2019-06-05',201923,6,2019,5,23,201906),('2019-06-06',201923,6,2019,6,23,201906),('2019-06-07',201923,6,2019,7,23,201906),('2019-06-08',201923,6,2019,8,23,201906),('2019-06-09',201924,6,2019,9,24,201906),('2019-06-10',201924,6,2019,10,24,201906),('2019-06-11',201924,6,2019,11,24,201906),('2019-06-12',201924,6,2019,12,24,201906),('2019-06-13',201924,6,2019,13,24,201906),('2019-06-14',201924,6,2019,14,24,201906),('2019-06-15',201924,6,2019,15,24,201906),('2019-06-16',201925,6,2019,16,25,201906),('2019-06-17',201925,6,2019,17,25,201906),('2019-06-18',201925,6,2019,18,25,201906),('2019-06-19',201925,6,2019,19,25,201906),('2019-06-20',201925,6,2019,20,25,201906),('2019-06-21',201925,6,2019,21,25,201906),('2019-06-22',201925,6,2019,22,25,201906),('2019-06-23',201926,6,2019,23,26,201906),('2019-06-24',201926,6,2019,24,26,201906),('2019-06-25',201926,6,2019,25,26,201906),('2019-06-26',201926,6,2019,26,26,201906),('2019-06-27',201926,6,2019,27,26,201906),('2019-06-28',201926,6,2019,28,26,201906),('2019-06-29',201926,6,2019,29,26,201906),('2019-06-30',201927,6,2019,30,27,201906),('2019-07-01',201927,7,2019,1,27,201907),('2019-07-02',201927,7,2019,2,27,201907),('2019-07-03',201927,7,2019,3,27,201907),('2019-07-04',201927,7,2019,4,27,201907),('2019-07-05',201927,7,2019,5,27,201907),('2019-07-06',201927,7,2019,6,27,201907),('2019-07-07',201928,7,2019,7,28,201907),('2019-07-08',201928,7,2019,8,28,201907),('2019-07-09',201928,7,2019,9,28,201907),('2019-07-10',201928,7,2019,10,28,201907),('2019-07-11',201928,7,2019,11,28,201907),('2019-07-12',201928,7,2019,12,28,201907),('2019-07-13',201928,7,2019,13,28,201907),('2019-07-14',201929,7,2019,14,29,201907),('2019-07-15',201929,7,2019,15,29,201907),('2019-07-16',201929,7,2019,16,29,201907),('2019-07-17',201929,7,2019,17,29,201907),('2019-07-18',201929,7,2019,18,29,201907),('2019-07-19',201929,7,2019,19,29,201907),('2019-07-20',201929,7,2019,20,29,201907),('2019-07-21',201930,7,2019,21,30,201907),('2019-07-22',201930,7,2019,22,30,201907),('2019-07-23',201930,7,2019,23,30,201907),('2019-07-24',201930,7,2019,24,30,201907),('2019-07-25',201930,7,2019,25,30,201907),('2019-07-26',201930,7,2019,26,30,201907),('2019-07-27',201930,7,2019,27,30,201907),('2019-07-28',201931,7,2019,28,31,201907),('2019-07-29',201931,7,2019,29,31,201907),('2019-07-30',201931,7,2019,30,31,201907),('2019-07-31',201931,7,2019,31,31,201907),('2019-08-01',201931,8,2019,1,31,201908),('2019-08-02',201931,8,2019,2,31,201908),('2019-08-03',201931,8,2019,3,31,201908),('2019-08-04',201932,8,2019,4,32,201908),('2019-08-05',201932,8,2019,5,32,201908),('2019-08-06',201932,8,2019,6,32,201908),('2019-08-07',201932,8,2019,7,32,201908),('2019-08-08',201932,8,2019,8,32,201908),('2019-08-09',201932,8,2019,9,32,201908),('2019-08-10',201932,8,2019,10,32,201908),('2019-08-11',201933,8,2019,11,33,201908),('2019-08-12',201933,8,2019,12,33,201908),('2019-08-13',201933,8,2019,13,33,201908),('2019-08-14',201933,8,2019,14,33,201908),('2019-08-15',201933,8,2019,15,33,201908),('2019-08-16',201933,8,2019,16,33,201908),('2019-08-17',201933,8,2019,17,33,201908),('2019-08-18',201934,8,2019,18,34,201908),('2019-08-19',201934,8,2019,19,34,201908),('2019-08-20',201934,8,2019,20,34,201908),('2019-08-21',201934,8,2019,21,34,201908),('2019-08-22',201934,8,2019,22,34,201908),('2019-08-23',201934,8,2019,23,34,201908),('2019-08-24',201934,8,2019,24,34,201908),('2019-08-25',201935,8,2019,25,35,201908),('2019-08-26',201935,8,2019,26,35,201908),('2019-08-27',201935,8,2019,27,35,201908),('2019-08-28',201935,8,2019,28,35,201908),('2019-08-29',201935,8,2019,29,35,201908),('2019-08-30',201935,8,2019,30,35,201908),('2019-08-31',201935,8,2019,31,35,201908),('2019-09-01',201936,9,2019,1,36,201909),('2019-09-02',201936,9,2019,2,36,201909),('2019-09-03',201936,9,2019,3,36,201909),('2019-09-04',201936,9,2019,4,36,201909),('2019-09-05',201936,9,2019,5,36,201909),('2019-09-06',201936,9,2019,6,36,201909),('2019-09-07',201936,9,2019,7,36,201909),('2019-09-08',201937,9,2019,8,37,201909),('2019-09-09',201937,9,2019,9,37,201909),('2019-09-10',201937,9,2019,10,37,201909),('2019-09-11',201937,9,2019,11,37,201909),('2019-09-12',201937,9,2019,12,37,201909),('2019-09-13',201937,9,2019,13,37,201909),('2019-09-14',201937,9,2019,14,37,201909),('2019-09-15',201938,9,2019,15,38,201909),('2019-09-16',201938,9,2019,16,38,201909),('2019-09-17',201938,9,2019,17,38,201909),('2019-09-18',201938,9,2019,18,38,201909),('2019-09-19',201938,9,2019,19,38,201909),('2019-09-20',201938,9,2019,20,38,201909),('2019-09-21',201938,9,2019,21,38,201909),('2019-09-22',201939,9,2019,22,39,201909),('2019-09-23',201939,9,2019,23,39,201909),('2019-09-24',201939,9,2019,24,39,201909),('2019-09-25',201939,9,2019,25,39,201909),('2019-09-26',201939,9,2019,26,39,201909),('2019-09-27',201939,9,2019,27,39,201909),('2019-09-28',201939,9,2019,28,39,201909),('2019-09-29',201940,9,2019,29,40,201909),('2019-09-30',201940,9,2019,30,40,201909),('2019-10-01',201940,10,2019,1,40,201910),('2019-10-02',201940,10,2019,2,40,201910),('2019-10-03',201940,10,2019,3,40,201910),('2019-10-04',201940,10,2019,4,40,201910),('2019-10-05',201940,10,2019,5,40,201910),('2019-10-06',201941,10,2019,6,41,201910),('2019-10-07',201941,10,2019,7,41,201910),('2019-10-08',201941,10,2019,8,41,201910),('2019-10-09',201941,10,2019,9,41,201910),('2019-10-10',201941,10,2019,10,41,201910),('2019-10-11',201941,10,2019,11,41,201910),('2019-10-12',201941,10,2019,12,41,201910),('2019-10-13',201942,10,2019,13,42,201910),('2019-10-14',201942,10,2019,14,42,201910),('2019-10-15',201942,10,2019,15,42,201910),('2019-10-16',201942,10,2019,16,42,201910),('2019-10-17',201942,10,2019,17,42,201910),('2019-10-18',201942,10,2019,18,42,201910),('2019-10-19',201942,10,2019,19,42,201910),('2019-10-20',201943,10,2019,20,43,201910),('2019-10-21',201943,10,2019,21,43,201910),('2019-10-22',201943,10,2019,22,43,201910),('2019-10-23',201943,10,2019,23,43,201910),('2019-10-24',201943,10,2019,24,43,201910),('2019-10-25',201943,10,2019,25,43,201910),('2019-10-26',201943,10,2019,26,43,201910),('2019-10-27',201944,10,2019,27,44,201910),('2019-10-28',201944,10,2019,28,44,201910),('2019-10-29',201944,10,2019,29,44,201910),('2019-10-30',201944,10,2019,30,44,201910),('2019-10-31',201944,10,2019,31,44,201910),('2019-11-01',201944,11,2019,1,44,201911),('2019-11-02',201944,11,2019,2,44,201911),('2019-11-03',201945,11,2019,3,45,201911),('2019-11-04',201945,11,2019,4,45,201911),('2019-11-05',201945,11,2019,5,45,201911),('2019-11-06',201945,11,2019,6,45,201911),('2019-11-07',201945,11,2019,7,45,201911),('2019-11-08',201945,11,2019,8,45,201911),('2019-11-09',201945,11,2019,9,45,201911),('2019-11-10',201946,11,2019,10,46,201911),('2019-11-11',201946,11,2019,11,46,201911),('2019-11-12',201946,11,2019,12,46,201911),('2019-11-13',201946,11,2019,13,46,201911),('2019-11-14',201946,11,2019,14,46,201911),('2019-11-15',201946,11,2019,15,46,201911),('2019-11-16',201946,11,2019,16,46,201911),('2019-11-17',201947,11,2019,17,47,201911),('2019-11-18',201947,11,2019,18,47,201911),('2019-11-19',201947,11,2019,19,47,201911),('2019-11-20',201947,11,2019,20,47,201911),('2019-11-21',201947,11,2019,21,47,201911),('2019-11-22',201947,11,2019,22,47,201911),('2019-11-23',201947,11,2019,23,47,201911),('2019-11-24',201948,11,2019,24,48,201911),('2019-11-25',201948,11,2019,25,48,201911),('2019-11-26',201948,11,2019,26,48,201911),('2019-11-27',201948,11,2019,27,48,201911),('2019-11-28',201948,11,2019,28,48,201911),('2019-11-29',201948,11,2019,29,48,201911),('2019-11-30',201948,11,2019,30,48,201911),('2019-12-01',201949,12,2019,1,49,201912),('2019-12-02',201949,12,2019,2,49,201912),('2019-12-03',201949,12,2019,3,49,201912),('2019-12-04',201949,12,2019,4,49,201912),('2019-12-05',201949,12,2019,5,49,201912),('2019-12-06',201949,12,2019,6,49,201912),('2019-12-07',201949,12,2019,7,49,201912),('2019-12-08',201950,12,2019,8,50,201912),('2019-12-09',201950,12,2019,9,50,201912),('2019-12-10',201950,12,2019,10,50,201912),('2019-12-11',201950,12,2019,11,50,201912),('2019-12-12',201950,12,2019,12,50,201912),('2019-12-13',201950,12,2019,13,50,201912),('2019-12-14',201950,12,2019,14,50,201912),('2019-12-15',201951,12,2019,15,51,201912),('2019-12-16',201951,12,2019,16,51,201912),('2019-12-17',201951,12,2019,17,51,201912),('2019-12-18',201951,12,2019,18,51,201912),('2019-12-19',201951,12,2019,19,51,201912),('2019-12-20',201951,12,2019,20,51,201912),('2019-12-21',201951,12,2019,21,51,201912),('2019-12-22',201952,12,2019,22,52,201912),('2019-12-23',201952,12,2019,23,52,201912),('2019-12-24',201952,12,2019,24,52,201912),('2019-12-25',201952,12,2019,25,52,201912),('2019-12-26',201952,12,2019,26,52,201912),('2019-12-27',201952,12,2019,27,52,201912),('2019-12-28',201952,12,2019,28,52,201912),('2019-12-29',202001,12,2020,29,1,201912),('2019-12-30',202001,12,2020,30,1,201912),('2019-12-31',202001,12,2020,31,1,201912),('2020-01-01',202001,1,2020,1,1,202001),('2020-01-02',202001,1,2020,2,1,202001),('2020-01-03',202001,1,2020,3,1,202001),('2020-01-04',202001,1,2020,4,1,202001),('2020-01-05',202002,1,2020,5,2,202001),('2020-01-06',202002,1,2020,6,2,202001),('2020-01-07',202002,1,2020,7,2,202001),('2020-01-08',202002,1,2020,8,2,202001),('2020-01-09',202002,1,2020,9,2,202001),('2020-01-10',202002,1,2020,10,2,202001),('2020-01-11',202002,1,2020,11,2,202001),('2020-01-12',202003,1,2020,12,3,202001),('2020-01-13',202003,1,2020,13,3,202001),('2020-01-14',202003,1,2020,14,3,202001),('2020-01-15',202003,1,2020,15,3,202001),('2020-01-16',202003,1,2020,16,3,202001),('2020-01-17',202003,1,2020,17,3,202001),('2020-01-18',202003,1,2020,18,3,202001),('2020-01-19',202004,1,2020,19,4,202001),('2020-01-20',202004,1,2020,20,4,202001),('2020-01-21',202004,1,2020,21,4,202001),('2020-01-22',202004,1,2020,22,4,202001),('2020-01-23',202004,1,2020,23,4,202001),('2020-01-24',202004,1,2020,24,4,202001),('2020-01-25',202004,1,2020,25,4,202001),('2020-01-26',202005,1,2020,26,5,202001),('2020-01-27',202005,1,2020,27,5,202001),('2020-01-28',202005,1,2020,28,5,202001),('2020-01-29',202005,1,2020,29,5,202001),('2020-01-30',202005,1,2020,30,5,202001),('2020-01-31',202005,1,2020,31,5,202001),('2020-02-01',202005,2,2020,1,5,202002),('2020-02-02',202006,2,2020,2,6,202002),('2020-02-03',202006,2,2020,3,6,202002),('2020-02-04',202006,2,2020,4,6,202002),('2020-02-05',202006,2,2020,5,6,202002),('2020-02-06',202006,2,2020,6,6,202002),('2020-02-07',202006,2,2020,7,6,202002),('2020-02-08',202006,2,2020,8,6,202002),('2020-02-09',202007,2,2020,9,7,202002),('2020-02-10',202007,2,2020,10,7,202002),('2020-02-11',202007,2,2020,11,7,202002),('2020-02-12',202007,2,2020,12,7,202002),('2020-02-13',202007,2,2020,13,7,202002),('2020-02-14',202007,2,2020,14,7,202002),('2020-02-15',202007,2,2020,15,7,202002),('2020-02-16',202008,2,2020,16,8,202002),('2020-02-17',202008,2,2020,17,8,202002),('2020-02-18',202008,2,2020,18,8,202002),('2020-02-19',202008,2,2020,19,8,202002),('2020-02-20',202008,2,2020,20,8,202002),('2020-02-21',202008,2,2020,21,8,202002),('2020-02-22',202008,2,2020,22,8,202002),('2020-02-23',202009,2,2020,23,9,202002),('2020-02-24',202009,2,2020,24,9,202002),('2020-02-25',202009,2,2020,25,9,202002),('2020-02-26',202009,2,2020,26,9,202002),('2020-02-27',202009,2,2020,27,9,202002),('2020-02-28',202009,2,2020,28,9,202002),('2020-02-29',202009,2,2020,29,9,202002),('2020-03-01',202010,3,2020,1,10,202003),('2020-03-02',202010,3,2020,2,10,202003),('2020-03-03',202010,3,2020,3,10,202003),('2020-03-04',202010,3,2020,4,10,202003),('2020-03-05',202010,3,2020,5,10,202003),('2020-03-06',202010,3,2020,6,10,202003),('2020-03-07',202010,3,2020,7,10,202003),('2020-03-08',202011,3,2020,8,11,202003),('2020-03-09',202011,3,2020,9,11,202003),('2020-03-10',202011,3,2020,10,11,202003),('2020-03-11',202011,3,2020,11,11,202003),('2020-03-12',202011,3,2020,12,11,202003),('2020-03-13',202011,3,2020,13,11,202003),('2020-03-14',202011,3,2020,14,11,202003),('2020-03-15',202012,3,2020,15,12,202003),('2020-03-16',202012,3,2020,16,12,202003),('2020-03-17',202012,3,2020,17,12,202003),('2020-03-18',202012,3,2020,18,12,202003),('2020-03-19',202012,3,2020,19,12,202003),('2020-03-20',202012,3,2020,20,12,202003),('2020-03-21',202012,3,2020,21,12,202003),('2020-03-22',202013,3,2020,22,13,202003),('2020-03-23',202013,3,2020,23,13,202003),('2020-03-24',202013,3,2020,24,13,202003),('2020-03-25',202013,3,2020,25,13,202003),('2020-03-26',202013,3,2020,26,13,202003),('2020-03-27',202013,3,2020,27,13,202003),('2020-03-28',202013,3,2020,28,13,202003),('2020-03-29',202014,3,2020,29,14,202003),('2020-03-30',202014,3,2020,30,14,202003),('2020-03-31',202014,3,2020,31,14,202003),('2020-04-01',202014,4,2020,1,14,202004),('2020-04-02',202014,4,2020,2,14,202004),('2020-04-03',202014,4,2020,3,14,202004),('2020-04-04',202014,4,2020,4,14,202004),('2020-04-05',202015,4,2020,5,15,202004),('2020-04-06',202015,4,2020,6,15,202004),('2020-04-07',202015,4,2020,7,15,202004),('2020-04-08',202015,4,2020,8,15,202004),('2020-04-09',202015,4,2020,9,15,202004),('2020-04-10',202015,4,2020,10,15,202004),('2020-04-11',202015,4,2020,11,15,202004),('2020-04-12',202016,4,2020,12,16,202004),('2020-04-13',202016,4,2020,13,16,202004),('2020-04-14',202016,4,2020,14,16,202004),('2020-04-15',202016,4,2020,15,16,202004),('2020-04-16',202016,4,2020,16,16,202004),('2020-04-17',202016,4,2020,17,16,202004),('2020-04-18',202016,4,2020,18,16,202004),('2020-04-19',202017,4,2020,19,17,202004),('2020-04-20',202017,4,2020,20,17,202004),('2020-04-21',202017,4,2020,21,17,202004),('2020-04-22',202017,4,2020,22,17,202004),('2020-04-23',202017,4,2020,23,17,202004),('2020-04-24',202017,4,2020,24,17,202004),('2020-04-25',202017,4,2020,25,17,202004),('2020-04-26',202018,4,2020,26,18,202004),('2020-04-27',202018,4,2020,27,18,202004),('2020-04-28',202018,4,2020,28,18,202004),('2020-04-29',202018,4,2020,29,18,202004),('2020-04-30',202018,4,2020,30,18,202004),('2020-05-01',202018,5,2020,1,18,202005),('2020-05-02',202018,5,2020,2,18,202005),('2020-05-03',202019,5,2020,3,19,202005),('2020-05-04',202019,5,2020,4,19,202005),('2020-05-05',202019,5,2020,5,19,202005),('2020-05-06',202019,5,2020,6,19,202005),('2020-05-07',202019,5,2020,7,19,202005),('2020-05-08',202019,5,2020,8,19,202005),('2020-05-09',202019,5,2020,9,19,202005),('2020-05-10',202020,5,2020,10,20,202005),('2020-05-11',202020,5,2020,11,20,202005),('2020-05-12',202020,5,2020,12,20,202005),('2020-05-13',202020,5,2020,13,20,202005),('2020-05-14',202020,5,2020,14,20,202005),('2020-05-15',202020,5,2020,15,20,202005),('2020-05-16',202020,5,2020,16,20,202005),('2020-05-17',202021,5,2020,17,21,202005),('2020-05-18',202021,5,2020,18,21,202005),('2020-05-19',202021,5,2020,19,21,202005),('2020-05-20',202021,5,2020,20,21,202005),('2020-05-21',202021,5,2020,21,21,202005),('2020-05-22',202021,5,2020,22,21,202005),('2020-05-23',202021,5,2020,23,21,202005),('2020-05-24',202022,5,2020,24,22,202005),('2020-05-25',202022,5,2020,25,22,202005),('2020-05-26',202022,5,2020,26,22,202005),('2020-05-27',202022,5,2020,27,22,202005),('2020-05-28',202022,5,2020,28,22,202005),('2020-05-29',202022,5,2020,29,22,202005),('2020-05-30',202022,5,2020,30,22,202005),('2020-05-31',202023,5,2020,31,23,202005),('2020-06-01',202023,6,2020,1,23,202006),('2020-06-02',202023,6,2020,2,23,202006),('2020-06-03',202023,6,2020,3,23,202006),('2020-06-04',202023,6,2020,4,23,202006),('2020-06-05',202023,6,2020,5,23,202006),('2020-06-06',202023,6,2020,6,23,202006),('2020-06-07',202024,6,2020,7,24,202006),('2020-06-08',202024,6,2020,8,24,202006),('2020-06-09',202024,6,2020,9,24,202006),('2020-06-10',202024,6,2020,10,24,202006),('2020-06-11',202024,6,2020,11,24,202006),('2020-06-12',202024,6,2020,12,24,202006),('2020-06-13',202024,6,2020,13,24,202006),('2020-06-14',202025,6,2020,14,25,202006),('2020-06-15',202025,6,2020,15,25,202006),('2020-06-16',202025,6,2020,16,25,202006),('2020-06-17',202025,6,2020,17,25,202006),('2020-06-18',202025,6,2020,18,25,202006),('2020-06-19',202025,6,2020,19,25,202006),('2020-06-20',202025,6,2020,20,25,202006),('2020-06-21',202026,6,2020,21,26,202006),('2020-06-22',202026,6,2020,22,26,202006),('2020-06-23',202026,6,2020,23,26,202006),('2020-06-24',202026,6,2020,24,26,202006),('2020-06-25',202026,6,2020,25,26,202006),('2020-06-26',202026,6,2020,26,26,202006),('2020-06-27',202026,6,2020,27,26,202006),('2020-06-28',202027,6,2020,28,27,202006),('2020-06-29',202027,6,2020,29,27,202006),('2020-06-30',202027,6,2020,30,27,202006),('2020-07-01',202027,7,2020,1,27,202007),('2020-07-02',202027,7,2020,2,27,202007),('2020-07-03',202027,7,2020,3,27,202007),('2020-07-04',202027,7,2020,4,27,202007),('2020-07-05',202028,7,2020,5,28,202007),('2020-07-06',202028,7,2020,6,28,202007),('2020-07-07',202028,7,2020,7,28,202007),('2020-07-08',202028,7,2020,8,28,202007),('2020-07-09',202028,7,2020,9,28,202007),('2020-07-10',202028,7,2020,10,28,202007),('2020-07-11',202028,7,2020,11,28,202007),('2020-07-12',202029,7,2020,12,29,202007),('2020-07-13',202029,7,2020,13,29,202007),('2020-07-14',202029,7,2020,14,29,202007),('2020-07-15',202029,7,2020,15,29,202007),('2020-07-16',202029,7,2020,16,29,202007),('2020-07-17',202029,7,2020,17,29,202007),('2020-07-18',202029,7,2020,18,29,202007),('2020-07-19',202030,7,2020,19,30,202007),('2020-07-20',202030,7,2020,20,30,202007),('2020-07-21',202030,7,2020,21,30,202007),('2020-07-22',202030,7,2020,22,30,202007),('2020-07-23',202030,7,2020,23,30,202007),('2020-07-24',202030,7,2020,24,30,202007),('2020-07-25',202030,7,2020,25,30,202007),('2020-07-26',202031,7,2020,26,31,202007),('2020-07-27',202031,7,2020,27,31,202007),('2020-07-28',202031,7,2020,28,31,202007),('2020-07-29',202031,7,2020,29,31,202007),('2020-07-30',202031,7,2020,30,31,202007),('2020-07-31',202031,7,2020,31,31,202007),('2020-08-01',202031,8,2020,1,31,202008),('2020-08-02',202032,8,2020,2,32,202008),('2020-08-03',202032,8,2020,3,32,202008),('2020-08-04',202032,8,2020,4,32,202008),('2020-08-05',202032,8,2020,5,32,202008),('2020-08-06',202032,8,2020,6,32,202008),('2020-08-07',202032,8,2020,7,32,202008),('2020-08-08',202032,8,2020,8,32,202008),('2020-08-09',202033,8,2020,9,33,202008),('2020-08-10',202033,8,2020,10,33,202008),('2020-08-11',202033,8,2020,11,33,202008),('2020-08-12',202033,8,2020,12,33,202008),('2020-08-13',202033,8,2020,13,33,202008),('2020-08-14',202033,8,2020,14,33,202008),('2020-08-15',202033,8,2020,15,33,202008),('2020-08-16',202034,8,2020,16,34,202008),('2020-08-17',202034,8,2020,17,34,202008),('2020-08-18',202034,8,2020,18,34,202008),('2020-08-19',202034,8,2020,19,34,202008),('2020-08-20',202034,8,2020,20,34,202008),('2020-08-21',202034,8,2020,21,34,202008),('2020-08-22',202034,8,2020,22,34,202008),('2020-08-23',202035,8,2020,23,35,202008),('2020-08-24',202035,8,2020,24,35,202008),('2020-08-25',202035,8,2020,25,35,202008),('2020-08-26',202035,8,2020,26,35,202008),('2020-08-27',202035,8,2020,27,35,202008),('2020-08-28',202035,8,2020,28,35,202008),('2020-08-29',202035,8,2020,29,35,202008),('2020-08-30',202036,8,2020,30,36,202008),('2020-08-31',202036,8,2020,31,36,202008),('2020-09-01',202036,9,2020,1,36,202009),('2020-09-02',202036,9,2020,2,36,202009),('2020-09-03',202036,9,2020,3,36,202009),('2020-09-04',202036,9,2020,4,36,202009),('2020-09-05',202036,9,2020,5,36,202009),('2020-09-06',202037,9,2020,6,37,202009),('2020-09-07',202037,9,2020,7,37,202009),('2020-09-08',202037,9,2020,8,37,202009),('2020-09-09',202037,9,2020,9,37,202009),('2020-09-10',202037,9,2020,10,37,202009),('2020-09-11',202037,9,2020,11,37,202009),('2020-09-12',202037,9,2020,12,37,202009),('2020-09-13',202038,9,2020,13,38,202009),('2020-09-14',202038,9,2020,14,38,202009),('2020-09-15',202038,9,2020,15,38,202009),('2020-09-16',202038,9,2020,16,38,202009),('2020-09-17',202038,9,2020,17,38,202009),('2020-09-18',202038,9,2020,18,38,202009),('2020-09-19',202038,9,2020,19,38,202009),('2020-09-20',202039,9,2020,20,39,202009),('2020-09-21',202039,9,2020,21,39,202009),('2020-09-22',202039,9,2020,22,39,202009),('2020-09-23',202039,9,2020,23,39,202009),('2020-09-24',202039,9,2020,24,39,202009),('2020-09-25',202039,9,2020,25,39,202009),('2020-09-26',202039,9,2020,26,39,202009),('2020-09-27',202040,9,2020,27,40,202009),('2020-09-28',202040,9,2020,28,40,202009),('2020-09-29',202040,9,2020,29,40,202009),('2020-09-30',202040,9,2020,30,40,202009),('2020-10-01',202040,10,2020,1,40,202010),('2020-10-02',202040,10,2020,2,40,202010),('2020-10-03',202040,10,2020,3,40,202010),('2020-10-04',202041,10,2020,4,41,202010),('2020-10-05',202041,10,2020,5,41,202010),('2020-10-06',202041,10,2020,6,41,202010),('2020-10-07',202041,10,2020,7,41,202010),('2020-10-08',202041,10,2020,8,41,202010),('2020-10-09',202041,10,2020,9,41,202010),('2020-10-10',202041,10,2020,10,41,202010),('2020-10-11',202042,10,2020,11,42,202010),('2020-10-12',202042,10,2020,12,42,202010),('2020-10-13',202042,10,2020,13,42,202010),('2020-10-14',202042,10,2020,14,42,202010),('2020-10-15',202042,10,2020,15,42,202010),('2020-10-16',202042,10,2020,16,42,202010),('2020-10-17',202042,10,2020,17,42,202010),('2020-10-18',202043,10,2020,18,43,202010),('2020-10-19',202043,10,2020,19,43,202010),('2020-10-20',202043,10,2020,20,43,202010),('2020-10-21',202043,10,2020,21,43,202010),('2020-10-22',202043,10,2020,22,43,202010),('2020-10-23',202043,10,2020,23,43,202010),('2020-10-24',202043,10,2020,24,43,202010),('2020-10-25',202044,10,2020,25,44,202010),('2020-10-26',202044,10,2020,26,44,202010),('2020-10-27',202044,10,2020,27,44,202010),('2020-10-28',202044,10,2020,28,44,202010),('2020-10-29',202044,10,2020,29,44,202010),('2020-10-30',202044,10,2020,30,44,202010),('2020-10-31',202044,10,2020,31,44,202010),('2020-11-01',202045,11,2020,1,45,202011),('2020-11-02',202045,11,2020,2,45,202011),('2020-11-03',202045,11,2020,3,45,202011),('2020-11-04',202045,11,2020,4,45,202011),('2020-11-05',202045,11,2020,5,45,202011),('2020-11-06',202045,11,2020,6,45,202011),('2020-11-07',202045,11,2020,7,45,202011),('2020-11-08',202046,11,2020,8,46,202011),('2020-11-09',202046,11,2020,9,46,202011),('2020-11-10',202046,11,2020,10,46,202011),('2020-11-11',202046,11,2020,11,46,202011),('2020-11-12',202046,11,2020,12,46,202011),('2020-11-13',202046,11,2020,13,46,202011),('2020-11-14',202046,11,2020,14,46,202011),('2020-11-15',202047,11,2020,15,47,202011),('2020-11-16',202047,11,2020,16,47,202011),('2020-11-17',202047,11,2020,17,47,202011),('2020-11-18',202047,11,2020,18,47,202011),('2020-11-19',202047,11,2020,19,47,202011),('2020-11-20',202047,11,2020,20,47,202011),('2020-11-21',202047,11,2020,21,47,202011),('2020-11-22',202048,11,2020,22,48,202011),('2020-11-23',202048,11,2020,23,48,202011),('2020-11-24',202048,11,2020,24,48,202011),('2020-11-25',202048,11,2020,25,48,202011),('2020-11-26',202048,11,2020,26,48,202011),('2020-11-27',202048,11,2020,27,48,202011),('2020-11-28',202048,11,2020,28,48,202011),('2020-11-29',202049,11,2020,29,49,202011),('2020-11-30',202049,11,2020,30,49,202011),('2020-12-01',202049,12,2020,1,49,202012),('2020-12-02',202049,12,2020,2,49,202012),('2020-12-03',202049,12,2020,3,49,202012),('2020-12-04',202049,12,2020,4,49,202012),('2020-12-05',202049,12,2020,5,49,202012),('2020-12-06',202050,12,2020,6,50,202012),('2020-12-07',202050,12,2020,7,50,202012),('2020-12-08',202050,12,2020,8,50,202012),('2020-12-09',202050,12,2020,9,50,202012),('2020-12-10',202050,12,2020,10,50,202012),('2020-12-11',202050,12,2020,11,50,202012),('2020-12-12',202050,12,2020,12,50,202012),('2020-12-13',202051,12,2020,13,51,202012),('2020-12-14',202051,12,2020,14,51,202012),('2020-12-15',202051,12,2020,15,51,202012),('2020-12-16',202051,12,2020,16,51,202012),('2020-12-17',202051,12,2020,17,51,202012),('2020-12-18',202051,12,2020,18,51,202012),('2020-12-19',202051,12,2020,19,51,202012),('2020-12-20',202052,12,2020,20,52,202012),('2020-12-21',202052,12,2020,21,52,202012),('2020-12-22',202052,12,2020,22,52,202012),('2020-12-23',202052,12,2020,23,52,202012),('2020-12-24',202052,12,2020,24,52,202012),('2020-12-25',202052,12,2020,25,52,202012),('2020-12-26',202052,12,2020,26,52,202012),('2020-12-27',202052,12,2020,27,52,202012),('2020-12-28',202052,12,2020,28,52,202012),('2020-12-29',202052,12,2020,29,52,202012),('2020-12-30',202052,12,2020,30,52,202012),('2020-12-31',202052,12,2020,31,52,202012),('2021-01-01',202101,1,2021,1,1,202101),('2021-01-02',202101,1,2021,2,1,202101),('2021-01-03',202101,1,2021,3,1,202101),('2021-01-04',202101,1,2021,4,1,202101),('2021-01-05',202101,1,2021,5,1,202101),('2021-01-06',202101,1,2021,6,1,202101),('2021-01-07',202101,1,2021,7,1,202101),('2021-01-08',202101,1,2021,8,1,202101),('2021-01-09',202101,1,2021,9,1,202101),('2021-01-10',202102,1,2021,10,2,202101),('2021-01-11',202102,1,2021,11,2,202101),('2021-01-12',202102,1,2021,12,2,202101),('2021-01-13',202102,1,2021,13,2,202101),('2021-01-14',202102,1,2021,14,2,202101),('2021-01-15',202102,1,2021,15,2,202101),('2021-01-16',202102,1,2021,16,2,202101),('2021-01-17',202103,1,2021,17,3,202101),('2021-01-18',202103,1,2021,18,3,202101),('2021-01-19',202103,1,2021,19,3,202101),('2021-01-20',202103,1,2021,20,3,202101),('2021-01-21',202103,1,2021,21,3,202101),('2021-01-22',202103,1,2021,22,3,202101),('2021-01-23',202103,1,2021,23,3,202101),('2021-01-24',202104,1,2021,24,4,202101),('2021-01-25',202104,1,2021,25,4,202101),('2021-01-26',202104,1,2021,26,4,202101),('2021-01-27',202104,1,2021,27,4,202101),('2021-01-28',202104,1,2021,28,4,202101),('2021-01-29',202104,1,2021,29,4,202101),('2021-01-30',202104,1,2021,30,4,202101),('2021-01-31',202105,1,2021,31,5,202101),('2021-02-01',202105,2,2021,1,5,202102),('2021-02-02',202105,2,2021,2,5,202102),('2021-02-03',202105,2,2021,3,5,202102),('2021-02-04',202105,2,2021,4,5,202102),('2021-02-05',202105,2,2021,5,5,202102),('2021-02-06',202105,2,2021,6,5,202102),('2021-02-07',202106,2,2021,7,6,202102),('2021-02-08',202106,2,2021,8,6,202102),('2021-02-09',202106,2,2021,9,6,202102),('2021-02-10',202106,2,2021,10,6,202102),('2021-02-11',202106,2,2021,11,6,202102),('2021-02-12',202106,2,2021,12,6,202102),('2021-02-13',202106,2,2021,13,6,202102),('2021-02-14',202107,2,2021,14,7,202102),('2021-02-15',202107,2,2021,15,7,202102),('2021-02-16',202107,2,2021,16,7,202102),('2021-02-17',202107,2,2021,17,7,202102),('2021-02-18',202107,2,2021,18,7,202102),('2021-02-19',202107,2,2021,19,7,202102),('2021-02-20',202107,2,2021,20,7,202102),('2021-02-21',202108,2,2021,21,8,202102),('2021-02-22',202108,2,2021,22,8,202102),('2021-02-23',202108,2,2021,23,8,202102),('2021-02-24',202108,2,2021,24,8,202102),('2021-02-25',202108,2,2021,25,8,202102),('2021-02-26',202108,2,2021,26,8,202102),('2021-02-27',202108,2,2021,27,8,202102),('2021-02-28',202109,2,2021,28,9,202102),('2021-03-01',202109,3,2021,1,9,202103),('2021-03-02',202109,3,2021,2,9,202103),('2021-03-03',202109,3,2021,3,9,202103),('2021-03-04',202109,3,2021,4,9,202103),('2021-03-05',202109,3,2021,5,9,202103),('2021-03-06',202109,3,2021,6,9,202103),('2021-03-07',202110,3,2021,7,10,202103),('2021-03-08',202110,3,2021,8,10,202103),('2021-03-09',202110,3,2021,9,10,202103),('2021-03-10',202110,3,2021,10,10,202103),('2021-03-11',202110,3,2021,11,10,202103),('2021-03-12',202110,3,2021,12,10,202103),('2021-03-13',202110,3,2021,13,10,202103),('2021-03-14',202111,3,2021,14,11,202103),('2021-03-15',202111,3,2021,15,11,202103),('2021-03-16',202111,3,2021,16,11,202103),('2021-03-17',202111,3,2021,17,11,202103),('2021-03-18',202111,3,2021,18,11,202103),('2021-03-19',202111,3,2021,19,11,202103),('2021-03-20',202111,3,2021,20,11,202103),('2021-03-21',202112,3,2021,21,12,202103),('2021-03-22',202112,3,2021,22,12,202103),('2021-03-23',202112,3,2021,23,12,202103),('2021-03-24',202112,3,2021,24,12,202103),('2021-03-25',202112,3,2021,25,12,202103),('2021-03-26',202112,3,2021,26,12,202103),('2021-03-27',202112,3,2021,27,12,202103),('2021-03-28',202113,3,2021,28,13,202103),('2021-03-29',202113,3,2021,29,13,202103),('2021-03-30',202113,3,2021,30,13,202103),('2021-03-31',202113,3,2021,31,13,202103),('2021-04-01',202113,4,2021,1,13,202104),('2021-04-02',202113,4,2021,2,13,202104),('2021-04-03',202113,4,2021,3,13,202104),('2021-04-04',202114,4,2021,4,14,202104),('2021-04-05',202114,4,2021,5,14,202104),('2021-04-06',202114,4,2021,6,14,202104),('2021-04-07',202114,4,2021,7,14,202104),('2021-04-08',202114,4,2021,8,14,202104),('2021-04-09',202114,4,2021,9,14,202104),('2021-04-10',202114,4,2021,10,14,202104),('2021-04-11',202115,4,2021,11,15,202104),('2021-04-12',202115,4,2021,12,15,202104),('2021-04-13',202115,4,2021,13,15,202104),('2021-04-14',202115,4,2021,14,15,202104),('2021-04-15',202115,4,2021,15,15,202104),('2021-04-16',202115,4,2021,16,15,202104),('2021-04-17',202115,4,2021,17,15,202104),('2021-04-18',202116,4,2021,18,16,202104),('2021-04-19',202116,4,2021,19,16,202104),('2021-04-20',202116,4,2021,20,16,202104),('2021-04-21',202116,4,2021,21,16,202104),('2021-04-22',202116,4,2021,22,16,202104),('2021-04-23',202116,4,2021,23,16,202104),('2021-04-24',202116,4,2021,24,16,202104),('2021-04-25',202117,4,2021,25,17,202104),('2021-04-26',202117,4,2021,26,17,202104),('2021-04-27',202117,4,2021,27,17,202104),('2021-04-28',202117,4,2021,28,17,202104),('2021-04-29',202117,4,2021,29,17,202104),('2021-04-30',202117,4,2021,30,17,202104),('2021-05-01',202117,5,2021,1,17,202105),('2021-05-02',202118,5,2021,2,18,202105),('2021-05-03',202118,5,2021,3,18,202105),('2021-05-04',202118,5,2021,4,18,202105),('2021-05-05',202118,5,2021,5,18,202105),('2021-05-06',202118,5,2021,6,18,202105),('2021-05-07',202118,5,2021,7,18,202105),('2021-05-08',202118,5,2021,8,18,202105),('2021-05-09',202119,5,2021,9,19,202105),('2021-05-10',202119,5,2021,10,19,202105),('2021-05-11',202119,5,2021,11,19,202105),('2021-05-12',202119,5,2021,12,19,202105),('2021-05-13',202119,5,2021,13,19,202105),('2021-05-14',202119,5,2021,14,19,202105),('2021-05-15',202119,5,2021,15,19,202105),('2021-05-16',202120,5,2021,16,20,202105),('2021-05-17',202120,5,2021,17,20,202105),('2021-05-18',202120,5,2021,18,20,202105),('2021-05-19',202120,5,2021,19,20,202105),('2021-05-20',202120,5,2021,20,20,202105),('2021-05-21',202120,5,2021,21,20,202105),('2021-05-22',202120,5,2021,22,20,202105),('2021-05-23',202121,5,2021,23,21,202105),('2021-05-24',202121,5,2021,24,21,202105),('2021-05-25',202121,5,2021,25,21,202105),('2021-05-26',202121,5,2021,26,21,202105),('2021-05-27',202121,5,2021,27,21,202105),('2021-05-28',202121,5,2021,28,21,202105),('2021-05-29',202121,5,2021,29,21,202105),('2021-05-30',202122,5,2021,30,22,202105),('2021-05-31',202122,5,2021,31,22,202105),('2021-06-01',202122,6,2021,1,22,202106),('2021-06-02',202122,6,2021,2,22,202106),('2021-06-03',202122,6,2021,3,22,202106),('2021-06-04',202122,6,2021,4,22,202106),('2021-06-05',202122,6,2021,5,22,202106),('2021-06-06',202123,6,2021,6,23,202106),('2021-06-07',202123,6,2021,7,23,202106),('2021-06-08',202123,6,2021,8,23,202106),('2021-06-09',202123,6,2021,9,23,202106),('2021-06-10',202123,6,2021,10,23,202106),('2021-06-11',202123,6,2021,11,23,202106),('2021-06-12',202123,6,2021,12,23,202106),('2021-06-13',202124,6,2021,13,24,202106),('2021-06-14',202124,6,2021,14,24,202106),('2021-06-15',202124,6,2021,15,24,202106),('2021-06-16',202124,6,2021,16,24,202106),('2021-06-17',202124,6,2021,17,24,202106),('2021-06-18',202124,6,2021,18,24,202106),('2021-06-19',202124,6,2021,19,24,202106),('2021-06-20',202125,6,2021,20,25,202106),('2021-06-21',202125,6,2021,21,25,202106),('2021-06-22',202125,6,2021,22,25,202106),('2021-06-23',202125,6,2021,23,25,202106),('2021-06-24',202125,6,2021,24,25,202106),('2021-06-25',202125,6,2021,25,25,202106),('2021-06-26',202125,6,2021,26,25,202106),('2021-06-27',202126,6,2021,27,26,202106),('2021-06-28',202126,6,2021,28,26,202106),('2021-06-29',202126,6,2021,29,26,202106),('2021-06-30',202126,6,2021,30,26,202106),('2021-07-01',202126,7,2021,1,26,202107),('2021-07-02',202126,7,2021,2,26,202107),('2021-07-03',202126,7,2021,3,26,202107),('2021-07-04',202127,7,2021,4,27,202107),('2021-07-05',202127,7,2021,5,27,202107),('2021-07-06',202127,7,2021,6,27,202107),('2021-07-07',202127,7,2021,7,27,202107),('2021-07-08',202127,7,2021,8,27,202107),('2021-07-09',202127,7,2021,9,27,202107),('2021-07-10',202127,7,2021,10,27,202107),('2021-07-11',202128,7,2021,11,28,202107),('2021-07-12',202128,7,2021,12,28,202107),('2021-07-13',202128,7,2021,13,28,202107),('2021-07-14',202128,7,2021,14,28,202107),('2021-07-15',202128,7,2021,15,28,202107),('2021-07-16',202128,7,2021,16,28,202107),('2021-07-17',202128,7,2021,17,28,202107),('2021-07-18',202129,7,2021,18,29,202107),('2021-07-19',202129,7,2021,19,29,202107),('2021-07-20',202129,7,2021,20,29,202107),('2021-07-21',202129,7,2021,21,29,202107),('2021-07-22',202129,7,2021,22,29,202107),('2021-07-23',202129,7,2021,23,29,202107),('2021-07-24',202129,7,2021,24,29,202107),('2021-07-25',202130,7,2021,25,30,202107),('2021-07-26',202130,7,2021,26,30,202107),('2021-07-27',202130,7,2021,27,30,202107),('2021-07-28',202130,7,2021,28,30,202107),('2021-07-29',202130,7,2021,29,30,202107),('2021-07-30',202130,7,2021,30,30,202107),('2021-07-31',202130,7,2021,31,30,202107),('2021-08-01',202131,8,2021,1,31,202108),('2021-08-02',202131,8,2021,2,31,202108),('2021-08-03',202131,8,2021,3,31,202108),('2021-08-04',202131,8,2021,4,31,202108),('2021-08-05',202131,8,2021,5,31,202108),('2021-08-06',202131,8,2021,6,31,202108),('2021-08-07',202131,8,2021,7,31,202108),('2021-08-08',202132,8,2021,8,32,202108),('2021-08-09',202132,8,2021,9,32,202108),('2021-08-10',202132,8,2021,10,32,202108),('2021-08-11',202132,8,2021,11,32,202108),('2021-08-12',202132,8,2021,12,32,202108),('2021-08-13',202132,8,2021,13,32,202108),('2021-08-14',202132,8,2021,14,32,202108),('2021-08-15',202133,8,2021,15,33,202108),('2021-08-16',202133,8,2021,16,33,202108),('2021-08-17',202133,8,2021,17,33,202108),('2021-08-18',202133,8,2021,18,33,202108),('2021-08-19',202133,8,2021,19,33,202108),('2021-08-20',202133,8,2021,20,33,202108),('2021-08-21',202133,8,2021,21,33,202108),('2021-08-22',202134,8,2021,22,34,202108),('2021-08-23',202134,8,2021,23,34,202108),('2021-08-24',202134,8,2021,24,34,202108),('2021-08-25',202134,8,2021,25,34,202108),('2021-08-26',202134,8,2021,26,34,202108),('2021-08-27',202134,8,2021,27,34,202108),('2021-08-28',202134,8,2021,28,34,202108),('2021-08-29',202135,8,2021,29,35,202108),('2021-08-30',202135,8,2021,30,35,202108),('2021-08-31',202135,8,2021,31,35,202108),('2021-09-01',202135,9,2021,1,35,202109),('2021-09-02',202135,9,2021,2,35,202109),('2021-09-03',202135,9,2021,3,35,202109),('2021-09-04',202135,9,2021,4,35,202109),('2021-09-05',202136,9,2021,5,36,202109),('2021-09-06',202136,9,2021,6,36,202109),('2021-09-07',202136,9,2021,7,36,202109),('2021-09-08',202136,9,2021,8,36,202109),('2021-09-09',202136,9,2021,9,36,202109),('2021-09-10',202136,9,2021,10,36,202109),('2021-09-11',202136,9,2021,11,36,202109),('2021-09-12',202137,9,2021,12,37,202109),('2021-09-13',202137,9,2021,13,37,202109),('2021-09-14',202137,9,2021,14,37,202109),('2021-09-15',202137,9,2021,15,37,202109),('2021-09-16',202137,9,2021,16,37,202109),('2021-09-17',202137,9,2021,17,37,202109),('2021-09-18',202137,9,2021,18,37,202109),('2021-09-19',202138,9,2021,19,38,202109),('2021-09-20',202138,9,2021,20,38,202109),('2021-09-21',202138,9,2021,21,38,202109),('2021-09-22',202138,9,2021,22,38,202109),('2021-09-23',202138,9,2021,23,38,202109),('2021-09-24',202138,9,2021,24,38,202109),('2021-09-25',202138,9,2021,25,38,202109),('2021-09-26',202139,9,2021,26,39,202109),('2021-09-27',202139,9,2021,27,39,202109),('2021-09-28',202139,9,2021,28,39,202109),('2021-09-29',202139,9,2021,29,39,202109),('2021-09-30',202139,9,2021,30,39,202109),('2021-10-01',202139,10,2021,1,39,202110),('2021-10-02',202139,10,2021,2,39,202110),('2021-10-03',202140,10,2021,3,40,202110),('2021-10-04',202140,10,2021,4,40,202110),('2021-10-05',202140,10,2021,5,40,202110),('2021-10-06',202140,10,2021,6,40,202110),('2021-10-07',202140,10,2021,7,40,202110),('2021-10-08',202140,10,2021,8,40,202110),('2021-10-09',202140,10,2021,9,40,202110),('2021-10-10',202141,10,2021,10,41,202110),('2021-10-11',202141,10,2021,11,41,202110),('2021-10-12',202141,10,2021,12,41,202110),('2021-10-13',202141,10,2021,13,41,202110),('2021-10-14',202141,10,2021,14,41,202110),('2021-10-15',202141,10,2021,15,41,202110),('2021-10-16',202141,10,2021,16,41,202110),('2021-10-17',202142,10,2021,17,42,202110),('2021-10-18',202142,10,2021,18,42,202110),('2021-10-19',202142,10,2021,19,42,202110),('2021-10-20',202142,10,2021,20,42,202110),('2021-10-21',202142,10,2021,21,42,202110),('2021-10-22',202142,10,2021,22,42,202110),('2021-10-23',202142,10,2021,23,42,202110),('2021-10-24',202143,10,2021,24,43,202110),('2021-10-25',202143,10,2021,25,43,202110),('2021-10-26',202143,10,2021,26,43,202110),('2021-10-27',202143,10,2021,27,43,202110),('2021-10-28',202143,10,2021,28,43,202110),('2021-10-29',202143,10,2021,29,43,202110),('2021-10-30',202143,10,2021,30,43,202110),('2021-10-31',202144,10,2021,31,44,202110),('2021-11-01',202144,11,2021,1,44,202111),('2021-11-02',202144,11,2021,2,44,202111),('2021-11-03',202144,11,2021,3,44,202111),('2021-11-04',202144,11,2021,4,44,202111),('2021-11-05',202144,11,2021,5,44,202111),('2021-11-06',202144,11,2021,6,44,202111),('2021-11-07',202145,11,2021,7,45,202111),('2021-11-08',202145,11,2021,8,45,202111),('2021-11-09',202145,11,2021,9,45,202111),('2021-11-10',202145,11,2021,10,45,202111),('2021-11-11',202145,11,2021,11,45,202111),('2021-11-12',202145,11,2021,12,45,202111),('2021-11-13',202145,11,2021,13,45,202111),('2021-11-14',202146,11,2021,14,46,202111),('2021-11-15',202146,11,2021,15,46,202111),('2021-11-16',202146,11,2021,16,46,202111),('2021-11-17',202146,11,2021,17,46,202111),('2021-11-18',202146,11,2021,18,46,202111),('2021-11-19',202146,11,2021,19,46,202111),('2021-11-20',202146,11,2021,20,46,202111),('2021-11-21',202147,11,2021,21,47,202111),('2021-11-22',202147,11,2021,22,47,202111),('2021-11-23',202147,11,2021,23,47,202111),('2021-11-24',202147,11,2021,24,47,202111),('2021-11-25',202147,11,2021,25,47,202111),('2021-11-26',202147,11,2021,26,47,202111),('2021-11-27',202147,11,2021,27,47,202111),('2021-11-28',202148,11,2021,28,48,202111),('2021-11-29',202148,11,2021,29,48,202111),('2021-11-30',202148,11,2021,30,48,202111),('2021-12-01',202148,12,2021,1,48,202112),('2021-12-02',202148,12,2021,2,48,202112),('2021-12-03',202148,12,2021,3,48,202112),('2021-12-04',202148,12,2021,4,48,202112),('2021-12-05',202149,12,2021,5,49,202112),('2021-12-06',202149,12,2021,6,49,202112),('2021-12-07',202149,12,2021,7,49,202112),('2021-12-08',202149,12,2021,8,49,202112),('2021-12-09',202149,12,2021,9,49,202112),('2021-12-10',202149,12,2021,10,49,202112),('2021-12-11',202149,12,2021,11,49,202112),('2021-12-12',202150,12,2021,12,50,202112),('2021-12-13',202150,12,2021,13,50,202112),('2021-12-14',202150,12,2021,14,50,202112),('2021-12-15',202150,12,2021,15,50,202112),('2021-12-16',202150,12,2021,16,50,202112),('2021-12-17',202150,12,2021,17,50,202112),('2021-12-18',202150,12,2021,18,50,202112),('2021-12-19',202151,12,2021,19,51,202112),('2021-12-20',202151,12,2021,20,51,202112),('2021-12-21',202151,12,2021,21,51,202112),('2021-12-22',202151,12,2021,22,51,202112),('2021-12-23',202151,12,2021,23,51,202112),('2021-12-24',202151,12,2021,24,51,202112),('2021-12-25',202151,12,2021,25,51,202112),('2021-12-26',202152,12,2021,26,52,202112),('2021-12-27',202152,12,2021,27,52,202112),('2021-12-28',202152,12,2021,28,52,202112),('2021-12-29',202152,12,2021,29,52,202112),('2021-12-30',202152,12,2021,30,52,202112),('2021-12-31',202152,12,2021,31,52,202112),('2022-01-01',202252,1,2022,1,52,202201),('2022-01-02',202253,1,2022,2,1,202201),('2022-01-03',202201,1,2022,3,1,202201),('2022-01-04',202201,1,2022,4,1,202201),('2022-01-05',202201,1,2022,5,1,202201),('2022-01-06',202201,1,2022,6,1,202201),('2022-01-07',202201,1,2022,7,1,202201),('2022-01-08',202201,1,2022,8,1,202201),('2022-01-09',202202,1,2022,9,2,202201),('2022-01-10',202202,1,2022,10,2,202201),('2022-01-11',202202,1,2022,11,2,202201),('2022-01-12',202202,1,2022,12,2,202201),('2022-01-13',202202,1,2022,13,2,202201),('2022-01-14',202202,1,2022,14,2,202201),('2022-01-15',202202,1,2022,15,2,202201),('2022-01-16',202203,1,2022,16,3,202201),('2022-01-17',202203,1,2022,17,3,202201),('2022-01-18',202203,1,2022,18,3,202201),('2022-01-19',202203,1,2022,19,3,202201),('2022-01-20',202203,1,2022,20,3,202201),('2022-01-21',202203,1,2022,21,3,202201),('2022-01-22',202203,1,2022,22,3,202201),('2022-01-23',202204,1,2022,23,4,202201),('2022-01-24',202204,1,2022,24,4,202201),('2022-01-25',202204,1,2022,25,4,202201),('2022-01-26',202204,1,2022,26,4,202201),('2022-01-27',202204,1,2022,27,4,202201),('2022-01-28',202204,1,2022,28,4,202201),('2022-01-29',202204,1,2022,29,4,202201),('2022-01-30',202205,1,2022,30,5,202201),('2022-01-31',202205,1,2022,31,5,202201),('2022-02-01',202205,2,2022,1,5,202202),('2022-02-02',202205,2,2022,2,5,202202),('2022-02-03',202205,2,2022,3,5,202202),('2022-02-04',202205,2,2022,4,5,202202),('2022-02-05',202205,2,2022,5,5,202202),('2022-02-06',202206,2,2022,6,6,202202),('2022-02-07',202206,2,2022,7,6,202202),('2022-02-08',202206,2,2022,8,6,202202),('2022-02-09',202206,2,2022,9,6,202202),('2022-02-10',202206,2,2022,10,6,202202),('2022-02-11',202206,2,2022,11,6,202202),('2022-02-12',202206,2,2022,12,6,202202),('2022-02-13',202207,2,2022,13,7,202202),('2022-02-14',202207,2,2022,14,7,202202),('2022-02-15',202207,2,2022,15,7,202202),('2022-02-16',202207,2,2022,16,7,202202),('2022-02-17',202207,2,2022,17,7,202202),('2022-02-18',202207,2,2022,18,7,202202),('2022-02-19',202207,2,2022,19,7,202202),('2022-02-20',202208,2,2022,20,8,202202),('2022-02-21',202208,2,2022,21,8,202202),('2022-02-22',202208,2,2022,22,8,202202),('2022-02-23',202208,2,2022,23,8,202202),('2022-02-24',202208,2,2022,24,8,202202),('2022-02-25',202208,2,2022,25,8,202202),('2022-02-26',202208,2,2022,26,8,202202),('2022-02-27',202209,2,2022,27,9,202202),('2022-02-28',202209,2,2022,28,9,202202),('2022-03-01',202209,3,2022,1,9,202203),('2022-03-02',202209,3,2022,2,9,202203),('2022-03-03',202209,3,2022,3,9,202203),('2022-03-04',202209,3,2022,4,9,202203),('2022-03-05',202209,3,2022,5,9,202203),('2022-03-06',202210,3,2022,6,10,202203),('2022-03-07',202210,3,2022,7,10,202203),('2022-03-08',202210,3,2022,8,10,202203),('2022-03-09',202210,3,2022,9,10,202203),('2022-03-10',202210,3,2022,10,10,202203),('2022-03-11',202210,3,2022,11,10,202203),('2022-03-12',202210,3,2022,12,10,202203),('2022-03-13',202211,3,2022,13,11,202203),('2022-03-14',202211,3,2022,14,11,202203),('2022-03-15',202211,3,2022,15,11,202203),('2022-03-16',202211,3,2022,16,11,202203),('2022-03-17',202211,3,2022,17,11,202203),('2022-03-18',202211,3,2022,18,11,202203),('2022-03-19',202211,3,2022,19,11,202203),('2022-03-20',202212,3,2022,20,12,202203),('2022-03-21',202212,3,2022,21,12,202203),('2022-03-22',202212,3,2022,22,12,202203),('2022-03-23',202212,3,2022,23,12,202203),('2022-03-24',202212,3,2022,24,12,202203),('2022-03-25',202212,3,2022,25,12,202203),('2022-03-26',202212,3,2022,26,12,202203),('2022-03-27',202213,3,2022,27,13,202203),('2022-03-28',202213,3,2022,28,13,202203),('2022-03-29',202213,3,2022,29,13,202203),('2022-03-30',202213,3,2022,30,13,202203),('2022-03-31',202213,3,2022,31,13,202203),('2022-04-01',202213,4,2022,1,13,202204),('2022-04-02',202213,4,2022,2,13,202204),('2022-04-03',202214,4,2022,3,14,202204),('2022-04-04',202214,4,2022,4,14,202204),('2022-04-05',202214,4,2022,5,14,202204),('2022-04-06',202214,4,2022,6,14,202204),('2022-04-07',202214,4,2022,7,14,202204),('2022-04-08',202214,4,2022,8,14,202204),('2022-04-09',202214,4,2022,9,14,202204),('2022-04-10',202215,4,2022,10,15,202204),('2022-04-11',202215,4,2022,11,15,202204),('2022-04-12',202215,4,2022,12,15,202204),('2022-04-13',202215,4,2022,13,15,202204),('2022-04-14',202215,4,2022,14,15,202204),('2022-04-15',202215,4,2022,15,15,202204),('2022-04-16',202215,4,2022,16,15,202204),('2022-04-17',202216,4,2022,17,16,202204),('2022-04-18',202216,4,2022,18,16,202204),('2022-04-19',202216,4,2022,19,16,202204),('2022-04-20',202216,4,2022,20,16,202204),('2022-04-21',202216,4,2022,21,16,202204),('2022-04-22',202216,4,2022,22,16,202204),('2022-04-23',202216,4,2022,23,16,202204),('2022-04-24',202217,4,2022,24,17,202204),('2022-04-25',202217,4,2022,25,17,202204),('2022-04-26',202217,4,2022,26,17,202204),('2022-04-27',202217,4,2022,27,17,202204),('2022-04-28',202217,4,2022,28,17,202204),('2022-04-29',202217,4,2022,29,17,202204),('2022-04-30',202217,4,2022,30,17,202204),('2022-05-01',202218,5,2022,1,18,202205),('2022-05-02',202218,5,2022,2,18,202205),('2022-05-03',202218,5,2022,3,18,202205),('2022-05-04',202218,5,2022,4,18,202205),('2022-05-05',202218,5,2022,5,18,202205),('2022-05-06',202218,5,2022,6,18,202205),('2022-05-07',202218,5,2022,7,18,202205),('2022-05-08',202219,5,2022,8,19,202205),('2022-05-09',202219,5,2022,9,19,202205),('2022-05-10',202219,5,2022,10,19,202205),('2022-05-11',202219,5,2022,11,19,202205),('2022-05-12',202219,5,2022,12,19,202205),('2022-05-13',202219,5,2022,13,19,202205),('2022-05-14',202219,5,2022,14,19,202205),('2022-05-15',202220,5,2022,15,20,202205),('2022-05-16',202220,5,2022,16,20,202205),('2022-05-17',202220,5,2022,17,20,202205),('2022-05-18',202220,5,2022,18,20,202205),('2022-05-19',202220,5,2022,19,20,202205),('2022-05-20',202220,5,2022,20,20,202205),('2022-05-21',202220,5,2022,21,20,202205),('2022-05-22',202221,5,2022,22,21,202205),('2022-05-23',202221,5,2022,23,21,202205),('2022-05-24',202221,5,2022,24,21,202205),('2022-05-25',202221,5,2022,25,21,202205),('2022-05-26',202221,5,2022,26,21,202205),('2022-05-27',202221,5,2022,27,21,202205),('2022-05-28',202221,5,2022,28,21,202205),('2022-05-29',202222,5,2022,29,22,202205),('2022-05-30',202222,5,2022,30,22,202205),('2022-05-31',202222,5,2022,31,22,202205),('2022-06-01',202222,6,2022,1,22,202206),('2022-06-02',202222,6,2022,2,22,202206),('2022-06-03',202222,6,2022,3,22,202206),('2022-06-04',202222,6,2022,4,22,202206),('2022-06-05',202223,6,2022,5,23,202206),('2022-06-06',202223,6,2022,6,23,202206),('2022-06-07',202223,6,2022,7,23,202206),('2022-06-08',202223,6,2022,8,23,202206),('2022-06-09',202223,6,2022,9,23,202206),('2022-06-10',202223,6,2022,10,23,202206),('2022-06-11',202223,6,2022,11,23,202206),('2022-06-12',202224,6,2022,12,24,202206),('2022-06-13',202224,6,2022,13,24,202206),('2022-06-14',202224,6,2022,14,24,202206),('2022-06-15',202224,6,2022,15,24,202206),('2022-06-16',202224,6,2022,16,24,202206),('2022-06-17',202224,6,2022,17,24,202206),('2022-06-18',202224,6,2022,18,24,202206),('2022-06-19',202225,6,2022,19,25,202206),('2022-06-20',202225,6,2022,20,25,202206),('2022-06-21',202225,6,2022,21,25,202206),('2022-06-22',202225,6,2022,22,25,202206),('2022-06-23',202225,6,2022,23,25,202206),('2022-06-24',202225,6,2022,24,25,202206),('2022-06-25',202225,6,2022,25,25,202206),('2022-06-26',202226,6,2022,26,26,202206),('2022-06-27',202226,6,2022,27,26,202206),('2022-06-28',202226,6,2022,28,26,202206),('2022-06-29',202226,6,2022,29,26,202206),('2022-06-30',202226,6,2022,30,26,202206),('2022-07-01',202226,7,2022,1,26,202207),('2022-07-02',202226,7,2022,2,26,202207),('2022-07-03',202227,7,2022,3,27,202207),('2022-07-04',202227,7,2022,4,27,202207),('2022-07-05',202227,7,2022,5,27,202207),('2022-07-06',202227,7,2022,6,27,202207),('2022-07-07',202227,7,2022,7,27,202207),('2022-07-08',202227,7,2022,8,27,202207),('2022-07-09',202227,7,2022,9,27,202207),('2022-07-10',202228,7,2022,10,28,202207),('2022-07-11',202228,7,2022,11,28,202207),('2022-07-12',202228,7,2022,12,28,202207),('2022-07-13',202228,7,2022,13,28,202207),('2022-07-14',202228,7,2022,14,28,202207),('2022-07-15',202228,7,2022,15,28,202207),('2022-07-16',202228,7,2022,16,28,202207),('2022-07-17',202229,7,2022,17,29,202207),('2022-07-18',202229,7,2022,18,29,202207),('2022-07-19',202229,7,2022,19,29,202207),('2022-07-20',202229,7,2022,20,29,202207),('2022-07-21',202229,7,2022,21,29,202207),('2022-07-22',202229,7,2022,22,29,202207),('2022-07-23',202229,7,2022,23,29,202207),('2022-07-24',202230,7,2022,24,30,202207),('2022-07-25',202230,7,2022,25,30,202207),('2022-07-26',202230,7,2022,26,30,202207),('2022-07-27',202230,7,2022,27,30,202207),('2022-07-28',202230,7,2022,28,30,202207),('2022-07-29',202230,7,2022,29,30,202207),('2022-07-30',202230,7,2022,30,30,202207),('2022-07-31',202231,7,2022,31,31,202207),('2022-08-01',202231,8,2022,1,31,202208),('2022-08-02',202231,8,2022,2,31,202208),('2022-08-03',202231,8,2022,3,31,202208),('2022-08-04',202231,8,2022,4,31,202208),('2022-08-05',202231,8,2022,5,31,202208),('2022-08-06',202231,8,2022,6,31,202208),('2022-08-07',202232,8,2022,7,32,202208),('2022-08-08',202232,8,2022,8,32,202208),('2022-08-09',202232,8,2022,9,32,202208),('2022-08-10',202232,8,2022,10,32,202208),('2022-08-11',202232,8,2022,11,32,202208),('2022-08-12',202232,8,2022,12,32,202208),('2022-08-13',202232,8,2022,13,32,202208),('2022-08-14',202233,8,2022,14,33,202208),('2022-08-15',202233,8,2022,15,33,202208),('2022-08-16',202233,8,2022,16,33,202208),('2022-08-17',202233,8,2022,17,33,202208),('2022-08-18',202233,8,2022,18,33,202208),('2022-08-19',202233,8,2022,19,33,202208),('2022-08-20',202233,8,2022,20,33,202208),('2022-08-21',202234,8,2022,21,34,202208),('2022-08-22',202234,8,2022,22,34,202208),('2022-08-23',202234,8,2022,23,34,202208),('2022-08-24',202234,8,2022,24,34,202208),('2022-08-25',202234,8,2022,25,34,202208),('2022-08-26',202234,8,2022,26,34,202208),('2022-08-27',202234,8,2022,27,34,202208),('2022-08-28',202235,8,2022,28,35,202208),('2022-08-29',202235,8,2022,29,35,202208),('2022-08-30',202235,8,2022,30,35,202208),('2022-08-31',202235,8,2022,31,35,202208),('2022-09-01',202235,9,2022,1,35,202209),('2022-09-02',202235,9,2022,2,35,202209),('2022-09-03',202235,9,2022,3,35,202209),('2022-09-04',202236,9,2022,4,36,202209),('2022-09-05',202236,9,2022,5,36,202209),('2022-09-06',202236,9,2022,6,36,202209),('2022-09-07',202236,9,2022,7,36,202209),('2022-09-08',202236,9,2022,8,36,202209),('2022-09-09',202236,9,2022,9,36,202209),('2022-09-10',202236,9,2022,10,36,202209),('2022-09-11',202237,9,2022,11,37,202209),('2022-09-12',202237,9,2022,12,37,202209),('2022-09-13',202237,9,2022,13,37,202209),('2022-09-14',202237,9,2022,14,37,202209),('2022-09-15',202237,9,2022,15,37,202209),('2022-09-16',202237,9,2022,16,37,202209),('2022-09-17',202237,9,2022,17,37,202209),('2022-09-18',202238,9,2022,18,38,202209),('2022-09-19',202238,9,2022,19,38,202209),('2022-09-20',202238,9,2022,20,38,202209),('2022-09-21',202238,9,2022,21,38,202209),('2022-09-22',202238,9,2022,22,38,202209),('2022-09-23',202238,9,2022,23,38,202209),('2022-09-24',202238,9,2022,24,38,202209),('2022-09-25',202239,9,2022,25,39,202209),('2022-09-26',202239,9,2022,26,39,202209),('2022-09-27',202239,9,2022,27,39,202209),('2022-09-28',202239,9,2022,28,39,202209),('2022-09-29',202239,9,2022,29,39,202209),('2022-09-30',202239,9,2022,30,39,202209),('2022-10-01',202239,10,2022,1,39,202210),('2022-10-02',202240,10,2022,2,40,202210),('2022-10-03',202240,10,2022,3,40,202210),('2022-10-04',202240,10,2022,4,40,202210),('2022-10-05',202240,10,2022,5,40,202210),('2022-10-06',202240,10,2022,6,40,202210),('2022-10-07',202240,10,2022,7,40,202210),('2022-10-08',202240,10,2022,8,40,202210),('2022-10-09',202241,10,2022,9,41,202210),('2022-10-10',202241,10,2022,10,41,202210),('2022-10-11',202241,10,2022,11,41,202210),('2022-10-12',202241,10,2022,12,41,202210),('2022-10-13',202241,10,2022,13,41,202210),('2022-10-14',202241,10,2022,14,41,202210),('2022-10-15',202241,10,2022,15,41,202210),('2022-10-16',202242,10,2022,16,42,202210),('2022-10-17',202242,10,2022,17,42,202210),('2022-10-18',202242,10,2022,18,42,202210),('2022-10-19',202242,10,2022,19,42,202210),('2022-10-20',202242,10,2022,20,42,202210),('2022-10-21',202242,10,2022,21,42,202210),('2022-10-22',202242,10,2022,22,42,202210),('2022-10-23',202243,10,2022,23,43,202210),('2022-10-24',202243,10,2022,24,43,202210),('2022-10-25',202243,10,2022,25,43,202210),('2022-10-26',202243,10,2022,26,43,202210),('2022-10-27',202243,10,2022,27,43,202210),('2022-10-28',202243,10,2022,28,43,202210),('2022-10-29',202243,10,2022,29,43,202210),('2022-10-30',202244,10,2022,30,44,202210),('2022-10-31',202244,10,2022,31,44,202210),('2022-11-01',202244,11,2022,1,44,202211),('2022-11-02',202244,11,2022,2,44,202211),('2022-11-03',202244,11,2022,3,44,202211),('2022-11-04',202244,11,2022,4,44,202211),('2022-11-05',202244,11,2022,5,44,202211),('2022-11-06',202245,11,2022,6,45,202211),('2022-11-07',202245,11,2022,7,45,202211),('2022-11-08',202245,11,2022,8,45,202211),('2022-11-09',202245,11,2022,9,45,202211),('2022-11-10',202245,11,2022,10,45,202211),('2022-11-11',202245,11,2022,11,45,202211),('2022-11-12',202245,11,2022,12,45,202211),('2022-11-13',202246,11,2022,13,46,202211),('2022-11-14',202246,11,2022,14,46,202211),('2022-11-15',202246,11,2022,15,46,202211),('2022-11-16',202246,11,2022,16,46,202211),('2022-11-17',202246,11,2022,17,46,202211),('2022-11-18',202246,11,2022,18,46,202211),('2022-11-19',202246,11,2022,19,46,202211),('2022-11-20',202247,11,2022,20,47,202211),('2022-11-21',202247,11,2022,21,47,202211),('2022-11-22',202247,11,2022,22,47,202211),('2022-11-23',202247,11,2022,23,47,202211),('2022-11-24',202247,11,2022,24,47,202211),('2022-11-25',202247,11,2022,25,47,202211),('2022-11-26',202247,11,2022,26,47,202211),('2022-11-27',202248,11,2022,27,48,202211),('2022-11-28',202248,11,2022,28,48,202211),('2022-11-29',202248,11,2022,29,48,202211),('2022-11-30',202248,11,2022,30,48,202211),('2022-12-01',202248,12,2022,1,48,202212),('2022-12-02',202248,12,2022,2,48,202212),('2022-12-03',202248,12,2022,3,48,202212),('2022-12-04',202249,12,2022,4,49,202212),('2022-12-05',202249,12,2022,5,49,202212),('2022-12-06',202249,12,2022,6,49,202212),('2022-12-07',202249,12,2022,7,49,202212),('2022-12-08',202249,12,2022,8,49,202212),('2022-12-09',202249,12,2022,9,49,202212),('2022-12-10',202249,12,2022,10,49,202212),('2022-12-11',202250,12,2022,11,50,202212),('2022-12-12',202250,12,2022,12,50,202212),('2022-12-13',202250,12,2022,13,50,202212),('2022-12-14',202250,12,2022,14,50,202212),('2022-12-15',202250,12,2022,15,50,202212),('2022-12-16',202250,12,2022,16,50,202212),('2022-12-17',202250,12,2022,17,50,202212),('2022-12-18',202251,12,2022,18,51,202212),('2022-12-19',202251,12,2022,19,51,202212),('2022-12-20',202251,12,2022,20,51,202212),('2022-12-21',202251,12,2022,21,51,202212),('2022-12-22',202251,12,2022,22,51,202212),('2022-12-23',202251,12,2022,23,51,202212),('2022-12-24',202251,12,2022,24,51,202212),('2022-12-25',202252,12,2022,25,52,202212),('2022-12-26',202252,12,2022,26,52,202212),('2022-12-27',202252,12,2022,27,52,202212),('2022-12-28',202252,12,2022,28,52,202212),('2022-12-29',202252,12,2022,29,52,202212),('2022-12-30',202252,12,2022,30,52,202212),('2022-12-31',202252,12,2022,31,52,202212),('2023-01-01',202353,1,2023,1,1,202301),('2023-01-02',202301,1,2023,2,1,202301),('2023-01-03',202301,1,2023,3,1,202301),('2023-01-04',202301,1,2023,4,1,202301),('2023-01-05',202301,1,2023,5,1,202301),('2023-01-06',202301,1,2023,6,1,202301),('2023-01-07',202301,1,2023,7,1,202301),('2023-01-08',202302,1,2023,8,2,202301),('2023-01-09',202302,1,2023,9,2,202301),('2023-01-10',202302,1,2023,10,2,202301),('2023-01-11',202302,1,2023,11,2,202301),('2023-01-12',202302,1,2023,12,2,202301),('2023-01-13',202302,1,2023,13,2,202301),('2023-01-14',202302,1,2023,14,2,202301),('2023-01-15',202303,1,2023,15,3,202301),('2023-01-16',202303,1,2023,16,3,202301),('2023-01-17',202303,1,2023,17,3,202301),('2023-01-18',202303,1,2023,18,3,202301),('2023-01-19',202303,1,2023,19,3,202301),('2023-01-20',202303,1,2023,20,3,202301),('2023-01-21',202303,1,2023,21,3,202301),('2023-01-22',202304,1,2023,22,4,202301),('2023-01-23',202304,1,2023,23,4,202301),('2023-01-24',202304,1,2023,24,4,202301),('2023-01-25',202304,1,2023,25,4,202301),('2023-01-26',202304,1,2023,26,4,202301),('2023-01-27',202304,1,2023,27,4,202301),('2023-01-28',202304,1,2023,28,4,202301),('2023-01-29',202305,1,2023,29,5,202301),('2023-01-30',202305,1,2023,30,5,202301),('2023-01-31',202305,1,2023,31,5,202301),('2023-02-01',202305,2,2023,1,5,202302),('2023-02-02',202305,2,2023,2,5,202302),('2023-02-03',202305,2,2023,3,5,202302),('2023-02-04',202305,2,2023,4,5,202302),('2023-02-05',202306,2,2023,5,6,202302),('2023-02-06',202306,2,2023,6,6,202302),('2023-02-07',202306,2,2023,7,6,202302),('2023-02-08',202306,2,2023,8,6,202302),('2023-02-09',202306,2,2023,9,6,202302),('2023-02-10',202306,2,2023,10,6,202302),('2023-02-11',202306,2,2023,11,6,202302),('2023-02-12',202307,2,2023,12,7,202302),('2023-02-13',202307,2,2023,13,7,202302),('2023-02-14',202307,2,2023,14,7,202302),('2023-02-15',202307,2,2023,15,7,202302),('2023-02-16',202307,2,2023,16,7,202302),('2023-02-17',202307,2,2023,17,7,202302),('2023-02-18',202307,2,2023,18,7,202302),('2023-02-19',202308,2,2023,19,8,202302),('2023-02-20',202308,2,2023,20,8,202302),('2023-02-21',202308,2,2023,21,8,202302),('2023-02-22',202308,2,2023,22,8,202302),('2023-02-23',202308,2,2023,23,8,202302),('2023-02-24',202308,2,2023,24,8,202302),('2023-02-25',202308,2,2023,25,8,202302),('2023-02-26',202309,2,2023,26,9,202302),('2023-02-27',202309,2,2023,27,9,202302),('2023-02-28',202309,2,2023,28,9,202302),('2023-03-01',202309,3,2023,1,9,202303),('2023-03-02',202309,3,2023,2,9,202303),('2023-03-03',202309,3,2023,3,9,202303),('2023-03-04',202309,3,2023,4,9,202303),('2023-03-05',202310,3,2023,5,10,202303),('2023-03-06',202310,3,2023,6,10,202303),('2023-03-07',202310,3,2023,7,10,202303),('2023-03-08',202310,3,2023,8,10,202303),('2023-03-09',202310,3,2023,9,10,202303),('2023-03-10',202310,3,2023,10,10,202303),('2023-03-11',202310,3,2023,11,10,202303),('2023-03-12',202311,3,2023,12,11,202303),('2023-03-13',202311,3,2023,13,11,202303),('2023-03-14',202311,3,2023,14,11,202303),('2023-03-15',202311,3,2023,15,11,202303),('2023-03-16',202311,3,2023,16,11,202303),('2023-03-17',202311,3,2023,17,11,202303),('2023-03-18',202311,3,2023,18,11,202303),('2023-03-19',202312,3,2023,19,12,202303),('2023-03-20',202312,3,2023,20,12,202303),('2023-03-21',202312,3,2023,21,12,202303),('2023-03-22',202312,3,2023,22,12,202303),('2023-03-23',202312,3,2023,23,12,202303),('2023-03-24',202312,3,2023,24,12,202303),('2023-03-25',202312,3,2023,25,12,202303),('2023-03-26',202313,3,2023,26,13,202303),('2023-03-27',202313,3,2023,27,13,202303),('2023-03-28',202313,3,2023,28,13,202303),('2023-03-29',202313,3,2023,29,13,202303),('2023-03-30',202313,3,2023,30,13,202303),('2023-03-31',202313,3,2023,31,13,202303),('2023-04-01',202313,4,2023,1,13,202304),('2023-04-02',202314,4,2023,2,14,202304),('2023-04-03',202314,4,2023,3,14,202304),('2023-04-04',202314,4,2023,4,14,202304),('2023-04-05',202314,4,2023,5,14,202304),('2023-04-06',202314,4,2023,6,14,202304),('2023-04-07',202314,4,2023,7,14,202304),('2023-04-08',202314,4,2023,8,14,202304),('2023-04-09',202315,4,2023,9,15,202304),('2023-04-10',202315,4,2023,10,15,202304),('2023-04-11',202315,4,2023,11,15,202304),('2023-04-12',202315,4,2023,12,15,202304),('2023-04-13',202315,4,2023,13,15,202304),('2023-04-14',202315,4,2023,14,15,202304),('2023-04-15',202315,4,2023,15,15,202304),('2023-04-16',202316,4,2023,16,16,202304),('2023-04-17',202316,4,2023,17,16,202304),('2023-04-18',202316,4,2023,18,16,202304),('2023-04-19',202316,4,2023,19,16,202304),('2023-04-20',202316,4,2023,20,16,202304),('2023-04-21',202316,4,2023,21,16,202304),('2023-04-22',202316,4,2023,22,16,202304),('2023-04-23',202317,4,2023,23,17,202304),('2023-04-24',202317,4,2023,24,17,202304),('2023-04-25',202317,4,2023,25,17,202304),('2023-04-26',202317,4,2023,26,17,202304),('2023-04-27',202317,4,2023,27,17,202304),('2023-04-28',202317,4,2023,28,17,202304),('2023-04-29',202317,4,2023,29,17,202304),('2023-04-30',202318,4,2023,30,18,202304),('2023-05-01',202318,5,2023,1,18,202305),('2023-05-02',202318,5,2023,2,18,202305),('2023-05-03',202318,5,2023,3,18,202305),('2023-05-04',202318,5,2023,4,18,202305),('2023-05-05',202318,5,2023,5,18,202305),('2023-05-06',202318,5,2023,6,18,202305),('2023-05-07',202319,5,2023,7,19,202305),('2023-05-08',202319,5,2023,8,19,202305),('2023-05-09',202319,5,2023,9,19,202305),('2023-05-10',202319,5,2023,10,19,202305),('2023-05-11',202319,5,2023,11,19,202305),('2023-05-12',202319,5,2023,12,19,202305),('2023-05-13',202319,5,2023,13,19,202305),('2023-05-14',202320,5,2023,14,20,202305),('2023-05-15',202320,5,2023,15,20,202305),('2023-05-16',202320,5,2023,16,20,202305),('2023-05-17',202320,5,2023,17,20,202305),('2023-05-18',202320,5,2023,18,20,202305),('2023-05-19',202320,5,2023,19,20,202305),('2023-05-20',202320,5,2023,20,20,202305),('2023-05-21',202321,5,2023,21,21,202305),('2023-05-22',202321,5,2023,22,21,202305),('2023-05-23',202321,5,2023,23,21,202305),('2023-05-24',202321,5,2023,24,21,202305),('2023-05-25',202321,5,2023,25,21,202305),('2023-05-26',202321,5,2023,26,21,202305),('2023-05-27',202321,5,2023,27,21,202305),('2023-05-28',202322,5,2023,28,22,202305),('2023-05-29',202322,5,2023,29,22,202305),('2023-05-30',202322,5,2023,30,22,202305),('2023-05-31',202322,5,2023,31,22,202305),('2023-06-01',202322,6,2023,1,22,202306),('2023-06-02',202322,6,2023,2,22,202306),('2023-06-03',202322,6,2023,3,22,202306),('2023-06-04',202323,6,2023,4,23,202306),('2023-06-05',202323,6,2023,5,23,202306),('2023-06-06',202323,6,2023,6,23,202306),('2023-06-07',202323,6,2023,7,23,202306),('2023-06-08',202323,6,2023,8,23,202306),('2023-06-09',202323,6,2023,9,23,202306),('2023-06-10',202323,6,2023,10,23,202306),('2023-06-11',202324,6,2023,11,24,202306),('2023-06-12',202324,6,2023,12,24,202306),('2023-06-13',202324,6,2023,13,24,202306),('2023-06-14',202324,6,2023,14,24,202306),('2023-06-15',202324,6,2023,15,24,202306),('2023-06-16',202324,6,2023,16,24,202306),('2023-06-17',202324,6,2023,17,24,202306),('2023-06-18',202325,6,2023,18,25,202306),('2023-06-19',202325,6,2023,19,25,202306),('2023-06-20',202325,6,2023,20,25,202306),('2023-06-21',202325,6,2023,21,25,202306),('2023-06-22',202325,6,2023,22,25,202306),('2023-06-23',202325,6,2023,23,25,202306),('2023-06-24',202325,6,2023,24,25,202306),('2023-06-25',202326,6,2023,25,26,202306),('2023-06-26',202326,6,2023,26,26,202306),('2023-06-27',202326,6,2023,27,26,202306),('2023-06-28',202326,6,2023,28,26,202306),('2023-06-29',202326,6,2023,29,26,202306),('2023-06-30',202326,6,2023,30,26,202306),('2023-07-01',202326,7,2023,1,26,202307),('2023-07-02',202327,7,2023,2,27,202307),('2023-07-03',202327,7,2023,3,27,202307),('2023-07-04',202327,7,2023,4,27,202307),('2023-07-05',202327,7,2023,5,27,202307),('2023-07-06',202327,7,2023,6,27,202307),('2023-07-07',202327,7,2023,7,27,202307),('2023-07-08',202327,7,2023,8,27,202307),('2023-07-09',202328,7,2023,9,28,202307),('2023-07-10',202328,7,2023,10,28,202307),('2023-07-11',202328,7,2023,11,28,202307),('2023-07-12',202328,7,2023,12,28,202307),('2023-07-13',202328,7,2023,13,28,202307),('2023-07-14',202328,7,2023,14,28,202307),('2023-07-15',202328,7,2023,15,28,202307),('2023-07-16',202329,7,2023,16,29,202307),('2023-07-17',202329,7,2023,17,29,202307),('2023-07-18',202329,7,2023,18,29,202307),('2023-07-19',202329,7,2023,19,29,202307),('2023-07-20',202329,7,2023,20,29,202307),('2023-07-21',202329,7,2023,21,29,202307),('2023-07-22',202329,7,2023,22,29,202307),('2023-07-23',202330,7,2023,23,30,202307),('2023-07-24',202330,7,2023,24,30,202307),('2023-07-25',202330,7,2023,25,30,202307),('2023-07-26',202330,7,2023,26,30,202307),('2023-07-27',202330,7,2023,27,30,202307),('2023-07-28',202330,7,2023,28,30,202307),('2023-07-29',202330,7,2023,29,30,202307),('2023-07-30',202331,7,2023,30,31,202307),('2023-07-31',202331,7,2023,31,31,202307),('2023-08-01',202331,8,2023,1,31,202308),('2023-08-02',202331,8,2023,2,31,202308),('2023-08-03',202331,8,2023,3,31,202308),('2023-08-04',202331,8,2023,4,31,202308),('2023-08-05',202331,8,2023,5,31,202308),('2023-08-06',202332,8,2023,6,32,202308),('2023-08-07',202332,8,2023,7,32,202308),('2023-08-08',202332,8,2023,8,32,202308),('2023-08-09',202332,8,2023,9,32,202308),('2023-08-10',202332,8,2023,10,32,202308),('2023-08-11',202332,8,2023,11,32,202308),('2023-08-12',202332,8,2023,12,32,202308),('2023-08-13',202333,8,2023,13,33,202308),('2023-08-14',202333,8,2023,14,33,202308),('2023-08-15',202333,8,2023,15,33,202308),('2023-08-16',202333,8,2023,16,33,202308),('2023-08-17',202333,8,2023,17,33,202308),('2023-08-18',202333,8,2023,18,33,202308),('2023-08-19',202333,8,2023,19,33,202308),('2023-08-20',202334,8,2023,20,34,202308),('2023-08-21',202334,8,2023,21,34,202308),('2023-08-22',202334,8,2023,22,34,202308),('2023-08-23',202334,8,2023,23,34,202308),('2023-08-24',202334,8,2023,24,34,202308),('2023-08-25',202334,8,2023,25,34,202308),('2023-08-26',202334,8,2023,26,34,202308),('2023-08-27',202335,8,2023,27,35,202308),('2023-08-28',202335,8,2023,28,35,202308),('2023-08-29',202335,8,2023,29,35,202308),('2023-08-30',202335,8,2023,30,35,202308),('2023-08-31',202335,8,2023,31,35,202308),('2023-09-01',202335,9,2023,1,35,202309),('2023-09-02',202335,9,2023,2,35,202309),('2023-09-03',202336,9,2023,3,36,202309),('2023-09-04',202336,9,2023,4,36,202309),('2023-09-05',202336,9,2023,5,36,202309),('2023-09-06',202336,9,2023,6,36,202309),('2023-09-07',202336,9,2023,7,36,202309),('2023-09-08',202336,9,2023,8,36,202309),('2023-09-09',202336,9,2023,9,36,202309),('2023-09-10',202337,9,2023,10,37,202309),('2023-09-11',202337,9,2023,11,37,202309),('2023-09-12',202337,9,2023,12,37,202309),('2023-09-13',202337,9,2023,13,37,202309),('2023-09-14',202337,9,2023,14,37,202309),('2023-09-15',202337,9,2023,15,37,202309),('2023-09-16',202337,9,2023,16,37,202309),('2023-09-17',202338,9,2023,17,38,202309),('2023-09-18',202338,9,2023,18,38,202309),('2023-09-19',202338,9,2023,19,38,202309),('2023-09-20',202338,9,2023,20,38,202309),('2023-09-21',202338,9,2023,21,38,202309),('2023-09-22',202338,9,2023,22,38,202309),('2023-09-23',202338,9,2023,23,38,202309),('2023-09-24',202339,9,2023,24,39,202309),('2023-09-25',202339,9,2023,25,39,202309),('2023-09-26',202339,9,2023,26,39,202309),('2023-09-27',202339,9,2023,27,39,202309),('2023-09-28',202339,9,2023,28,39,202309),('2023-09-29',202339,9,2023,29,39,202309),('2023-09-30',202339,9,2023,30,39,202309),('2023-10-01',202340,10,2023,1,40,202310),('2023-10-02',202340,10,2023,2,40,202310),('2023-10-03',202340,10,2023,3,40,202310),('2023-10-04',202340,10,2023,4,40,202310),('2023-10-05',202340,10,2023,5,40,202310),('2023-10-06',202340,10,2023,6,40,202310),('2023-10-07',202340,10,2023,7,40,202310),('2023-10-08',202341,10,2023,8,41,202310),('2023-10-09',202341,10,2023,9,41,202310),('2023-10-10',202341,10,2023,10,41,202310),('2023-10-11',202341,10,2023,11,41,202310),('2023-10-12',202341,10,2023,12,41,202310),('2023-10-13',202341,10,2023,13,41,202310),('2023-10-14',202341,10,2023,14,41,202310),('2023-10-15',202342,10,2023,15,42,202310),('2023-10-16',202342,10,2023,16,42,202310),('2023-10-17',202342,10,2023,17,42,202310),('2023-10-18',202342,10,2023,18,42,202310),('2023-10-19',202342,10,2023,19,42,202310),('2023-10-20',202342,10,2023,20,42,202310),('2023-10-21',202342,10,2023,21,42,202310),('2023-10-22',202343,10,2023,22,43,202310),('2023-10-23',202343,10,2023,23,43,202310),('2023-10-24',202343,10,2023,24,43,202310),('2023-10-25',202343,10,2023,25,43,202310),('2023-10-26',202343,10,2023,26,43,202310),('2023-10-27',202343,10,2023,27,43,202310),('2023-10-28',202343,10,2023,28,43,202310),('2023-10-29',202344,10,2023,29,44,202310),('2023-10-30',202344,10,2023,30,44,202310),('2023-10-31',202344,10,2023,31,44,202310),('2023-11-01',202344,11,2023,1,44,202311),('2023-11-02',202344,11,2023,2,44,202311),('2023-11-03',202344,11,2023,3,44,202311),('2023-11-04',202344,11,2023,4,44,202311),('2023-11-05',202345,11,2023,5,45,202311),('2023-11-06',202345,11,2023,6,45,202311),('2023-11-07',202345,11,2023,7,45,202311),('2023-11-08',202345,11,2023,8,45,202311),('2023-11-09',202345,11,2023,9,45,202311),('2023-11-10',202345,11,2023,10,45,202311),('2023-11-11',202345,11,2023,11,45,202311),('2023-11-12',202346,11,2023,12,46,202311),('2023-11-13',202346,11,2023,13,46,202311),('2023-11-14',202346,11,2023,14,46,202311),('2023-11-15',202346,11,2023,15,46,202311),('2023-11-16',202346,11,2023,16,46,202311),('2023-11-17',202346,11,2023,17,46,202311),('2023-11-18',202346,11,2023,18,46,202311),('2023-11-19',202347,11,2023,19,47,202311),('2023-11-20',202347,11,2023,20,47,202311),('2023-11-21',202347,11,2023,21,47,202311),('2023-11-22',202347,11,2023,22,47,202311),('2023-11-23',202347,11,2023,23,47,202311),('2023-11-24',202347,11,2023,24,47,202311),('2023-11-25',202347,11,2023,25,47,202311),('2023-11-26',202348,11,2023,26,48,202311),('2023-11-27',202348,11,2023,27,48,202311),('2023-11-28',202348,11,2023,28,48,202311),('2023-11-29',202348,11,2023,29,48,202311),('2023-11-30',202348,11,2023,30,48,202311),('2023-12-01',202348,12,2023,1,48,202312),('2023-12-02',202348,12,2023,2,48,202312),('2023-12-03',202349,12,2023,3,49,202312),('2023-12-04',202349,12,2023,4,49,202312),('2023-12-05',202349,12,2023,5,49,202312),('2023-12-06',202349,12,2023,6,49,202312),('2023-12-07',202349,12,2023,7,49,202312),('2023-12-08',202349,12,2023,8,49,202312),('2023-12-09',202349,12,2023,9,49,202312),('2023-12-10',202350,12,2023,10,50,202312),('2023-12-11',202350,12,2023,11,50,202312),('2023-12-12',202350,12,2023,12,50,202312),('2023-12-13',202350,12,2023,13,50,202312),('2023-12-14',202350,12,2023,14,50,202312),('2023-12-15',202350,12,2023,15,50,202312),('2023-12-16',202350,12,2023,16,50,202312),('2023-12-17',202351,12,2023,17,51,202312),('2023-12-18',202351,12,2023,18,51,202312),('2023-12-19',202351,12,2023,19,51,202312),('2023-12-20',202351,12,2023,20,51,202312),('2023-12-21',202351,12,2023,21,51,202312),('2023-12-22',202351,12,2023,22,51,202312),('2023-12-23',202351,12,2023,23,51,202312),('2023-12-24',202352,12,2023,24,52,202312),('2023-12-25',202352,12,2023,25,52,202312),('2023-12-26',202352,12,2023,26,52,202312),('2023-12-27',202352,12,2023,27,52,202312),('2023-12-28',202352,12,2023,28,52,202312),('2023-12-29',202352,12,2023,29,52,202312),('2023-12-30',202352,12,2023,30,52,202312),('2023-12-31',202353,12,2023,31,1,202312),('2024-01-01',202401,1,2024,1,1,202401),('2024-01-02',202401,1,2024,2,1,202401),('2024-01-03',202401,1,2024,3,1,202401),('2024-01-04',202401,1,2024,4,1,202401),('2024-01-05',202401,1,2024,5,1,202401),('2024-01-06',202401,1,2024,6,1,202401),('2024-01-07',202402,1,2024,7,2,202401),('2024-01-08',202402,1,2024,8,2,202401),('2024-01-09',202402,1,2024,9,2,202401),('2024-01-10',202402,1,2024,10,2,202401),('2024-01-11',202402,1,2024,11,2,202401),('2024-01-12',202402,1,2024,12,2,202401),('2024-01-13',202402,1,2024,13,2,202401),('2024-01-14',202403,1,2024,14,3,202401),('2024-01-15',202403,1,2024,15,3,202401),('2024-01-16',202403,1,2024,16,3,202401),('2024-01-17',202403,1,2024,17,3,202401),('2024-01-18',202403,1,2024,18,3,202401),('2024-01-19',202403,1,2024,19,3,202401),('2024-01-20',202403,1,2024,20,3,202401),('2024-01-21',202404,1,2024,21,4,202401),('2024-01-22',202404,1,2024,22,4,202401),('2024-01-23',202404,1,2024,23,4,202401),('2024-01-24',202404,1,2024,24,4,202401),('2024-01-25',202404,1,2024,25,4,202401),('2024-01-26',202404,1,2024,26,4,202401),('2024-01-27',202404,1,2024,27,4,202401),('2024-01-28',202405,1,2024,28,5,202401),('2024-01-29',202405,1,2024,29,5,202401),('2024-01-30',202405,1,2024,30,5,202401),('2024-01-31',202405,1,2024,31,5,202401),('2024-02-01',202405,2,2024,1,5,202402),('2024-02-02',202405,2,2024,2,5,202402),('2024-02-03',202405,2,2024,3,5,202402),('2024-02-04',202406,2,2024,4,6,202402),('2024-02-05',202406,2,2024,5,6,202402),('2024-02-06',202406,2,2024,6,6,202402),('2024-02-07',202406,2,2024,7,6,202402),('2024-02-08',202406,2,2024,8,6,202402),('2024-02-09',202406,2,2024,9,6,202402),('2024-02-10',202406,2,2024,10,6,202402),('2024-02-11',202407,2,2024,11,7,202402),('2024-02-12',202407,2,2024,12,7,202402),('2024-02-13',202407,2,2024,13,7,202402),('2024-02-14',202407,2,2024,14,7,202402),('2024-02-15',202407,2,2024,15,7,202402),('2024-02-16',202407,2,2024,16,7,202402),('2024-02-17',202407,2,2024,17,7,202402),('2024-02-18',202408,2,2024,18,8,202402),('2024-02-19',202408,2,2024,19,8,202402),('2024-02-20',202408,2,2024,20,8,202402),('2024-02-21',202408,2,2024,21,8,202402),('2024-02-22',202408,2,2024,22,8,202402),('2024-02-23',202408,2,2024,23,8,202402),('2024-02-24',202408,2,2024,24,8,202402),('2024-02-25',202409,2,2024,25,9,202402),('2024-02-26',202409,2,2024,26,9,202402),('2024-02-27',202409,2,2024,27,9,202402),('2024-02-28',202409,2,2024,28,9,202402),('2024-02-29',202409,2,2024,29,9,202402),('2024-03-01',202409,3,2024,1,9,202403),('2024-03-02',202409,3,2024,2,9,202403),('2024-03-03',202410,3,2024,3,10,202403),('2024-03-04',202410,3,2024,4,10,202403),('2024-03-05',202410,3,2024,5,10,202403),('2024-03-06',202410,3,2024,6,10,202403),('2024-03-07',202410,3,2024,7,10,202403),('2024-03-08',202410,3,2024,8,10,202403),('2024-03-09',202410,3,2024,9,10,202403),('2024-03-10',202411,3,2024,10,11,202403),('2024-03-11',202411,3,2024,11,11,202403),('2024-03-12',202411,3,2024,12,11,202403),('2024-03-13',202411,3,2024,13,11,202403),('2024-03-14',202411,3,2024,14,11,202403),('2024-03-15',202411,3,2024,15,11,202403),('2024-03-16',202411,3,2024,16,11,202403),('2024-03-17',202412,3,2024,17,12,202403),('2024-03-18',202412,3,2024,18,12,202403),('2024-03-19',202412,3,2024,19,12,202403),('2024-03-20',202412,3,2024,20,12,202403),('2024-03-21',202412,3,2024,21,12,202403),('2024-03-22',202412,3,2024,22,12,202403),('2024-03-23',202412,3,2024,23,12,202403),('2024-03-24',202413,3,2024,24,13,202403),('2024-03-25',202413,3,2024,25,13,202403),('2024-03-26',202413,3,2024,26,13,202403),('2024-03-27',202413,3,2024,27,13,202403),('2024-03-28',202413,3,2024,28,13,202403),('2024-03-29',202413,3,2024,29,13,202403),('2024-03-30',202413,3,2024,30,13,202403),('2024-03-31',202414,3,2024,31,14,202403),('2024-04-01',202414,4,2024,1,14,202404),('2024-04-02',202414,4,2024,2,14,202404),('2024-04-03',202414,4,2024,3,14,202404),('2024-04-04',202414,4,2024,4,14,202404),('2024-04-05',202414,4,2024,5,14,202404),('2024-04-06',202414,4,2024,6,14,202404),('2024-04-07',202415,4,2024,7,15,202404),('2024-04-08',202415,4,2024,8,15,202404),('2024-04-09',202415,4,2024,9,15,202404),('2024-04-10',202415,4,2024,10,15,202404),('2024-04-11',202415,4,2024,11,15,202404),('2024-04-12',202415,4,2024,12,15,202404),('2024-04-13',202415,4,2024,13,15,202404),('2024-04-14',202416,4,2024,14,16,202404),('2024-04-15',202416,4,2024,15,16,202404),('2024-04-16',202416,4,2024,16,16,202404),('2024-04-17',202416,4,2024,17,16,202404),('2024-04-18',202416,4,2024,18,16,202404),('2024-04-19',202416,4,2024,19,16,202404),('2024-04-20',202416,4,2024,20,16,202404),('2024-04-21',202417,4,2024,21,17,202404),('2024-04-22',202417,4,2024,22,17,202404),('2024-04-23',202417,4,2024,23,17,202404),('2024-04-24',202417,4,2024,24,17,202404),('2024-04-25',202417,4,2024,25,17,202404),('2024-04-26',202417,4,2024,26,17,202404),('2024-04-27',202417,4,2024,27,17,202404),('2024-04-28',202418,4,2024,28,18,202404),('2024-04-29',202418,4,2024,29,18,202404),('2024-04-30',202418,4,2024,30,18,202404),('2024-05-01',202418,5,2024,1,18,202405),('2024-05-02',202418,5,2024,2,18,202405),('2024-05-03',202418,5,2024,3,18,202405),('2024-05-04',202418,5,2024,4,18,202405),('2024-05-05',202419,5,2024,5,19,202405),('2024-05-06',202419,5,2024,6,19,202405),('2024-05-07',202419,5,2024,7,19,202405),('2024-05-08',202419,5,2024,8,19,202405),('2024-05-09',202419,5,2024,9,19,202405),('2024-05-10',202419,5,2024,10,19,202405),('2024-05-11',202419,5,2024,11,19,202405),('2024-05-12',202420,5,2024,12,20,202405),('2024-05-13',202420,5,2024,13,20,202405),('2024-05-14',202420,5,2024,14,20,202405),('2024-05-15',202420,5,2024,15,20,202405),('2024-05-16',202420,5,2024,16,20,202405),('2024-05-17',202420,5,2024,17,20,202405),('2024-05-18',202420,5,2024,18,20,202405),('2024-05-19',202421,5,2024,19,21,202405),('2024-05-20',202421,5,2024,20,21,202405),('2024-05-21',202421,5,2024,21,21,202405),('2024-05-22',202421,5,2024,22,21,202405),('2024-05-23',202421,5,2024,23,21,202405),('2024-05-24',202421,5,2024,24,21,202405),('2024-05-25',202421,5,2024,25,21,202405),('2024-05-26',202422,5,2024,26,22,202405),('2024-05-27',202422,5,2024,27,22,202405),('2024-05-28',202422,5,2024,28,22,202405),('2024-05-29',202422,5,2024,29,22,202405),('2024-05-30',202422,5,2024,30,22,202405),('2024-05-31',202422,5,2024,31,22,202405),('2024-06-01',202422,6,2024,1,22,202406),('2024-06-02',202423,6,2024,2,23,202406),('2024-06-03',202423,6,2024,3,23,202406),('2024-06-04',202423,6,2024,4,23,202406),('2024-06-05',202423,6,2024,5,23,202406),('2024-06-06',202423,6,2024,6,23,202406),('2024-06-07',202423,6,2024,7,23,202406),('2024-06-08',202423,6,2024,8,23,202406),('2024-06-09',202424,6,2024,9,24,202406),('2024-06-10',202424,6,2024,10,24,202406),('2024-06-11',202424,6,2024,11,24,202406),('2024-06-12',202424,6,2024,12,24,202406),('2024-06-13',202424,6,2024,13,24,202406),('2024-06-14',202424,6,2024,14,24,202406),('2024-06-15',202424,6,2024,15,24,202406),('2024-06-16',202425,6,2024,16,25,202406),('2024-06-17',202425,6,2024,17,25,202406),('2024-06-18',202425,6,2024,18,25,202406),('2024-06-19',202425,6,2024,19,25,202406),('2024-06-20',202425,6,2024,20,25,202406),('2024-06-21',202425,6,2024,21,25,202406),('2024-06-22',202425,6,2024,22,25,202406),('2024-06-23',202426,6,2024,23,26,202406),('2024-06-24',202426,6,2024,24,26,202406),('2024-06-25',202426,6,2024,25,26,202406),('2024-06-26',202426,6,2024,26,26,202406),('2024-06-27',202426,6,2024,27,26,202406),('2024-06-28',202426,6,2024,28,26,202406),('2024-06-29',202426,6,2024,29,26,202406),('2024-06-30',202427,6,2024,30,27,202406),('2024-07-01',202427,7,2024,1,27,202407),('2024-07-02',202427,7,2024,2,27,202407),('2024-07-03',202427,7,2024,3,27,202407),('2024-07-04',202427,7,2024,4,27,202407),('2024-07-05',202427,7,2024,5,27,202407),('2024-07-06',202427,7,2024,6,27,202407),('2024-07-07',202428,7,2024,7,28,202407),('2024-07-08',202428,7,2024,8,28,202407),('2024-07-09',202428,7,2024,9,28,202407),('2024-07-10',202428,7,2024,10,28,202407),('2024-07-11',202428,7,2024,11,28,202407),('2024-07-12',202428,7,2024,12,28,202407),('2024-07-13',202428,7,2024,13,28,202407),('2024-07-14',202429,7,2024,14,29,202407),('2024-07-15',202429,7,2024,15,29,202407),('2024-07-16',202429,7,2024,16,29,202407),('2024-07-17',202429,7,2024,17,29,202407),('2024-07-18',202429,7,2024,18,29,202407),('2024-07-19',202429,7,2024,19,29,202407),('2024-07-20',202429,7,2024,20,29,202407),('2024-07-21',202430,7,2024,21,30,202407),('2024-07-22',202430,7,2024,22,30,202407),('2024-07-23',202430,7,2024,23,30,202407),('2024-07-24',202430,7,2024,24,30,202407),('2024-07-25',202430,7,2024,25,30,202407),('2024-07-26',202430,7,2024,26,30,202407),('2024-07-27',202430,7,2024,27,30,202407),('2024-07-28',202431,7,2024,28,31,202407),('2024-07-29',202431,7,2024,29,31,202407),('2024-07-30',202431,7,2024,30,31,202407),('2024-07-31',202431,7,2024,31,31,202407),('2024-08-01',202431,8,2024,1,31,202408),('2024-08-02',202431,8,2024,2,31,202408),('2024-08-03',202431,8,2024,3,31,202408),('2024-08-04',202432,8,2024,4,32,202408),('2024-08-05',202432,8,2024,5,32,202408),('2024-08-06',202432,8,2024,6,32,202408),('2024-08-07',202432,8,2024,7,32,202408),('2024-08-08',202432,8,2024,8,32,202408),('2024-08-09',202432,8,2024,9,32,202408),('2024-08-10',202432,8,2024,10,32,202408),('2024-08-11',202433,8,2024,11,33,202408),('2024-08-12',202433,8,2024,12,33,202408),('2024-08-13',202433,8,2024,13,33,202408),('2024-08-14',202433,8,2024,14,33,202408),('2024-08-15',202433,8,2024,15,33,202408),('2024-08-16',202433,8,2024,16,33,202408),('2024-08-17',202433,8,2024,17,33,202408),('2024-08-18',202434,8,2024,18,34,202408),('2024-08-19',202434,8,2024,19,34,202408),('2024-08-20',202434,8,2024,20,34,202408),('2024-08-21',202434,8,2024,21,34,202408),('2024-08-22',202434,8,2024,22,34,202408),('2024-08-23',202434,8,2024,23,34,202408),('2024-08-24',202434,8,2024,24,34,202408),('2024-08-25',202435,8,2024,25,35,202408),('2024-08-26',202435,8,2024,26,35,202408),('2024-08-27',202435,8,2024,27,35,202408),('2024-08-28',202435,8,2024,28,35,202408),('2024-08-29',202435,8,2024,29,35,202408),('2024-08-30',202435,8,2024,30,35,202408),('2024-08-31',202435,8,2024,31,35,202408),('2024-09-01',202436,9,2024,1,36,202409),('2024-09-02',202436,9,2024,2,36,202409),('2024-09-03',202436,9,2024,3,36,202409),('2024-09-04',202436,9,2024,4,36,202409),('2024-09-05',202436,9,2024,5,36,202409),('2024-09-06',202436,9,2024,6,36,202409),('2024-09-07',202436,9,2024,7,36,202409),('2024-09-08',202437,9,2024,8,37,202409),('2024-09-09',202437,9,2024,9,37,202409),('2024-09-10',202437,9,2024,10,37,202409),('2024-09-11',202437,9,2024,11,37,202409),('2024-09-12',202437,9,2024,12,37,202409),('2024-09-13',202437,9,2024,13,37,202409),('2024-09-14',202437,9,2024,14,37,202409),('2024-09-15',202438,9,2024,15,38,202409),('2024-09-16',202438,9,2024,16,38,202409),('2024-09-17',202438,9,2024,17,38,202409),('2024-09-18',202438,9,2024,18,38,202409),('2024-09-19',202438,9,2024,19,38,202409),('2024-09-20',202438,9,2024,20,38,202409),('2024-09-21',202438,9,2024,21,38,202409),('2024-09-22',202439,9,2024,22,39,202409),('2024-09-23',202439,9,2024,23,39,202409),('2024-09-24',202439,9,2024,24,39,202409),('2024-09-25',202439,9,2024,25,39,202409),('2024-09-26',202439,9,2024,26,39,202409),('2024-09-27',202439,9,2024,27,39,202409),('2024-09-28',202439,9,2024,28,39,202409),('2024-09-29',202440,9,2024,29,40,202409),('2024-09-30',202440,9,2024,30,40,202409),('2024-10-01',202440,10,2024,1,40,202410),('2024-10-02',202440,10,2024,2,40,202410),('2024-10-03',202440,10,2024,3,40,202410),('2024-10-04',202440,10,2024,4,40,202410),('2024-10-05',202440,10,2024,5,40,202410),('2024-10-06',202441,10,2024,6,41,202410),('2024-10-07',202441,10,2024,7,41,202410),('2024-10-08',202441,10,2024,8,41,202410),('2024-10-09',202441,10,2024,9,41,202410),('2024-10-10',202441,10,2024,10,41,202410),('2024-10-11',202441,10,2024,11,41,202410),('2024-10-12',202441,10,2024,12,41,202410),('2024-10-13',202442,10,2024,13,42,202410),('2024-10-14',202442,10,2024,14,42,202410),('2024-10-15',202442,10,2024,15,42,202410),('2024-10-16',202442,10,2024,16,42,202410),('2024-10-17',202442,10,2024,17,42,202410),('2024-10-18',202442,10,2024,18,42,202410),('2024-10-19',202442,10,2024,19,42,202410),('2024-10-20',202443,10,2024,20,43,202410),('2024-10-21',202443,10,2024,21,43,202410),('2024-10-22',202443,10,2024,22,43,202410),('2024-10-23',202443,10,2024,23,43,202410),('2024-10-24',202443,10,2024,24,43,202410),('2024-10-25',202443,10,2024,25,43,202410),('2024-10-26',202443,10,2024,26,43,202410),('2024-10-27',202444,10,2024,27,44,202410),('2024-10-28',202444,10,2024,28,44,202410),('2024-10-29',202444,10,2024,29,44,202410),('2024-10-30',202444,10,2024,30,44,202410),('2024-10-31',202444,10,2024,31,44,202410),('2024-11-01',202444,11,2024,1,44,202411),('2024-11-02',202444,11,2024,2,44,202411),('2024-11-03',202445,11,2024,3,45,202411),('2024-11-04',202445,11,2024,4,45,202411),('2024-11-05',202445,11,2024,5,45,202411),('2024-11-06',202445,11,2024,6,45,202411),('2024-11-07',202445,11,2024,7,45,202411),('2024-11-08',202445,11,2024,8,45,202411),('2024-11-09',202445,11,2024,9,45,202411),('2024-11-10',202446,11,2024,10,46,202411),('2024-11-11',202446,11,2024,11,46,202411),('2024-11-12',202446,11,2024,12,46,202411),('2024-11-13',202446,11,2024,13,46,202411),('2024-11-14',202446,11,2024,14,46,202411),('2024-11-15',202446,11,2024,15,46,202411),('2024-11-16',202446,11,2024,16,46,202411),('2024-11-17',202447,11,2024,17,47,202411),('2024-11-18',202447,11,2024,18,47,202411),('2024-11-19',202447,11,2024,19,47,202411),('2024-11-20',202447,11,2024,20,47,202411),('2024-11-21',202447,11,2024,21,47,202411),('2024-11-22',202447,11,2024,22,47,202411),('2024-11-23',202447,11,2024,23,47,202411),('2024-11-24',202448,11,2024,24,48,202411),('2024-11-25',202448,11,2024,25,48,202411),('2024-11-26',202448,11,2024,26,48,202411),('2024-11-27',202448,11,2024,27,48,202411),('2024-11-28',202448,11,2024,28,48,202411),('2024-11-29',202448,11,2024,29,48,202411),('2024-11-30',202448,11,2024,30,48,202411),('2024-12-01',202449,12,2024,1,49,202412),('2024-12-02',202449,12,2024,2,49,202412),('2024-12-03',202449,12,2024,3,49,202412),('2024-12-04',202449,12,2024,4,49,202412),('2024-12-05',202449,12,2024,5,49,202412),('2024-12-06',202449,12,2024,6,49,202412),('2024-12-07',202449,12,2024,7,49,202412),('2024-12-08',202450,12,2024,8,50,202412),('2024-12-09',202450,12,2024,9,50,202412),('2024-12-10',202450,12,2024,10,50,202412),('2024-12-11',202450,12,2024,11,50,202412),('2024-12-12',202450,12,2024,12,50,202412),('2024-12-13',202450,12,2024,13,50,202412),('2024-12-14',202450,12,2024,14,50,202412),('2024-12-15',202451,12,2024,15,51,202412),('2024-12-16',202451,12,2024,16,51,202412),('2024-12-17',202451,12,2024,17,51,202412),('2024-12-18',202451,12,2024,18,51,202412),('2024-12-19',202451,12,2024,19,51,202412),('2024-12-20',202451,12,2024,20,51,202412),('2024-12-21',202451,12,2024,21,51,202412),('2024-12-22',202452,12,2024,22,52,202412),('2024-12-23',202452,12,2024,23,52,202412),('2024-12-24',202452,12,2024,24,52,202412),('2024-12-25',202452,12,2024,25,52,202412),('2024-12-26',202452,12,2024,26,52,202412),('2024-12-27',202452,12,2024,27,52,202412),('2024-12-28',202452,12,2024,28,52,202412),('2024-12-29',202453,12,2024,29,1,202412),('2024-12-30',202401,12,2024,30,1,202412),('2024-12-31',202401,12,2024,31,1,202412),('2025-01-01',202501,1,2025,1,1,202501),('2025-01-02',202501,1,2025,2,1,202501),('2025-01-03',202501,1,2025,3,1,202501),('2025-01-04',202501,1,2025,4,1,202501),('2025-01-05',202502,1,2025,5,2,202501),('2025-01-06',202502,1,2025,6,2,202501),('2025-01-07',202502,1,2025,7,2,202501),('2025-01-08',202502,1,2025,8,2,202501),('2025-01-09',202502,1,2025,9,2,202501),('2025-01-10',202502,1,2025,10,2,202501),('2025-01-11',202502,1,2025,11,2,202501),('2025-01-12',202503,1,2025,12,3,202501),('2025-01-13',202503,1,2025,13,3,202501),('2025-01-14',202503,1,2025,14,3,202501),('2025-01-15',202503,1,2025,15,3,202501),('2025-01-16',202503,1,2025,16,3,202501),('2025-01-17',202503,1,2025,17,3,202501),('2025-01-18',202503,1,2025,18,3,202501),('2025-01-19',202504,1,2025,19,4,202501),('2025-01-20',202504,1,2025,20,4,202501),('2025-01-21',202504,1,2025,21,4,202501),('2025-01-22',202504,1,2025,22,4,202501),('2025-01-23',202504,1,2025,23,4,202501),('2025-01-24',202504,1,2025,24,4,202501),('2025-01-25',202504,1,2025,25,4,202501),('2025-01-26',202505,1,2025,26,5,202501),('2025-01-27',202505,1,2025,27,5,202501),('2025-01-28',202505,1,2025,28,5,202501),('2025-01-29',202505,1,2025,29,5,202501),('2025-01-30',202505,1,2025,30,5,202501),('2025-01-31',202505,1,2025,31,5,202501),('2025-02-01',202505,2,2025,1,5,202502),('2025-02-02',202506,2,2025,2,6,202502),('2025-02-03',202506,2,2025,3,6,202502),('2025-02-04',202506,2,2025,4,6,202502),('2025-02-05',202506,2,2025,5,6,202502),('2025-02-06',202506,2,2025,6,6,202502),('2025-02-07',202506,2,2025,7,6,202502),('2025-02-08',202506,2,2025,8,6,202502),('2025-02-09',202507,2,2025,9,7,202502),('2025-02-10',202507,2,2025,10,7,202502),('2025-02-11',202507,2,2025,11,7,202502),('2025-02-12',202507,2,2025,12,7,202502),('2025-02-13',202507,2,2025,13,7,202502),('2025-02-14',202507,2,2025,14,7,202502),('2025-02-15',202507,2,2025,15,7,202502),('2025-02-16',202508,2,2025,16,8,202502),('2025-02-17',202508,2,2025,17,8,202502),('2025-02-18',202508,2,2025,18,8,202502),('2025-02-19',202508,2,2025,19,8,202502),('2025-02-20',202508,2,2025,20,8,202502),('2025-02-21',202508,2,2025,21,8,202502),('2025-02-22',202508,2,2025,22,8,202502),('2025-02-23',202509,2,2025,23,9,202502),('2025-02-24',202509,2,2025,24,9,202502),('2025-02-25',202509,2,2025,25,9,202502),('2025-02-26',202509,2,2025,26,9,202502),('2025-02-27',202509,2,2025,27,9,202502),('2025-02-28',202509,2,2025,28,9,202502),('2025-03-01',202509,3,2025,1,9,202503),('2025-03-02',202510,3,2025,2,10,202503),('2025-03-03',202510,3,2025,3,10,202503),('2025-03-04',202510,3,2025,4,10,202503),('2025-03-05',202510,3,2025,5,10,202503),('2025-03-06',202510,3,2025,6,10,202503),('2025-03-07',202510,3,2025,7,10,202503),('2025-03-08',202510,3,2025,8,10,202503),('2025-03-09',202511,3,2025,9,11,202503),('2025-03-10',202511,3,2025,10,11,202503),('2025-03-11',202511,3,2025,11,11,202503),('2025-03-12',202511,3,2025,12,11,202503),('2025-03-13',202511,3,2025,13,11,202503),('2025-03-14',202511,3,2025,14,11,202503),('2025-03-15',202511,3,2025,15,11,202503),('2025-03-16',202512,3,2025,16,12,202503),('2025-03-17',202512,3,2025,17,12,202503),('2025-03-18',202512,3,2025,18,12,202503),('2025-03-19',202512,3,2025,19,12,202503),('2025-03-20',202512,3,2025,20,12,202503),('2025-03-21',202512,3,2025,21,12,202503),('2025-03-22',202512,3,2025,22,12,202503),('2025-03-23',202513,3,2025,23,13,202503),('2025-03-24',202513,3,2025,24,13,202503),('2025-03-25',202513,3,2025,25,13,202503),('2025-03-26',202513,3,2025,26,13,202503),('2025-03-27',202513,3,2025,27,13,202503),('2025-03-28',202513,3,2025,28,13,202503),('2025-03-29',202513,3,2025,29,13,202503),('2025-03-30',202514,3,2025,30,14,202503),('2025-03-31',202514,3,2025,31,14,202503),('2025-04-01',202514,4,2025,1,14,202504),('2025-04-02',202514,4,2025,2,14,202504),('2025-04-03',202514,4,2025,3,14,202504),('2025-04-04',202514,4,2025,4,14,202504),('2025-04-05',202514,4,2025,5,14,202504),('2025-04-06',202515,4,2025,6,15,202504),('2025-04-07',202515,4,2025,7,15,202504),('2025-04-08',202515,4,2025,8,15,202504),('2025-04-09',202515,4,2025,9,15,202504),('2025-04-10',202515,4,2025,10,15,202504),('2025-04-11',202515,4,2025,11,15,202504),('2025-04-12',202515,4,2025,12,15,202504),('2025-04-13',202516,4,2025,13,16,202504),('2025-04-14',202516,4,2025,14,16,202504),('2025-04-15',202516,4,2025,15,16,202504),('2025-04-16',202516,4,2025,16,16,202504),('2025-04-17',202516,4,2025,17,16,202504),('2025-04-18',202516,4,2025,18,16,202504),('2025-04-19',202516,4,2025,19,16,202504),('2025-04-20',202517,4,2025,20,17,202504),('2025-04-21',202517,4,2025,21,17,202504),('2025-04-22',202517,4,2025,22,17,202504),('2025-04-23',202517,4,2025,23,17,202504),('2025-04-24',202517,4,2025,24,17,202504),('2025-04-25',202517,4,2025,25,17,202504),('2025-04-26',202517,4,2025,26,17,202504),('2025-04-27',202518,4,2025,27,18,202504),('2025-04-28',202518,4,2025,28,18,202504),('2025-04-29',202518,4,2025,29,18,202504),('2025-04-30',202518,4,2025,30,18,202504),('2025-05-01',202518,5,2025,1,18,202505),('2025-05-02',202518,5,2025,2,18,202505),('2025-05-03',202518,5,2025,3,18,202505),('2025-05-04',202519,5,2025,4,19,202505),('2025-05-05',202519,5,2025,5,19,202505),('2025-05-06',202519,5,2025,6,19,202505),('2025-05-07',202519,5,2025,7,19,202505),('2025-05-08',202519,5,2025,8,19,202505),('2025-05-09',202519,5,2025,9,19,202505),('2025-05-10',202519,5,2025,10,19,202505),('2025-05-11',202520,5,2025,11,20,202505),('2025-05-12',202520,5,2025,12,20,202505),('2025-05-13',202520,5,2025,13,20,202505),('2025-05-14',202520,5,2025,14,20,202505),('2025-05-15',202520,5,2025,15,20,202505),('2025-05-16',202520,5,2025,16,20,202505),('2025-05-17',202520,5,2025,17,20,202505),('2025-05-18',202521,5,2025,18,21,202505),('2025-05-19',202521,5,2025,19,21,202505),('2025-05-20',202521,5,2025,20,21,202505),('2025-05-21',202521,5,2025,21,21,202505),('2025-05-22',202521,5,2025,22,21,202505),('2025-05-23',202521,5,2025,23,21,202505),('2025-05-24',202521,5,2025,24,21,202505),('2025-05-25',202522,5,2025,25,22,202505),('2025-05-26',202522,5,2025,26,22,202505),('2025-05-27',202522,5,2025,27,22,202505),('2025-05-28',202522,5,2025,28,22,202505),('2025-05-29',202522,5,2025,29,22,202505),('2025-05-30',202522,5,2025,30,22,202505),('2025-05-31',202522,5,2025,31,22,202505),('2025-06-01',202523,6,2025,1,23,202506),('2025-06-02',202523,6,2025,2,23,202506),('2025-06-03',202523,6,2025,3,23,202506),('2025-06-04',202523,6,2025,4,23,202506),('2025-06-05',202523,6,2025,5,23,202506),('2025-06-06',202523,6,2025,6,23,202506),('2025-06-07',202523,6,2025,7,23,202506),('2025-06-08',202524,6,2025,8,24,202506),('2025-06-09',202524,6,2025,9,24,202506),('2025-06-10',202524,6,2025,10,24,202506),('2025-06-11',202524,6,2025,11,24,202506),('2025-06-12',202524,6,2025,12,24,202506),('2025-06-13',202524,6,2025,13,24,202506),('2025-06-14',202524,6,2025,14,24,202506),('2025-06-15',202525,6,2025,15,25,202506),('2025-06-16',202525,6,2025,16,25,202506),('2025-06-17',202525,6,2025,17,25,202506),('2025-06-18',202525,6,2025,18,25,202506),('2025-06-19',202525,6,2025,19,25,202506),('2025-06-20',202525,6,2025,20,25,202506),('2025-06-21',202525,6,2025,21,25,202506),('2025-06-22',202526,6,2025,22,26,202506),('2025-06-23',202526,6,2025,23,26,202506),('2025-06-24',202526,6,2025,24,26,202506),('2025-06-25',202526,6,2025,25,26,202506),('2025-06-26',202526,6,2025,26,26,202506),('2025-06-27',202526,6,2025,27,26,202506),('2025-06-28',202526,6,2025,28,26,202506),('2025-06-29',202527,6,2025,29,27,202506),('2025-06-30',202527,6,2025,30,27,202506),('2025-07-01',202527,7,2025,1,27,202507),('2025-07-02',202527,7,2025,2,27,202507),('2025-07-03',202527,7,2025,3,27,202507),('2025-07-04',202527,7,2025,4,27,202507),('2025-07-05',202527,7,2025,5,27,202507),('2025-07-06',202528,7,2025,6,28,202507),('2025-07-07',202528,7,2025,7,28,202507),('2025-07-08',202528,7,2025,8,28,202507),('2025-07-09',202528,7,2025,9,28,202507),('2025-07-10',202528,7,2025,10,28,202507),('2025-07-11',202528,7,2025,11,28,202507),('2025-07-12',202528,7,2025,12,28,202507),('2025-07-13',202529,7,2025,13,29,202507),('2025-07-14',202529,7,2025,14,29,202507),('2025-07-15',202529,7,2025,15,29,202507),('2025-07-16',202529,7,2025,16,29,202507),('2025-07-17',202529,7,2025,17,29,202507),('2025-07-18',202529,7,2025,18,29,202507),('2025-07-19',202529,7,2025,19,29,202507),('2025-07-20',202530,7,2025,20,30,202507),('2025-07-21',202530,7,2025,21,30,202507),('2025-07-22',202530,7,2025,22,30,202507),('2025-07-23',202530,7,2025,23,30,202507),('2025-07-24',202530,7,2025,24,30,202507),('2025-07-25',202530,7,2025,25,30,202507),('2025-07-26',202530,7,2025,26,30,202507),('2025-07-27',202531,7,2025,27,31,202507),('2025-07-28',202531,7,2025,28,31,202507),('2025-07-29',202531,7,2025,29,31,202507),('2025-07-30',202531,7,2025,30,31,202507),('2025-07-31',202531,7,2025,31,31,202507),('2025-08-01',202531,8,2025,1,31,202508),('2025-08-02',202531,8,2025,2,31,202508),('2025-08-03',202532,8,2025,3,32,202508),('2025-08-04',202532,8,2025,4,32,202508),('2025-08-05',202532,8,2025,5,32,202508),('2025-08-06',202532,8,2025,6,32,202508),('2025-08-07',202532,8,2025,7,32,202508),('2025-08-08',202532,8,2025,8,32,202508),('2025-08-09',202532,8,2025,9,32,202508),('2025-08-10',202533,8,2025,10,33,202508),('2025-08-11',202533,8,2025,11,33,202508),('2025-08-12',202533,8,2025,12,33,202508),('2025-08-13',202533,8,2025,13,33,202508),('2025-08-14',202533,8,2025,14,33,202508),('2025-08-15',202533,8,2025,15,33,202508),('2025-08-16',202533,8,2025,16,33,202508),('2025-08-17',202534,8,2025,17,34,202508),('2025-08-18',202534,8,2025,18,34,202508),('2025-08-19',202534,8,2025,19,34,202508),('2025-08-20',202534,8,2025,20,34,202508),('2025-08-21',202534,8,2025,21,34,202508),('2025-08-22',202534,8,2025,22,34,202508),('2025-08-23',202534,8,2025,23,34,202508),('2025-08-24',202535,8,2025,24,35,202508),('2025-08-25',202535,8,2025,25,35,202508),('2025-08-26',202535,8,2025,26,35,202508),('2025-08-27',202535,8,2025,27,35,202508),('2025-08-28',202535,8,2025,28,35,202508),('2025-08-29',202535,8,2025,29,35,202508),('2025-08-30',202535,8,2025,30,35,202508),('2025-08-31',202536,8,2025,31,36,202508),('2025-09-01',202536,9,2025,1,36,202509),('2025-09-02',202536,9,2025,2,36,202509),('2025-09-03',202536,9,2025,3,36,202509),('2025-09-04',202536,9,2025,4,36,202509),('2025-09-05',202536,9,2025,5,36,202509),('2025-09-06',202536,9,2025,6,36,202509),('2025-09-07',202537,9,2025,7,37,202509),('2025-09-08',202537,9,2025,8,37,202509),('2025-09-09',202537,9,2025,9,37,202509),('2025-09-10',202537,9,2025,10,37,202509),('2025-09-11',202537,9,2025,11,37,202509),('2025-09-12',202537,9,2025,12,37,202509),('2025-09-13',202537,9,2025,13,37,202509),('2025-09-14',202538,9,2025,14,38,202509),('2025-09-15',202538,9,2025,15,38,202509),('2025-09-16',202538,9,2025,16,38,202509),('2025-09-17',202538,9,2025,17,38,202509),('2025-09-18',202538,9,2025,18,38,202509),('2025-09-19',202538,9,2025,19,38,202509),('2025-09-20',202538,9,2025,20,38,202509),('2025-09-21',202539,9,2025,21,39,202509),('2025-09-22',202539,9,2025,22,39,202509),('2025-09-23',202539,9,2025,23,39,202509),('2025-09-24',202539,9,2025,24,39,202509),('2025-09-25',202539,9,2025,25,39,202509),('2025-09-26',202539,9,2025,26,39,202509),('2025-09-27',202539,9,2025,27,39,202509),('2025-09-28',202540,9,2025,28,40,202509),('2025-09-29',202540,9,2025,29,40,202509),('2025-09-30',202540,9,2025,30,40,202509),('2025-10-01',202540,10,2025,1,40,202510),('2025-10-02',202540,10,2025,2,40,202510),('2025-10-03',202540,10,2025,3,40,202510),('2025-10-04',202540,10,2025,4,40,202510),('2025-10-05',202541,10,2025,5,41,202510),('2025-10-06',202541,10,2025,6,41,202510),('2025-10-07',202541,10,2025,7,41,202510),('2025-10-08',202541,10,2025,8,41,202510),('2025-10-09',202541,10,2025,9,41,202510),('2025-10-10',202541,10,2025,10,41,202510),('2025-10-11',202541,10,2025,11,41,202510),('2025-10-12',202542,10,2025,12,42,202510),('2025-10-13',202542,10,2025,13,42,202510),('2025-10-14',202542,10,2025,14,42,202510),('2025-10-15',202542,10,2025,15,42,202510),('2025-10-16',202542,10,2025,16,42,202510),('2025-10-17',202542,10,2025,17,42,202510),('2025-10-18',202542,10,2025,18,42,202510),('2025-10-19',202543,10,2025,19,43,202510),('2025-10-20',202543,10,2025,20,43,202510),('2025-10-21',202543,10,2025,21,43,202510),('2025-10-22',202543,10,2025,22,43,202510),('2025-10-23',202543,10,2025,23,43,202510),('2025-10-24',202543,10,2025,24,43,202510),('2025-10-25',202543,10,2025,25,43,202510),('2025-10-26',202544,10,2025,26,44,202510),('2025-10-27',202544,10,2025,27,44,202510),('2025-10-28',202544,10,2025,28,44,202510),('2025-10-29',202544,10,2025,29,44,202510),('2025-10-30',202544,10,2025,30,44,202510),('2025-10-31',202544,10,2025,31,44,202510),('2025-11-01',202544,11,2025,1,44,202511),('2025-11-02',202545,11,2025,2,45,202511),('2025-11-03',202545,11,2025,3,45,202511),('2025-11-04',202545,11,2025,4,45,202511),('2025-11-05',202545,11,2025,5,45,202511),('2025-11-06',202545,11,2025,6,45,202511),('2025-11-07',202545,11,2025,7,45,202511),('2025-11-08',202545,11,2025,8,45,202511),('2025-11-09',202546,11,2025,9,46,202511),('2025-11-10',202546,11,2025,10,46,202511),('2025-11-11',202546,11,2025,11,46,202511),('2025-11-12',202546,11,2025,12,46,202511),('2025-11-13',202546,11,2025,13,46,202511),('2025-11-14',202546,11,2025,14,46,202511),('2025-11-15',202546,11,2025,15,46,202511),('2025-11-16',202547,11,2025,16,47,202511),('2025-11-17',202547,11,2025,17,47,202511),('2025-11-18',202547,11,2025,18,47,202511),('2025-11-19',202547,11,2025,19,47,202511),('2025-11-20',202547,11,2025,20,47,202511),('2025-11-21',202547,11,2025,21,47,202511),('2025-11-22',202547,11,2025,22,47,202511),('2025-11-23',202548,11,2025,23,48,202511),('2025-11-24',202548,11,2025,24,48,202511),('2025-11-25',202548,11,2025,25,48,202511),('2025-11-26',202548,11,2025,26,48,202511),('2025-11-27',202548,11,2025,27,48,202511),('2025-11-28',202548,11,2025,28,48,202511),('2025-11-29',202548,11,2025,29,48,202511),('2025-11-30',202549,11,2025,30,49,202511),('2025-12-01',202549,12,2025,1,49,202512),('2025-12-02',202549,12,2025,2,49,202512),('2025-12-03',202549,12,2025,3,49,202512),('2025-12-04',202549,12,2025,4,49,202512),('2025-12-05',202549,12,2025,5,49,202512),('2025-12-06',202549,12,2025,6,49,202512),('2025-12-07',202550,12,2025,7,50,202512),('2025-12-08',202550,12,2025,8,50,202512),('2025-12-09',202550,12,2025,9,50,202512),('2025-12-10',202550,12,2025,10,50,202512),('2025-12-11',202550,12,2025,11,50,202512),('2025-12-12',202550,12,2025,12,50,202512),('2025-12-13',202550,12,2025,13,50,202512),('2025-12-14',202551,12,2025,14,51,202512),('2025-12-15',202551,12,2025,15,51,202512),('2025-12-16',202551,12,2025,16,51,202512),('2025-12-17',202551,12,2025,17,51,202512),('2025-12-18',202551,12,2025,18,51,202512),('2025-12-19',202551,12,2025,19,51,202512),('2025-12-20',202551,12,2025,20,51,202512),('2025-12-21',202552,12,2025,21,52,202512),('2025-12-22',202552,12,2025,22,52,202512),('2025-12-23',202552,12,2025,23,52,202512),('2025-12-24',202552,12,2025,24,52,202512),('2025-12-25',202552,12,2025,25,52,202512),('2025-12-26',202552,12,2025,26,52,202512),('2025-12-27',202552,12,2025,27,52,202512),('2025-12-28',202553,12,2025,28,53,202512),('2025-12-29',202501,12,2025,29,53,202512),('2025-12-30',202501,12,2025,30,53,202512),('2025-12-31',202501,12,2025,31,53,202512),('2026-01-01',202601,1,2026,1,53,202601),('2026-01-02',202601,1,2026,2,53,202601),('2026-01-03',202601,1,2026,3,53,202601),('2026-01-04',202602,1,2026,4,1,202601),('2026-01-05',202602,1,2026,5,1,202601),('2026-01-06',202602,1,2026,6,1,202601),('2026-01-07',202602,1,2026,7,1,202601),('2026-01-08',202602,1,2026,8,1,202601),('2026-01-09',202602,1,2026,9,1,202601),('2026-01-10',202602,1,2026,10,1,202601),('2026-01-11',202603,1,2026,11,2,202601),('2026-01-12',202603,1,2026,12,2,202601),('2026-01-13',202603,1,2026,13,2,202601),('2026-01-14',202603,1,2026,14,2,202601),('2026-01-15',202603,1,2026,15,2,202601),('2026-01-16',202603,1,2026,16,2,202601),('2026-01-17',202603,1,2026,17,2,202601),('2026-01-18',202604,1,2026,18,3,202601),('2026-01-19',202604,1,2026,19,3,202601),('2026-01-20',202604,1,2026,20,3,202601),('2026-01-21',202604,1,2026,21,3,202601),('2026-01-22',202604,1,2026,22,3,202601),('2026-01-23',202604,1,2026,23,3,202601),('2026-01-24',202604,1,2026,24,3,202601),('2026-01-25',202605,1,2026,25,4,202601),('2026-01-26',202605,1,2026,26,4,202601),('2026-01-27',202605,1,2026,27,4,202601),('2026-01-28',202605,1,2026,28,4,202601),('2026-01-29',202605,1,2026,29,4,202601),('2026-01-30',202605,1,2026,30,4,202601),('2026-01-31',202605,1,2026,31,4,202601),('2026-02-01',202606,2,2026,1,5,202602),('2026-02-02',202606,2,2026,2,5,202602),('2026-02-03',202606,2,2026,3,5,202602),('2026-02-04',202606,2,2026,4,5,202602),('2026-02-05',202606,2,2026,5,5,202602),('2026-02-06',202606,2,2026,6,5,202602),('2026-02-07',202606,2,2026,7,5,202602),('2026-02-08',202607,2,2026,8,6,202602),('2026-02-09',202607,2,2026,9,6,202602),('2026-02-10',202607,2,2026,10,6,202602),('2026-02-11',202607,2,2026,11,6,202602),('2026-02-12',202607,2,2026,12,6,202602),('2026-02-13',202607,2,2026,13,6,202602),('2026-02-14',202607,2,2026,14,6,202602),('2026-02-15',202608,2,2026,15,7,202602),('2026-02-16',202608,2,2026,16,7,202602),('2026-02-17',202608,2,2026,17,7,202602),('2026-02-18',202608,2,2026,18,7,202602),('2026-02-19',202608,2,2026,19,7,202602),('2026-02-20',202608,2,2026,20,7,202602),('2026-02-21',202608,2,2026,21,7,202602),('2026-02-22',202609,2,2026,22,8,202602),('2026-02-23',202609,2,2026,23,8,202602),('2026-02-24',202609,2,2026,24,8,202602),('2026-02-25',202609,2,2026,25,8,202602),('2026-02-26',202609,2,2026,26,8,202602),('2026-02-27',202609,2,2026,27,8,202602),('2026-02-28',202609,2,2026,28,8,202602),('2026-03-01',202610,3,2026,1,9,202603),('2026-03-02',202610,3,2026,2,9,202603),('2026-03-03',202610,3,2026,3,9,202603),('2026-03-04',202610,3,2026,4,9,202603),('2026-03-05',202610,3,2026,5,9,202603),('2026-03-06',202610,3,2026,6,9,202603),('2026-03-07',202610,3,2026,7,9,202603),('2026-03-08',202611,3,2026,8,10,202603),('2026-03-09',202611,3,2026,9,10,202603),('2026-03-10',202611,3,2026,10,10,202603),('2026-03-11',202611,3,2026,11,10,202603),('2026-03-12',202611,3,2026,12,10,202603),('2026-03-13',202611,3,2026,13,10,202603),('2026-03-14',202611,3,2026,14,10,202603),('2026-03-15',202612,3,2026,15,11,202603),('2026-03-16',202612,3,2026,16,11,202603),('2026-03-17',202612,3,2026,17,11,202603),('2026-03-18',202612,3,2026,18,11,202603),('2026-03-19',202612,3,2026,19,11,202603),('2026-03-20',202612,3,2026,20,11,202603),('2026-03-21',202612,3,2026,21,11,202603),('2026-03-22',202613,3,2026,22,12,202603),('2026-03-23',202613,3,2026,23,12,202603),('2026-03-24',202613,3,2026,24,12,202603),('2026-03-25',202613,3,2026,25,12,202603),('2026-03-26',202613,3,2026,26,12,202603),('2026-03-27',202613,3,2026,27,12,202603),('2026-03-28',202613,3,2026,28,12,202603),('2026-03-29',202614,3,2026,29,13,202603),('2026-03-30',202614,3,2026,30,13,202603),('2026-03-31',202614,3,2026,31,13,202603),('2026-04-01',202614,4,2026,1,13,202604),('2026-04-02',202614,4,2026,2,13,202604),('2026-04-03',202614,4,2026,3,13,202604),('2026-04-04',202614,4,2026,4,13,202604),('2026-04-05',202615,4,2026,5,14,202604),('2026-04-06',202615,4,2026,6,14,202604),('2026-04-07',202615,4,2026,7,14,202604),('2026-04-08',202615,4,2026,8,14,202604),('2026-04-09',202615,4,2026,9,14,202604),('2026-04-10',202615,4,2026,10,14,202604),('2026-04-11',202615,4,2026,11,14,202604),('2026-04-12',202616,4,2026,12,15,202604),('2026-04-13',202616,4,2026,13,15,202604),('2026-04-14',202616,4,2026,14,15,202604),('2026-04-15',202616,4,2026,15,15,202604),('2026-04-16',202616,4,2026,16,15,202604),('2026-04-17',202616,4,2026,17,15,202604),('2026-04-18',202616,4,2026,18,15,202604),('2026-04-19',202617,4,2026,19,16,202604),('2026-04-20',202617,4,2026,20,16,202604),('2026-04-21',202617,4,2026,21,16,202604),('2026-04-22',202617,4,2026,22,16,202604),('2026-04-23',202617,4,2026,23,16,202604),('2026-04-24',202617,4,2026,24,16,202604),('2026-04-25',202617,4,2026,25,16,202604),('2026-04-26',202618,4,2026,26,17,202604),('2026-04-27',202618,4,2026,27,17,202604),('2026-04-28',202618,4,2026,28,17,202604),('2026-04-29',202618,4,2026,29,17,202604),('2026-04-30',202618,4,2026,30,17,202604),('2026-05-01',202618,5,2026,1,17,202605),('2026-05-02',202618,5,2026,2,17,202605),('2026-05-03',202619,5,2026,3,18,202605),('2026-05-04',202619,5,2026,4,18,202605),('2026-05-05',202619,5,2026,5,18,202605),('2026-05-06',202619,5,2026,6,18,202605),('2026-05-07',202619,5,2026,7,18,202605),('2026-05-08',202619,5,2026,8,18,202605),('2026-05-09',202619,5,2026,9,18,202605),('2026-05-10',202620,5,2026,10,19,202605),('2026-05-11',202620,5,2026,11,19,202605),('2026-05-12',202620,5,2026,12,19,202605),('2026-05-13',202620,5,2026,13,19,202605),('2026-05-14',202620,5,2026,14,19,202605),('2026-05-15',202620,5,2026,15,19,202605),('2026-05-16',202620,5,2026,16,19,202605),('2026-05-17',202621,5,2026,17,20,202605),('2026-05-18',202621,5,2026,18,20,202605),('2026-05-19',202621,5,2026,19,20,202605),('2026-05-20',202621,5,2026,20,20,202605),('2026-05-21',202621,5,2026,21,20,202605),('2026-05-22',202621,5,2026,22,20,202605),('2026-05-23',202621,5,2026,23,20,202605),('2026-05-24',202622,5,2026,24,21,202605),('2026-05-25',202622,5,2026,25,21,202605),('2026-05-26',202622,5,2026,26,21,202605),('2026-05-27',202622,5,2026,27,21,202605),('2026-05-28',202622,5,2026,28,21,202605),('2026-05-29',202622,5,2026,29,21,202605),('2026-05-30',202622,5,2026,30,21,202605),('2026-05-31',202623,5,2026,31,22,202605),('2026-06-01',202623,6,2026,1,22,202606),('2026-06-02',202623,6,2026,2,22,202606),('2026-06-03',202623,6,2026,3,22,202606),('2026-06-04',202623,6,2026,4,22,202606),('2026-06-05',202623,6,2026,5,22,202606),('2026-06-06',202623,6,2026,6,22,202606),('2026-06-07',202624,6,2026,7,23,202606),('2026-06-08',202624,6,2026,8,23,202606),('2026-06-09',202624,6,2026,9,23,202606),('2026-06-10',202624,6,2026,10,23,202606),('2026-06-11',202624,6,2026,11,23,202606),('2026-06-12',202624,6,2026,12,23,202606),('2026-06-13',202624,6,2026,13,23,202606),('2026-06-14',202625,6,2026,14,24,202606),('2026-06-15',202625,6,2026,15,24,202606),('2026-06-16',202625,6,2026,16,24,202606),('2026-06-17',202625,6,2026,17,24,202606),('2026-06-18',202625,6,2026,18,24,202606),('2026-06-19',202625,6,2026,19,24,202606),('2026-06-20',202625,6,2026,20,24,202606),('2026-06-21',202626,6,2026,21,25,202606),('2026-06-22',202626,6,2026,22,25,202606),('2026-06-23',202626,6,2026,23,25,202606),('2026-06-24',202626,6,2026,24,25,202606),('2026-06-25',202626,6,2026,25,25,202606),('2026-06-26',202626,6,2026,26,25,202606),('2026-06-27',202626,6,2026,27,25,202606),('2026-06-28',202627,6,2026,28,26,202606),('2026-06-29',202627,6,2026,29,26,202606),('2026-06-30',202627,6,2026,30,26,202606),('2026-07-01',202627,7,2026,1,26,202607),('2026-07-02',202627,7,2026,2,26,202607),('2026-07-03',202627,7,2026,3,26,202607),('2026-07-04',202627,7,2026,4,26,202607),('2026-07-05',202628,7,2026,5,27,202607),('2026-07-06',202628,7,2026,6,27,202607),('2026-07-07',202628,7,2026,7,27,202607),('2026-07-08',202628,7,2026,8,27,202607),('2026-07-09',202628,7,2026,9,27,202607),('2026-07-10',202628,7,2026,10,27,202607),('2026-07-11',202628,7,2026,11,27,202607),('2026-07-12',202629,7,2026,12,28,202607),('2026-07-13',202629,7,2026,13,28,202607),('2026-07-14',202629,7,2026,14,28,202607),('2026-07-15',202629,7,2026,15,28,202607),('2026-07-16',202629,7,2026,16,28,202607),('2026-07-17',202629,7,2026,17,28,202607),('2026-07-18',202629,7,2026,18,28,202607),('2026-07-19',202630,7,2026,19,29,202607),('2026-07-20',202630,7,2026,20,29,202607),('2026-07-21',202630,7,2026,21,29,202607),('2026-07-22',202630,7,2026,22,29,202607),('2026-07-23',202630,7,2026,23,29,202607),('2026-07-24',202630,7,2026,24,29,202607),('2026-07-25',202630,7,2026,25,29,202607),('2026-07-26',202631,7,2026,26,30,202607),('2026-07-27',202631,7,2026,27,30,202607),('2026-07-28',202631,7,2026,28,30,202607),('2026-07-29',202631,7,2026,29,30,202607),('2026-07-30',202631,7,2026,30,30,202607),('2026-07-31',202631,7,2026,31,30,202607),('2026-08-01',202631,8,2026,1,30,202608),('2026-08-02',202632,8,2026,2,31,202608),('2026-08-03',202632,8,2026,3,31,202608),('2026-08-04',202632,8,2026,4,31,202608),('2026-08-05',202632,8,2026,5,31,202608),('2026-08-06',202632,8,2026,6,31,202608),('2026-08-07',202632,8,2026,7,31,202608),('2026-08-08',202632,8,2026,8,31,202608),('2026-08-09',202633,8,2026,9,32,202608),('2026-08-10',202633,8,2026,10,32,202608),('2026-08-11',202633,8,2026,11,32,202608),('2026-08-12',202633,8,2026,12,32,202608),('2026-08-13',202633,8,2026,13,32,202608),('2026-08-14',202633,8,2026,14,32,202608),('2026-08-15',202633,8,2026,15,32,202608),('2026-08-16',202634,8,2026,16,33,202608),('2026-08-17',202634,8,2026,17,33,202608),('2026-08-18',202634,8,2026,18,33,202608),('2026-08-19',202634,8,2026,19,33,202608),('2026-08-20',202634,8,2026,20,33,202608),('2026-08-21',202634,8,2026,21,33,202608),('2026-08-22',202634,8,2026,22,33,202608),('2026-08-23',202635,8,2026,23,34,202608),('2026-08-24',202635,8,2026,24,34,202608),('2026-08-25',202635,8,2026,25,34,202608),('2026-08-26',202635,8,2026,26,34,202608),('2026-08-27',202635,8,2026,27,34,202608),('2026-08-28',202635,8,2026,28,34,202608),('2026-08-29',202635,8,2026,29,34,202608),('2026-08-30',202636,8,2026,30,35,202608),('2026-08-31',202636,8,2026,31,35,202608),('2026-09-01',202636,9,2026,1,35,202609),('2026-09-02',202636,9,2026,2,35,202609),('2026-09-03',202636,9,2026,3,35,202609),('2026-09-04',202636,9,2026,4,35,202609),('2026-09-05',202636,9,2026,5,35,202609),('2026-09-06',202637,9,2026,6,36,202609),('2026-09-07',202637,9,2026,7,36,202609),('2026-09-08',202637,9,2026,8,36,202609),('2026-09-09',202637,9,2026,9,36,202609),('2026-09-10',202637,9,2026,10,36,202609),('2026-09-11',202637,9,2026,11,36,202609),('2026-09-12',202637,9,2026,12,36,202609),('2026-09-13',202638,9,2026,13,37,202609),('2026-09-14',202638,9,2026,14,37,202609),('2026-09-15',202638,9,2026,15,37,202609),('2026-09-16',202638,9,2026,16,37,202609),('2026-09-17',202638,9,2026,17,37,202609),('2026-09-18',202638,9,2026,18,37,202609),('2026-09-19',202638,9,2026,19,37,202609),('2026-09-20',202639,9,2026,20,38,202609),('2026-09-21',202639,9,2026,21,38,202609),('2026-09-22',202639,9,2026,22,38,202609),('2026-09-23',202639,9,2026,23,38,202609),('2026-09-24',202639,9,2026,24,38,202609),('2026-09-25',202639,9,2026,25,38,202609),('2026-09-26',202639,9,2026,26,38,202609),('2026-09-27',202640,9,2026,27,39,202609),('2026-09-28',202640,9,2026,28,39,202609),('2026-09-29',202640,9,2026,29,39,202609),('2026-09-30',202640,9,2026,30,39,202609),('2026-10-01',202640,10,2026,1,39,202610),('2026-10-02',202640,10,2026,2,39,202610),('2026-10-03',202640,10,2026,3,39,202610),('2026-10-04',202641,10,2026,4,40,202610),('2026-10-05',202641,10,2026,5,40,202610),('2026-10-06',202641,10,2026,6,40,202610),('2026-10-07',202641,10,2026,7,40,202610),('2026-10-08',202641,10,2026,8,40,202610),('2026-10-09',202641,10,2026,9,40,202610),('2026-10-10',202641,10,2026,10,40,202610),('2026-10-11',202642,10,2026,11,41,202610),('2026-10-12',202642,10,2026,12,41,202610),('2026-10-13',202642,10,2026,13,41,202610),('2026-10-14',202642,10,2026,14,41,202610),('2026-10-15',202642,10,2026,15,41,202610),('2026-10-16',202642,10,2026,16,41,202610),('2026-10-17',202642,10,2026,17,41,202610),('2026-10-18',202643,10,2026,18,42,202610),('2026-10-19',202643,10,2026,19,42,202610),('2026-10-20',202643,10,2026,20,42,202610),('2026-10-21',202643,10,2026,21,42,202610),('2026-10-22',202643,10,2026,22,42,202610),('2026-10-23',202643,10,2026,23,42,202610),('2026-10-24',202643,10,2026,24,42,202610),('2026-10-25',202644,10,2026,25,43,202610),('2026-10-26',202644,10,2026,26,43,202610),('2026-10-27',202644,10,2026,27,43,202610),('2026-10-28',202644,10,2026,28,43,202610),('2026-10-29',202644,10,2026,29,43,202610),('2026-10-30',202644,10,2026,30,43,202610),('2026-10-31',202644,10,2026,31,43,202610),('2026-11-01',202645,11,2026,1,44,202611),('2026-11-02',202645,11,2026,2,44,202611),('2026-11-03',202645,11,2026,3,44,202611),('2026-11-04',202645,11,2026,4,44,202611),('2026-11-05',202645,11,2026,5,44,202611),('2026-11-06',202645,11,2026,6,44,202611),('2026-11-07',202645,11,2026,7,44,202611),('2026-11-08',202646,11,2026,8,45,202611),('2026-11-09',202646,11,2026,9,45,202611),('2026-11-10',202646,11,2026,10,45,202611),('2026-11-11',202646,11,2026,11,45,202611),('2026-11-12',202646,11,2026,12,45,202611),('2026-11-13',202646,11,2026,13,45,202611),('2026-11-14',202646,11,2026,14,45,202611),('2026-11-15',202647,11,2026,15,46,202611),('2026-11-16',202647,11,2026,16,46,202611),('2026-11-17',202647,11,2026,17,46,202611),('2026-11-18',202647,11,2026,18,46,202611),('2026-11-19',202647,11,2026,19,46,202611),('2026-11-20',202647,11,2026,20,46,202611),('2026-11-21',202647,11,2026,21,46,202611),('2026-11-22',202648,11,2026,22,47,202611),('2026-11-23',202648,11,2026,23,47,202611),('2026-11-24',202648,11,2026,24,47,202611),('2026-11-25',202648,11,2026,25,47,202611),('2026-11-26',202648,11,2026,26,47,202611),('2026-11-27',202648,11,2026,27,47,202611),('2026-11-28',202648,11,2026,28,47,202611),('2026-11-29',202649,11,2026,29,48,202611),('2026-11-30',202649,11,2026,30,48,202611),('2026-12-01',202649,12,2026,1,48,202612),('2026-12-02',202649,12,2026,2,48,202612),('2026-12-03',202649,12,2026,3,48,202612),('2026-12-04',202649,12,2026,4,48,202612),('2026-12-05',202649,12,2026,5,48,202612),('2026-12-06',202650,12,2026,6,49,202612),('2026-12-07',202650,12,2026,7,49,202612),('2026-12-08',202650,12,2026,8,49,202612),('2026-12-09',202650,12,2026,9,49,202612),('2026-12-10',202650,12,2026,10,49,202612),('2026-12-11',202650,12,2026,11,49,202612),('2026-12-12',202650,12,2026,12,49,202612),('2026-12-13',202651,12,2026,13,50,202612),('2026-12-14',202651,12,2026,14,50,202612),('2026-12-15',202651,12,2026,15,50,202612),('2026-12-16',202651,12,2026,16,50,202612),('2026-12-17',202651,12,2026,17,50,202612),('2026-12-18',202651,12,2026,18,50,202612),('2026-12-19',202651,12,2026,19,50,202612),('2026-12-20',202652,12,2026,20,51,202612),('2026-12-21',202652,12,2026,21,51,202612),('2026-12-22',202652,12,2026,22,51,202612),('2026-12-23',202652,12,2026,23,51,202612),('2026-12-24',202652,12,2026,24,51,202612),('2026-12-25',202652,12,2026,25,51,202612),('2026-12-26',202652,12,2026,26,51,202612),('2026-12-27',202653,12,2026,27,52,202612),('2026-12-28',202653,12,2026,28,52,202612),('2026-12-29',202653,12,2026,29,52,202612),('2026-12-30',202653,12,2026,30,52,202612),('2026-12-31',202653,12,2026,31,52,202612),('2027-01-01',202753,1,2027,1,52,202701),('2027-01-02',202753,1,2027,2,52,202701),('2027-01-03',202754,1,2027,3,1,202701),('2027-01-04',202701,1,2027,4,1,202701),('2027-01-05',202701,1,2027,5,1,202701),('2027-01-06',202701,1,2027,6,1,202701),('2027-01-07',202701,1,2027,7,1,202701),('2027-01-08',202701,1,2027,8,1,202701),('2027-01-09',202701,1,2027,9,1,202701),('2027-01-10',202702,1,2027,10,2,202701),('2027-01-11',202702,1,2027,11,2,202701),('2027-01-12',202702,1,2027,12,2,202701),('2027-01-13',202702,1,2027,13,2,202701),('2027-01-14',202702,1,2027,14,2,202701),('2027-01-15',202702,1,2027,15,2,202701),('2027-01-16',202702,1,2027,16,2,202701),('2027-01-17',202703,1,2027,17,3,202701),('2027-01-18',202703,1,2027,18,3,202701),('2027-01-19',202703,1,2027,19,3,202701),('2027-01-20',202703,1,2027,20,3,202701),('2027-01-21',202703,1,2027,21,3,202701),('2027-01-22',202703,1,2027,22,3,202701),('2027-01-23',202703,1,2027,23,3,202701),('2027-01-24',202704,1,2027,24,4,202701),('2027-01-25',202704,1,2027,25,4,202701),('2027-01-26',202704,1,2027,26,4,202701),('2027-01-27',202704,1,2027,27,4,202701),('2027-01-28',202704,1,2027,28,4,202701),('2027-01-29',202704,1,2027,29,4,202701),('2027-01-30',202704,1,2027,30,4,202701),('2027-01-31',202705,1,2027,31,5,202701),('2027-02-01',202705,2,2027,1,5,202702),('2027-02-02',202705,2,2027,2,5,202702),('2027-02-03',202705,2,2027,3,5,202702),('2027-02-04',202705,2,2027,4,5,202702),('2027-02-05',202705,2,2027,5,5,202702),('2027-02-06',202705,2,2027,6,5,202702),('2027-02-07',202706,2,2027,7,6,202702),('2027-02-08',202706,2,2027,8,6,202702),('2027-02-09',202706,2,2027,9,6,202702),('2027-02-10',202706,2,2027,10,6,202702),('2027-02-11',202706,2,2027,11,6,202702),('2027-02-12',202706,2,2027,12,6,202702),('2027-02-13',202706,2,2027,13,6,202702),('2027-02-14',202707,2,2027,14,7,202702),('2027-02-15',202707,2,2027,15,7,202702),('2027-02-16',202707,2,2027,16,7,202702),('2027-02-17',202707,2,2027,17,7,202702),('2027-02-18',202707,2,2027,18,7,202702),('2027-02-19',202707,2,2027,19,7,202702),('2027-02-20',202707,2,2027,20,7,202702),('2027-02-21',202708,2,2027,21,8,202702),('2027-02-22',202708,2,2027,22,8,202702),('2027-02-23',202708,2,2027,23,8,202702),('2027-02-24',202708,2,2027,24,8,202702),('2027-02-25',202708,2,2027,25,8,202702),('2027-02-26',202708,2,2027,26,8,202702),('2027-02-27',202708,2,2027,27,8,202702),('2027-02-28',202709,2,2027,28,9,202702),('2027-03-01',202709,3,2027,1,9,202703),('2027-03-02',202709,3,2027,2,9,202703),('2027-03-03',202709,3,2027,3,9,202703),('2027-03-04',202709,3,2027,4,9,202703),('2027-03-05',202709,3,2027,5,9,202703),('2027-03-06',202709,3,2027,6,9,202703),('2027-03-07',202710,3,2027,7,10,202703),('2027-03-08',202710,3,2027,8,10,202703),('2027-03-09',202710,3,2027,9,10,202703),('2027-03-10',202710,3,2027,10,10,202703),('2027-03-11',202710,3,2027,11,10,202703),('2027-03-12',202710,3,2027,12,10,202703),('2027-03-13',202710,3,2027,13,10,202703),('2027-03-14',202711,3,2027,14,11,202703),('2027-03-15',202711,3,2027,15,11,202703),('2027-03-16',202711,3,2027,16,11,202703),('2027-03-17',202711,3,2027,17,11,202703),('2027-03-18',202711,3,2027,18,11,202703),('2027-03-19',202711,3,2027,19,11,202703),('2027-03-20',202711,3,2027,20,11,202703),('2027-03-21',202712,3,2027,21,12,202703),('2027-03-22',202712,3,2027,22,12,202703),('2027-03-23',202712,3,2027,23,12,202703),('2027-03-24',202712,3,2027,24,12,202703),('2027-03-25',202712,3,2027,25,12,202703),('2027-03-26',202712,3,2027,26,12,202703),('2027-03-27',202712,3,2027,27,12,202703),('2027-03-28',202713,3,2027,28,13,202703),('2027-03-29',202713,3,2027,29,13,202703),('2027-03-30',202713,3,2027,30,13,202703),('2027-03-31',202713,3,2027,31,13,202703),('2027-04-01',202713,4,2027,1,13,202704),('2027-04-02',202713,4,2027,2,13,202704),('2027-04-03',202713,4,2027,3,13,202704),('2027-04-04',202714,4,2027,4,14,202704),('2027-04-05',202714,4,2027,5,14,202704),('2027-04-06',202714,4,2027,6,14,202704),('2027-04-07',202714,4,2027,7,14,202704),('2027-04-08',202714,4,2027,8,14,202704),('2027-04-09',202714,4,2027,9,14,202704),('2027-04-10',202714,4,2027,10,14,202704),('2027-04-11',202715,4,2027,11,15,202704),('2027-04-12',202715,4,2027,12,15,202704),('2027-04-13',202715,4,2027,13,15,202704),('2027-04-14',202715,4,2027,14,15,202704),('2027-04-15',202715,4,2027,15,15,202704),('2027-04-16',202715,4,2027,16,15,202704),('2027-04-17',202715,4,2027,17,15,202704),('2027-04-18',202716,4,2027,18,16,202704),('2027-04-19',202716,4,2027,19,16,202704),('2027-04-20',202716,4,2027,20,16,202704),('2027-04-21',202716,4,2027,21,16,202704),('2027-04-22',202716,4,2027,22,16,202704),('2027-04-23',202716,4,2027,23,16,202704),('2027-04-24',202716,4,2027,24,16,202704),('2027-04-25',202717,4,2027,25,17,202704),('2027-04-26',202717,4,2027,26,17,202704),('2027-04-27',202717,4,2027,27,17,202704),('2027-04-28',202717,4,2027,28,17,202704),('2027-04-29',202717,4,2027,29,17,202704),('2027-04-30',202717,4,2027,30,17,202704),('2027-05-01',202717,5,2027,1,17,202705),('2027-05-02',202718,5,2027,2,18,202705),('2027-05-03',202718,5,2027,3,18,202705),('2027-05-04',202718,5,2027,4,18,202705),('2027-05-05',202718,5,2027,5,18,202705),('2027-05-06',202718,5,2027,6,18,202705),('2027-05-07',202718,5,2027,7,18,202705),('2027-05-08',202718,5,2027,8,18,202705),('2027-05-09',202719,5,2027,9,19,202705),('2027-05-10',202719,5,2027,10,19,202705),('2027-05-11',202719,5,2027,11,19,202705),('2027-05-12',202719,5,2027,12,19,202705),('2027-05-13',202719,5,2027,13,19,202705),('2027-05-14',202719,5,2027,14,19,202705),('2027-05-15',202719,5,2027,15,19,202705),('2027-05-16',202720,5,2027,16,20,202705),('2027-05-17',202720,5,2027,17,20,202705),('2027-05-18',202720,5,2027,18,20,202705),('2027-05-19',202720,5,2027,19,20,202705),('2027-05-20',202720,5,2027,20,20,202705),('2027-05-21',202720,5,2027,21,20,202705),('2027-05-22',202720,5,2027,22,20,202705),('2027-05-23',202721,5,2027,23,21,202705),('2027-05-24',202721,5,2027,24,21,202705),('2027-05-25',202721,5,2027,25,21,202705),('2027-05-26',202721,5,2027,26,21,202705),('2027-05-27',202721,5,2027,27,21,202705),('2027-05-28',202721,5,2027,28,21,202705),('2027-05-29',202721,5,2027,29,21,202705),('2027-05-30',202722,5,2027,30,22,202705),('2027-05-31',202722,5,2027,31,22,202705),('2027-06-01',202722,6,2027,1,22,202706),('2027-06-02',202722,6,2027,2,22,202706),('2027-06-03',202722,6,2027,3,22,202706),('2027-06-04',202722,6,2027,4,22,202706),('2027-06-05',202722,6,2027,5,22,202706),('2027-06-06',202723,6,2027,6,23,202706),('2027-06-07',202723,6,2027,7,23,202706),('2027-06-08',202723,6,2027,8,23,202706),('2027-06-09',202723,6,2027,9,23,202706),('2027-06-10',202723,6,2027,10,23,202706),('2027-06-11',202723,6,2027,11,23,202706),('2027-06-12',202723,6,2027,12,23,202706),('2027-06-13',202724,6,2027,13,24,202706),('2027-06-14',202724,6,2027,14,24,202706),('2027-06-15',202724,6,2027,15,24,202706),('2027-06-16',202724,6,2027,16,24,202706),('2027-06-17',202724,6,2027,17,24,202706),('2027-06-18',202724,6,2027,18,24,202706),('2027-06-19',202724,6,2027,19,24,202706),('2027-06-20',202725,6,2027,20,25,202706),('2027-06-21',202725,6,2027,21,25,202706),('2027-06-22',202725,6,2027,22,25,202706),('2027-06-23',202725,6,2027,23,25,202706),('2027-06-24',202725,6,2027,24,25,202706),('2027-06-25',202725,6,2027,25,25,202706),('2027-06-26',202725,6,2027,26,25,202706),('2027-06-27',202726,6,2027,27,26,202706),('2027-06-28',202726,6,2027,28,26,202706),('2027-06-29',202726,6,2027,29,26,202706),('2027-06-30',202726,6,2027,30,26,202706),('2027-07-01',202726,7,2027,1,26,202707),('2027-07-02',202726,7,2027,2,26,202707),('2027-07-03',202726,7,2027,3,26,202707),('2027-07-04',202727,7,2027,4,27,202707),('2027-07-05',202727,7,2027,5,27,202707),('2027-07-06',202727,7,2027,6,27,202707),('2027-07-07',202727,7,2027,7,27,202707),('2027-07-08',202727,7,2027,8,27,202707),('2027-07-09',202727,7,2027,9,27,202707),('2027-07-10',202727,7,2027,10,27,202707),('2027-07-11',202728,7,2027,11,28,202707),('2027-07-12',202728,7,2027,12,28,202707),('2027-07-13',202728,7,2027,13,28,202707),('2027-07-14',202728,7,2027,14,28,202707),('2027-07-15',202728,7,2027,15,28,202707),('2027-07-16',202728,7,2027,16,28,202707),('2027-07-17',202728,7,2027,17,28,202707),('2027-07-18',202729,7,2027,18,29,202707),('2027-07-19',202729,7,2027,19,29,202707),('2027-07-20',202729,7,2027,20,29,202707),('2027-07-21',202729,7,2027,21,29,202707),('2027-07-22',202729,7,2027,22,29,202707),('2027-07-23',202729,7,2027,23,29,202707),('2027-07-24',202729,7,2027,24,29,202707),('2027-07-25',202730,7,2027,25,30,202707),('2027-07-26',202730,7,2027,26,30,202707),('2027-07-27',202730,7,2027,27,30,202707),('2027-07-28',202730,7,2027,28,30,202707),('2027-07-29',202730,7,2027,29,30,202707),('2027-07-30',202730,7,2027,30,30,202707),('2027-07-31',202730,7,2027,31,30,202707),('2027-08-01',202731,8,2027,1,31,202708),('2027-08-02',202731,8,2027,2,31,202708),('2027-08-03',202731,8,2027,3,31,202708),('2027-08-04',202731,8,2027,4,31,202708),('2027-08-05',202731,8,2027,5,31,202708),('2027-08-06',202731,8,2027,6,31,202708),('2027-08-07',202731,8,2027,7,31,202708),('2027-08-08',202732,8,2027,8,32,202708),('2027-08-09',202732,8,2027,9,32,202708),('2027-08-10',202732,8,2027,10,32,202708),('2027-08-11',202732,8,2027,11,32,202708),('2027-08-12',202732,8,2027,12,32,202708),('2027-08-13',202732,8,2027,13,32,202708),('2027-08-14',202732,8,2027,14,32,202708),('2027-08-15',202733,8,2027,15,33,202708),('2027-08-16',202733,8,2027,16,33,202708),('2027-08-17',202733,8,2027,17,33,202708),('2027-08-18',202733,8,2027,18,33,202708),('2027-08-19',202733,8,2027,19,33,202708),('2027-08-20',202733,8,2027,20,33,202708),('2027-08-21',202733,8,2027,21,33,202708),('2027-08-22',202734,8,2027,22,34,202708),('2027-08-23',202734,8,2027,23,34,202708),('2027-08-24',202734,8,2027,24,34,202708),('2027-08-25',202734,8,2027,25,34,202708),('2027-08-26',202734,8,2027,26,34,202708),('2027-08-27',202734,8,2027,27,34,202708),('2027-08-28',202734,8,2027,28,34,202708),('2027-08-29',202735,8,2027,29,35,202708),('2027-08-30',202735,8,2027,30,35,202708),('2027-08-31',202735,8,2027,31,35,202708),('2027-09-01',202735,9,2027,1,35,202709),('2027-09-02',202735,9,2027,2,35,202709),('2027-09-03',202735,9,2027,3,35,202709),('2027-09-04',202735,9,2027,4,35,202709),('2027-09-05',202736,9,2027,5,36,202709),('2027-09-06',202736,9,2027,6,36,202709),('2027-09-07',202736,9,2027,7,36,202709),('2027-09-08',202736,9,2027,8,36,202709),('2027-09-09',202736,9,2027,9,36,202709),('2027-09-10',202736,9,2027,10,36,202709),('2027-09-11',202736,9,2027,11,36,202709),('2027-09-12',202737,9,2027,12,37,202709),('2027-09-13',202737,9,2027,13,37,202709),('2027-09-14',202737,9,2027,14,37,202709),('2027-09-15',202737,9,2027,15,37,202709),('2027-09-16',202737,9,2027,16,37,202709),('2027-09-17',202737,9,2027,17,37,202709),('2027-09-18',202737,9,2027,18,37,202709),('2027-09-19',202738,9,2027,19,38,202709),('2027-09-20',202738,9,2027,20,38,202709),('2027-09-21',202738,9,2027,21,38,202709),('2027-09-22',202738,9,2027,22,38,202709),('2027-09-23',202738,9,2027,23,38,202709),('2027-09-24',202738,9,2027,24,38,202709),('2027-09-25',202738,9,2027,25,38,202709),('2027-09-26',202739,9,2027,26,39,202709),('2027-09-27',202739,9,2027,27,39,202709),('2027-09-28',202739,9,2027,28,39,202709),('2027-09-29',202739,9,2027,29,39,202709),('2027-09-30',202739,9,2027,30,39,202709),('2027-10-01',202739,10,2027,1,39,202710),('2027-10-02',202739,10,2027,2,39,202710),('2027-10-03',202740,10,2027,3,40,202710),('2027-10-04',202740,10,2027,4,40,202710),('2027-10-05',202740,10,2027,5,40,202710),('2027-10-06',202740,10,2027,6,40,202710),('2027-10-07',202740,10,2027,7,40,202710),('2027-10-08',202740,10,2027,8,40,202710),('2027-10-09',202740,10,2027,9,40,202710),('2027-10-10',202741,10,2027,10,41,202710),('2027-10-11',202741,10,2027,11,41,202710),('2027-10-12',202741,10,2027,12,41,202710),('2027-10-13',202741,10,2027,13,41,202710),('2027-10-14',202741,10,2027,14,41,202710),('2027-10-15',202741,10,2027,15,41,202710),('2027-10-16',202741,10,2027,16,41,202710),('2027-10-17',202742,10,2027,17,42,202710),('2027-10-18',202742,10,2027,18,42,202710),('2027-10-19',202742,10,2027,19,42,202710),('2027-10-20',202742,10,2027,20,42,202710),('2027-10-21',202742,10,2027,21,42,202710),('2027-10-22',202742,10,2027,22,42,202710),('2027-10-23',202742,10,2027,23,42,202710),('2027-10-24',202743,10,2027,24,43,202710),('2027-10-25',202743,10,2027,25,43,202710),('2027-10-26',202743,10,2027,26,43,202710),('2027-10-27',202743,10,2027,27,43,202710),('2027-10-28',202743,10,2027,28,43,202710),('2027-10-29',202743,10,2027,29,43,202710),('2027-10-30',202743,10,2027,30,43,202710),('2027-10-31',202744,10,2027,31,44,202710),('2027-11-01',202744,11,2027,1,44,202711),('2027-11-02',202744,11,2027,2,44,202711),('2027-11-03',202744,11,2027,3,44,202711),('2027-11-04',202744,11,2027,4,44,202711),('2027-11-05',202744,11,2027,5,44,202711),('2027-11-06',202744,11,2027,6,44,202711),('2027-11-07',202745,11,2027,7,45,202711),('2027-11-08',202745,11,2027,8,45,202711),('2027-11-09',202745,11,2027,9,45,202711),('2027-11-10',202745,11,2027,10,45,202711),('2027-11-11',202745,11,2027,11,45,202711),('2027-11-12',202745,11,2027,12,45,202711),('2027-11-13',202745,11,2027,13,45,202711),('2027-11-14',202746,11,2027,14,46,202711),('2027-11-15',202746,11,2027,15,46,202711),('2027-11-16',202746,11,2027,16,46,202711),('2027-11-17',202746,11,2027,17,46,202711),('2027-11-18',202746,11,2027,18,46,202711),('2027-11-19',202746,11,2027,19,46,202711),('2027-11-20',202746,11,2027,20,46,202711),('2027-11-21',202747,11,2027,21,47,202711),('2027-11-22',202747,11,2027,22,47,202711),('2027-11-23',202747,11,2027,23,47,202711),('2027-11-24',202747,11,2027,24,47,202711),('2027-11-25',202747,11,2027,25,47,202711),('2027-11-26',202747,11,2027,26,47,202711),('2027-11-27',202747,11,2027,27,47,202711),('2027-11-28',202748,11,2027,28,48,202711),('2027-11-29',202748,11,2027,29,48,202711),('2027-11-30',202748,11,2027,30,48,202711),('2027-12-01',202748,12,2027,1,48,202712),('2027-12-02',202748,12,2027,2,48,202712),('2027-12-03',202748,12,2027,3,48,202712),('2027-12-04',202748,12,2027,4,48,202712),('2027-12-05',202749,12,2027,5,49,202712),('2027-12-06',202749,12,2027,6,49,202712),('2027-12-07',202749,12,2027,7,49,202712),('2027-12-08',202749,12,2027,8,49,202712),('2027-12-09',202749,12,2027,9,49,202712),('2027-12-10',202749,12,2027,10,49,202712),('2027-12-11',202749,12,2027,11,49,202712),('2027-12-12',202750,12,2027,12,50,202712),('2027-12-13',202750,12,2027,13,50,202712),('2027-12-14',202750,12,2027,14,50,202712),('2027-12-15',202750,12,2027,15,50,202712),('2027-12-16',202750,12,2027,16,50,202712),('2027-12-17',202750,12,2027,17,50,202712),('2027-12-18',202750,12,2027,18,50,202712),('2027-12-19',202751,12,2027,19,51,202712),('2027-12-20',202751,12,2027,20,51,202712),('2027-12-21',202751,12,2027,21,51,202712),('2027-12-22',202751,12,2027,22,51,202712),('2027-12-23',202751,12,2027,23,51,202712),('2027-12-24',202751,12,2027,24,51,202712),('2027-12-25',202751,12,2027,25,51,202712),('2027-12-26',202752,12,2027,26,52,202712),('2027-12-27',202752,12,2027,27,52,202712),('2027-12-28',202752,12,2027,28,52,202712),('2027-12-29',202752,12,2027,29,52,202712),('2027-12-30',202752,12,2027,30,52,202712),('2027-12-31',202752,12,2027,31,52,202712),('2028-01-01',202852,1,2028,1,52,202801),('2028-01-02',202853,1,2028,2,1,202801),('2028-01-03',202801,1,2028,3,1,202801),('2028-01-04',202801,1,2028,4,1,202801),('2028-01-05',202801,1,2028,5,1,202801),('2028-01-06',202801,1,2028,6,1,202801),('2028-01-07',202801,1,2028,7,1,202801),('2028-01-08',202801,1,2028,8,1,202801),('2028-01-09',202802,1,2028,9,2,202801),('2028-01-10',202802,1,2028,10,2,202801),('2028-01-11',202802,1,2028,11,2,202801),('2028-01-12',202802,1,2028,12,2,202801),('2028-01-13',202802,1,2028,13,2,202801),('2028-01-14',202802,1,2028,14,2,202801),('2028-01-15',202802,1,2028,15,2,202801),('2028-01-16',202803,1,2028,16,3,202801),('2028-01-17',202803,1,2028,17,3,202801),('2028-01-18',202803,1,2028,18,3,202801),('2028-01-19',202803,1,2028,19,3,202801),('2028-01-20',202803,1,2028,20,3,202801),('2028-01-21',202803,1,2028,21,3,202801),('2028-01-22',202803,1,2028,22,3,202801),('2028-01-23',202804,1,2028,23,4,202801),('2028-01-24',202804,1,2028,24,4,202801),('2028-01-25',202804,1,2028,25,4,202801),('2028-01-26',202804,1,2028,26,4,202801),('2028-01-27',202804,1,2028,27,4,202801),('2028-01-28',202804,1,2028,28,4,202801),('2028-01-29',202804,1,2028,29,4,202801),('2028-01-30',202805,1,2028,30,5,202801),('2028-01-31',202805,1,2028,31,5,202801),('2028-02-01',202805,2,2028,1,5,202802),('2028-02-02',202805,2,2028,2,5,202802),('2028-02-03',202805,2,2028,3,5,202802),('2028-02-04',202805,2,2028,4,5,202802),('2028-02-05',202805,2,2028,5,5,202802),('2028-02-06',202806,2,2028,6,6,202802),('2028-02-07',202806,2,2028,7,6,202802),('2028-02-08',202806,2,2028,8,6,202802),('2028-02-09',202806,2,2028,9,6,202802),('2028-02-10',202806,2,2028,10,6,202802),('2028-02-11',202806,2,2028,11,6,202802),('2028-02-12',202806,2,2028,12,6,202802),('2028-02-13',202807,2,2028,13,7,202802),('2028-02-14',202807,2,2028,14,7,202802),('2028-02-15',202807,2,2028,15,7,202802),('2028-02-16',202807,2,2028,16,7,202802),('2028-02-17',202807,2,2028,17,7,202802),('2028-02-18',202807,2,2028,18,7,202802),('2028-02-19',202807,2,2028,19,7,202802),('2028-02-20',202808,2,2028,20,8,202802),('2028-02-21',202808,2,2028,21,8,202802),('2028-02-22',202808,2,2028,22,8,202802),('2028-02-23',202808,2,2028,23,8,202802),('2028-02-24',202808,2,2028,24,8,202802),('2028-02-25',202808,2,2028,25,8,202802),('2028-02-26',202808,2,2028,26,8,202802),('2028-02-27',202809,2,2028,27,9,202802),('2028-02-28',202809,2,2028,28,9,202802),('2028-02-29',202809,2,2028,29,9,202802),('2028-03-01',202809,3,2028,1,9,202803),('2028-03-02',202809,3,2028,2,9,202803),('2028-03-03',202809,3,2028,3,9,202803),('2028-03-04',202809,3,2028,4,9,202803),('2028-03-05',202810,3,2028,5,10,202803),('2028-03-06',202810,3,2028,6,10,202803),('2028-03-07',202810,3,2028,7,10,202803),('2028-03-08',202810,3,2028,8,10,202803),('2028-03-09',202810,3,2028,9,10,202803),('2028-03-10',202810,3,2028,10,10,202803),('2028-03-11',202810,3,2028,11,10,202803),('2028-03-12',202811,3,2028,12,11,202803),('2028-03-13',202811,3,2028,13,11,202803),('2028-03-14',202811,3,2028,14,11,202803),('2028-03-15',202811,3,2028,15,11,202803),('2028-03-16',202811,3,2028,16,11,202803),('2028-03-17',202811,3,2028,17,11,202803),('2028-03-18',202811,3,2028,18,11,202803),('2028-03-19',202812,3,2028,19,12,202803),('2028-03-20',202812,3,2028,20,12,202803),('2028-03-21',202812,3,2028,21,12,202803),('2028-03-22',202812,3,2028,22,12,202803),('2028-03-23',202812,3,2028,23,12,202803),('2028-03-24',202812,3,2028,24,12,202803),('2028-03-25',202812,3,2028,25,12,202803),('2028-03-26',202813,3,2028,26,13,202803),('2028-03-27',202813,3,2028,27,13,202803),('2028-03-28',202813,3,2028,28,13,202803),('2028-03-29',202813,3,2028,29,13,202803),('2028-03-30',202813,3,2028,30,13,202803),('2028-03-31',202813,3,2028,31,13,202803),('2028-04-01',202813,4,2028,1,13,202804),('2028-04-02',202814,4,2028,2,14,202804),('2028-04-03',202814,4,2028,3,14,202804),('2028-04-04',202814,4,2028,4,14,202804),('2028-04-05',202814,4,2028,5,14,202804),('2028-04-06',202814,4,2028,6,14,202804),('2028-04-07',202814,4,2028,7,14,202804),('2028-04-08',202814,4,2028,8,14,202804),('2028-04-09',202815,4,2028,9,15,202804),('2028-04-10',202815,4,2028,10,15,202804),('2028-04-11',202815,4,2028,11,15,202804),('2028-04-12',202815,4,2028,12,15,202804),('2028-04-13',202815,4,2028,13,15,202804),('2028-04-14',202815,4,2028,14,15,202804),('2028-04-15',202815,4,2028,15,15,202804),('2028-04-16',202816,4,2028,16,16,202804),('2028-04-17',202816,4,2028,17,16,202804),('2028-04-18',202816,4,2028,18,16,202804),('2028-04-19',202816,4,2028,19,16,202804),('2028-04-20',202816,4,2028,20,16,202804),('2028-04-21',202816,4,2028,21,16,202804),('2028-04-22',202816,4,2028,22,16,202804),('2028-04-23',202817,4,2028,23,17,202804),('2028-04-24',202817,4,2028,24,17,202804),('2028-04-25',202817,4,2028,25,17,202804),('2028-04-26',202817,4,2028,26,17,202804),('2028-04-27',202817,4,2028,27,17,202804),('2028-04-28',202817,4,2028,28,17,202804),('2028-04-29',202817,4,2028,29,17,202804),('2028-04-30',202818,4,2028,30,18,202804),('2028-05-01',202818,5,2028,1,18,202805),('2028-05-02',202818,5,2028,2,18,202805),('2028-05-03',202818,5,2028,3,18,202805),('2028-05-04',202818,5,2028,4,18,202805),('2028-05-05',202818,5,2028,5,18,202805),('2028-05-06',202818,5,2028,6,18,202805),('2028-05-07',202819,5,2028,7,19,202805),('2028-05-08',202819,5,2028,8,19,202805),('2028-05-09',202819,5,2028,9,19,202805),('2028-05-10',202819,5,2028,10,19,202805),('2028-05-11',202819,5,2028,11,19,202805),('2028-05-12',202819,5,2028,12,19,202805),('2028-05-13',202819,5,2028,13,19,202805),('2028-05-14',202820,5,2028,14,20,202805),('2028-05-15',202820,5,2028,15,20,202805),('2028-05-16',202820,5,2028,16,20,202805),('2028-05-17',202820,5,2028,17,20,202805),('2028-05-18',202820,5,2028,18,20,202805),('2028-05-19',202820,5,2028,19,20,202805),('2028-05-20',202820,5,2028,20,20,202805),('2028-05-21',202821,5,2028,21,21,202805),('2028-05-22',202821,5,2028,22,21,202805),('2028-05-23',202821,5,2028,23,21,202805),('2028-05-24',202821,5,2028,24,21,202805),('2028-05-25',202821,5,2028,25,21,202805),('2028-05-26',202821,5,2028,26,21,202805),('2028-05-27',202821,5,2028,27,21,202805),('2028-05-28',202822,5,2028,28,22,202805),('2028-05-29',202822,5,2028,29,22,202805),('2028-05-30',202822,5,2028,30,22,202805),('2028-05-31',202822,5,2028,31,22,202805),('2028-06-01',202822,6,2028,1,22,202806),('2028-06-02',202822,6,2028,2,22,202806),('2028-06-03',202822,6,2028,3,22,202806),('2028-06-04',202823,6,2028,4,23,202806),('2028-06-05',202823,6,2028,5,23,202806),('2028-06-06',202823,6,2028,6,23,202806),('2028-06-07',202823,6,2028,7,23,202806),('2028-06-08',202823,6,2028,8,23,202806),('2028-06-09',202823,6,2028,9,23,202806),('2028-06-10',202823,6,2028,10,23,202806),('2028-06-11',202824,6,2028,11,24,202806),('2028-06-12',202824,6,2028,12,24,202806),('2028-06-13',202824,6,2028,13,24,202806),('2028-06-14',202824,6,2028,14,24,202806),('2028-06-15',202824,6,2028,15,24,202806),('2028-06-16',202824,6,2028,16,24,202806),('2028-06-17',202824,6,2028,17,24,202806),('2028-06-18',202825,6,2028,18,25,202806),('2028-06-19',202825,6,2028,19,25,202806),('2028-06-20',202825,6,2028,20,25,202806),('2028-06-21',202825,6,2028,21,25,202806),('2028-06-22',202825,6,2028,22,25,202806),('2028-06-23',202825,6,2028,23,25,202806),('2028-06-24',202825,6,2028,24,25,202806),('2028-06-25',202826,6,2028,25,26,202806),('2028-06-26',202826,6,2028,26,26,202806),('2028-06-27',202826,6,2028,27,26,202806),('2028-06-28',202826,6,2028,28,26,202806),('2028-06-29',202826,6,2028,29,26,202806),('2028-06-30',202826,6,2028,30,26,202806),('2028-07-01',202826,7,2028,1,26,202807),('2028-07-02',202827,7,2028,2,27,202807),('2028-07-03',202827,7,2028,3,27,202807),('2028-07-04',202827,7,2028,4,27,202807),('2028-07-05',202827,7,2028,5,27,202807),('2028-07-06',202827,7,2028,6,27,202807),('2028-07-07',202827,7,2028,7,27,202807),('2028-07-08',202827,7,2028,8,27,202807),('2028-07-09',202828,7,2028,9,28,202807),('2028-07-10',202828,7,2028,10,28,202807),('2028-07-11',202828,7,2028,11,28,202807),('2028-07-12',202828,7,2028,12,28,202807),('2028-07-13',202828,7,2028,13,28,202807),('2028-07-14',202828,7,2028,14,28,202807),('2028-07-15',202828,7,2028,15,28,202807),('2028-07-16',202829,7,2028,16,29,202807),('2028-07-17',202829,7,2028,17,29,202807),('2028-07-18',202829,7,2028,18,29,202807),('2028-07-19',202829,7,2028,19,29,202807),('2028-07-20',202829,7,2028,20,29,202807),('2028-07-21',202829,7,2028,21,29,202807),('2028-07-22',202829,7,2028,22,29,202807),('2028-07-23',202830,7,2028,23,30,202807),('2028-07-24',202830,7,2028,24,30,202807),('2028-07-25',202830,7,2028,25,30,202807),('2028-07-26',202830,7,2028,26,30,202807),('2028-07-27',202830,7,2028,27,30,202807),('2028-07-28',202830,7,2028,28,30,202807),('2028-07-29',202830,7,2028,29,30,202807),('2028-07-30',202831,7,2028,30,31,202807),('2028-07-31',202831,7,2028,31,31,202807),('2028-08-01',202831,8,2028,1,31,202808),('2028-08-02',202831,8,2028,2,31,202808),('2028-08-03',202831,8,2028,3,31,202808),('2028-08-04',202831,8,2028,4,31,202808),('2028-08-05',202831,8,2028,5,31,202808),('2028-08-06',202832,8,2028,6,32,202808),('2028-08-07',202832,8,2028,7,32,202808),('2028-08-08',202832,8,2028,8,32,202808),('2028-08-09',202832,8,2028,9,32,202808),('2028-08-10',202832,8,2028,10,32,202808),('2028-08-11',202832,8,2028,11,32,202808),('2028-08-12',202832,8,2028,12,32,202808),('2028-08-13',202833,8,2028,13,33,202808),('2028-08-14',202833,8,2028,14,33,202808),('2028-08-15',202833,8,2028,15,33,202808),('2028-08-16',202833,8,2028,16,33,202808),('2028-08-17',202833,8,2028,17,33,202808),('2028-08-18',202833,8,2028,18,33,202808),('2028-08-19',202833,8,2028,19,33,202808),('2028-08-20',202834,8,2028,20,34,202808),('2028-08-21',202834,8,2028,21,34,202808),('2028-08-22',202834,8,2028,22,34,202808),('2028-08-23',202834,8,2028,23,34,202808),('2028-08-24',202834,8,2028,24,34,202808),('2028-08-25',202834,8,2028,25,34,202808),('2028-08-26',202834,8,2028,26,34,202808),('2028-08-27',202835,8,2028,27,35,202808),('2028-08-28',202835,8,2028,28,35,202808),('2028-08-29',202835,8,2028,29,35,202808),('2028-08-30',202835,8,2028,30,35,202808),('2028-08-31',202835,8,2028,31,35,202808),('2028-09-01',202835,9,2028,1,35,202809),('2028-09-02',202835,9,2028,2,35,202809),('2028-09-03',202836,9,2028,3,36,202809),('2028-09-04',202836,9,2028,4,36,202809),('2028-09-05',202836,9,2028,5,36,202809),('2028-09-06',202836,9,2028,6,36,202809),('2028-09-07',202836,9,2028,7,36,202809),('2028-09-08',202836,9,2028,8,36,202809),('2028-09-09',202836,9,2028,9,36,202809),('2028-09-10',202837,9,2028,10,37,202809),('2028-09-11',202837,9,2028,11,37,202809),('2028-09-12',202837,9,2028,12,37,202809),('2028-09-13',202837,9,2028,13,37,202809),('2028-09-14',202837,9,2028,14,37,202809),('2028-09-15',202837,9,2028,15,37,202809),('2028-09-16',202837,9,2028,16,37,202809),('2028-09-17',202838,9,2028,17,38,202809),('2028-09-18',202838,9,2028,18,38,202809),('2028-09-19',202838,9,2028,19,38,202809),('2028-09-20',202838,9,2028,20,38,202809),('2028-09-21',202838,9,2028,21,38,202809),('2028-09-22',202838,9,2028,22,38,202809),('2028-09-23',202838,9,2028,23,38,202809),('2028-09-24',202839,9,2028,24,39,202809),('2028-09-25',202839,9,2028,25,39,202809),('2028-09-26',202839,9,2028,26,39,202809),('2028-09-27',202839,9,2028,27,39,202809),('2028-09-28',202839,9,2028,28,39,202809),('2028-09-29',202839,9,2028,29,39,202809),('2028-09-30',202839,9,2028,30,39,202809),('2028-10-01',202840,10,2028,1,40,202810),('2028-10-02',202840,10,2028,2,40,202810),('2028-10-03',202840,10,2028,3,40,202810),('2028-10-04',202840,10,2028,4,40,202810),('2028-10-05',202840,10,2028,5,40,202810),('2028-10-06',202840,10,2028,6,40,202810),('2028-10-07',202840,10,2028,7,40,202810),('2028-10-08',202841,10,2028,8,41,202810),('2028-10-09',202841,10,2028,9,41,202810),('2028-10-10',202841,10,2028,10,41,202810),('2028-10-11',202841,10,2028,11,41,202810),('2028-10-12',202841,10,2028,12,41,202810),('2028-10-13',202841,10,2028,13,41,202810),('2028-10-14',202841,10,2028,14,41,202810),('2028-10-15',202842,10,2028,15,42,202810),('2028-10-16',202842,10,2028,16,42,202810),('2028-10-17',202842,10,2028,17,42,202810),('2028-10-18',202842,10,2028,18,42,202810),('2028-10-19',202842,10,2028,19,42,202810),('2028-10-20',202842,10,2028,20,42,202810),('2028-10-21',202842,10,2028,21,42,202810),('2028-10-22',202843,10,2028,22,43,202810),('2028-10-23',202843,10,2028,23,43,202810),('2028-10-24',202843,10,2028,24,43,202810),('2028-10-25',202843,10,2028,25,43,202810),('2028-10-26',202843,10,2028,26,43,202810),('2028-10-27',202843,10,2028,27,43,202810),('2028-10-28',202843,10,2028,28,43,202810),('2028-10-29',202844,10,2028,29,44,202810),('2028-10-30',202844,10,2028,30,44,202810),('2028-10-31',202844,10,2028,31,44,202810),('2028-11-01',202844,11,2028,1,44,202811),('2028-11-02',202844,11,2028,2,44,202811),('2028-11-03',202844,11,2028,3,44,202811),('2028-11-04',202844,11,2028,4,44,202811),('2028-11-05',202845,11,2028,5,45,202811),('2028-11-06',202845,11,2028,6,45,202811),('2028-11-07',202845,11,2028,7,45,202811),('2028-11-08',202845,11,2028,8,45,202811),('2028-11-09',202845,11,2028,9,45,202811),('2028-11-10',202845,11,2028,10,45,202811),('2028-11-11',202845,11,2028,11,45,202811),('2028-11-12',202846,11,2028,12,46,202811),('2028-11-13',202846,11,2028,13,46,202811),('2028-11-14',202846,11,2028,14,46,202811),('2028-11-15',202846,11,2028,15,46,202811),('2028-11-16',202846,11,2028,16,46,202811),('2028-11-17',202846,11,2028,17,46,202811),('2028-11-18',202846,11,2028,18,46,202811),('2028-11-19',202847,11,2028,19,47,202811),('2028-11-20',202847,11,2028,20,47,202811),('2028-11-21',202847,11,2028,21,47,202811),('2028-11-22',202847,11,2028,22,47,202811),('2028-11-23',202847,11,2028,23,47,202811),('2028-11-24',202847,11,2028,24,47,202811),('2028-11-25',202847,11,2028,25,47,202811),('2028-11-26',202848,11,2028,26,48,202811),('2028-11-27',202848,11,2028,27,48,202811),('2028-11-28',202848,11,2028,28,48,202811),('2028-11-29',202848,11,2028,29,48,202811),('2028-11-30',202848,11,2028,30,48,202811),('2028-12-01',202848,12,2028,1,48,202812),('2028-12-02',202848,12,2028,2,48,202812),('2028-12-03',202849,12,2028,3,49,202812),('2028-12-04',202849,12,2028,4,49,202812),('2028-12-05',202849,12,2028,5,49,202812),('2028-12-06',202849,12,2028,6,49,202812),('2028-12-07',202849,12,2028,7,49,202812),('2028-12-08',202849,12,2028,8,49,202812),('2028-12-09',202849,12,2028,9,49,202812),('2028-12-10',202850,12,2028,10,50,202812),('2028-12-11',202850,12,2028,11,50,202812),('2028-12-12',202850,12,2028,12,50,202812),('2028-12-13',202850,12,2028,13,50,202812),('2028-12-14',202850,12,2028,14,50,202812),('2028-12-15',202850,12,2028,15,50,202812),('2028-12-16',202850,12,2028,16,50,202812),('2028-12-17',202851,12,2028,17,51,202812),('2028-12-18',202851,12,2028,18,51,202812),('2028-12-19',202851,12,2028,19,51,202812),('2028-12-20',202851,12,2028,20,51,202812),('2028-12-21',202851,12,2028,21,51,202812),('2028-12-22',202851,12,2028,22,51,202812),('2028-12-23',202851,12,2028,23,51,202812),('2028-12-24',202852,12,2028,24,52,202812),('2028-12-25',202852,12,2028,25,52,202812),('2028-12-26',202852,12,2028,26,52,202812),('2028-12-27',202852,12,2028,27,52,202812),('2028-12-28',202852,12,2028,28,52,202812),('2028-12-29',202852,12,2028,29,52,202812),('2028-12-30',202852,12,2028,30,52,202812),('2028-12-31',202853,12,2028,31,1,202812),('2029-01-01',202901,1,2029,1,1,202901),('2029-01-02',202901,1,2029,2,1,202901),('2029-01-03',202901,1,2029,3,1,202901),('2029-01-04',202901,1,2029,4,1,202901),('2029-01-05',202901,1,2029,5,1,202901),('2029-01-06',202901,1,2029,6,1,202901),('2029-01-07',202902,1,2029,7,2,202901),('2029-01-08',202902,1,2029,8,2,202901),('2029-01-09',202902,1,2029,9,2,202901),('2029-01-10',202902,1,2029,10,2,202901),('2029-01-11',202902,1,2029,11,2,202901),('2029-01-12',202902,1,2029,12,2,202901),('2029-01-13',202902,1,2029,13,2,202901),('2029-01-14',202903,1,2029,14,3,202901),('2029-01-15',202903,1,2029,15,3,202901),('2029-01-16',202903,1,2029,16,3,202901),('2029-01-17',202903,1,2029,17,3,202901),('2029-01-18',202903,1,2029,18,3,202901),('2029-01-19',202903,1,2029,19,3,202901),('2029-01-20',202903,1,2029,20,3,202901),('2029-01-21',202904,1,2029,21,4,202901),('2029-01-22',202904,1,2029,22,4,202901),('2029-01-23',202904,1,2029,23,4,202901),('2029-01-24',202904,1,2029,24,4,202901),('2029-01-25',202904,1,2029,25,4,202901),('2029-01-26',202904,1,2029,26,4,202901),('2029-01-27',202904,1,2029,27,4,202901),('2029-01-28',202905,1,2029,28,5,202901),('2029-01-29',202905,1,2029,29,5,202901),('2029-01-30',202905,1,2029,30,5,202901),('2029-01-31',202905,1,2029,31,5,202901),('2029-02-01',202905,2,2029,1,5,202902),('2029-02-02',202905,2,2029,2,5,202902),('2029-02-03',202905,2,2029,3,5,202902),('2029-02-04',202906,2,2029,4,6,202902),('2029-02-05',202906,2,2029,5,6,202902),('2029-02-06',202906,2,2029,6,6,202902),('2029-02-07',202906,2,2029,7,6,202902),('2029-02-08',202906,2,2029,8,6,202902),('2029-02-09',202906,2,2029,9,6,202902),('2029-02-10',202906,2,2029,10,6,202902),('2029-02-11',202907,2,2029,11,7,202902),('2029-02-12',202907,2,2029,12,7,202902),('2029-02-13',202907,2,2029,13,7,202902),('2029-02-14',202907,2,2029,14,7,202902),('2029-02-15',202907,2,2029,15,7,202902),('2029-02-16',202907,2,2029,16,7,202902),('2029-02-17',202907,2,2029,17,7,202902),('2029-02-18',202908,2,2029,18,8,202902),('2029-02-19',202908,2,2029,19,8,202902),('2029-02-20',202908,2,2029,20,8,202902),('2029-02-21',202908,2,2029,21,8,202902),('2029-02-22',202908,2,2029,22,8,202902),('2029-02-23',202908,2,2029,23,8,202902),('2029-02-24',202908,2,2029,24,8,202902),('2029-02-25',202909,2,2029,25,9,202902),('2029-02-26',202909,2,2029,26,9,202902),('2029-02-27',202909,2,2029,27,9,202902),('2029-02-28',202909,2,2029,28,9,202902),('2029-03-01',202909,3,2029,1,9,202903),('2029-03-02',202909,3,2029,2,9,202903),('2029-03-03',202909,3,2029,3,9,202903),('2029-03-04',202910,3,2029,4,10,202903),('2029-03-05',202910,3,2029,5,10,202903),('2029-03-06',202910,3,2029,6,10,202903),('2029-03-07',202910,3,2029,7,10,202903),('2029-03-08',202910,3,2029,8,10,202903),('2029-03-09',202910,3,2029,9,10,202903),('2029-03-10',202910,3,2029,10,10,202903),('2029-03-11',202911,3,2029,11,11,202903),('2029-03-12',202911,3,2029,12,11,202903),('2029-03-13',202911,3,2029,13,11,202903),('2029-03-14',202911,3,2029,14,11,202903),('2029-03-15',202911,3,2029,15,11,202903),('2029-03-16',202911,3,2029,16,11,202903),('2029-03-17',202911,3,2029,17,11,202903),('2029-03-18',202912,3,2029,18,12,202903),('2029-03-19',202912,3,2029,19,12,202903),('2029-03-20',202912,3,2029,20,12,202903),('2029-03-21',202912,3,2029,21,12,202903),('2029-03-22',202912,3,2029,22,12,202903),('2029-03-23',202912,3,2029,23,12,202903),('2029-03-24',202912,3,2029,24,12,202903),('2029-03-25',202913,3,2029,25,13,202903),('2029-03-26',202913,3,2029,26,13,202903),('2029-03-27',202913,3,2029,27,13,202903),('2029-03-28',202913,3,2029,28,13,202903),('2029-03-29',202913,3,2029,29,13,202903),('2029-03-30',202913,3,2029,30,13,202903),('2029-03-31',202913,3,2029,31,13,202903),('2029-04-01',202914,4,2029,1,14,202904),('2029-04-02',202914,4,2029,2,14,202904),('2029-04-03',202914,4,2029,3,14,202904),('2029-04-04',202914,4,2029,4,14,202904),('2029-04-05',202914,4,2029,5,14,202904),('2029-04-06',202914,4,2029,6,14,202904),('2029-04-07',202914,4,2029,7,14,202904),('2029-04-08',202915,4,2029,8,15,202904),('2029-04-09',202915,4,2029,9,15,202904),('2029-04-10',202915,4,2029,10,15,202904),('2029-04-11',202915,4,2029,11,15,202904),('2029-04-12',202915,4,2029,12,15,202904),('2029-04-13',202915,4,2029,13,15,202904),('2029-04-14',202915,4,2029,14,15,202904),('2029-04-15',202916,4,2029,15,16,202904),('2029-04-16',202916,4,2029,16,16,202904),('2029-04-17',202916,4,2029,17,16,202904),('2029-04-18',202916,4,2029,18,16,202904),('2029-04-19',202916,4,2029,19,16,202904),('2029-04-20',202916,4,2029,20,16,202904),('2029-04-21',202916,4,2029,21,16,202904),('2029-04-22',202917,4,2029,22,17,202904),('2029-04-23',202917,4,2029,23,17,202904),('2029-04-24',202917,4,2029,24,17,202904),('2029-04-25',202917,4,2029,25,17,202904),('2029-04-26',202917,4,2029,26,17,202904),('2029-04-27',202917,4,2029,27,17,202904),('2029-04-28',202917,4,2029,28,17,202904),('2029-04-29',202918,4,2029,29,18,202904),('2029-04-30',202918,4,2029,30,18,202904),('2029-05-01',202918,5,2029,1,18,202905),('2029-05-02',202918,5,2029,2,18,202905),('2029-05-03',202918,5,2029,3,18,202905),('2029-05-04',202918,5,2029,4,18,202905),('2029-05-05',202918,5,2029,5,18,202905),('2029-05-06',202919,5,2029,6,19,202905),('2029-05-07',202919,5,2029,7,19,202905),('2029-05-08',202919,5,2029,8,19,202905),('2029-05-09',202919,5,2029,9,19,202905),('2029-05-10',202919,5,2029,10,19,202905),('2029-05-11',202919,5,2029,11,19,202905),('2029-05-12',202919,5,2029,12,19,202905),('2029-05-13',202920,5,2029,13,20,202905),('2029-05-14',202920,5,2029,14,20,202905),('2029-05-15',202920,5,2029,15,20,202905),('2029-05-16',202920,5,2029,16,20,202905),('2029-05-17',202920,5,2029,17,20,202905),('2029-05-18',202920,5,2029,18,20,202905),('2029-05-19',202920,5,2029,19,20,202905),('2029-05-20',202921,5,2029,20,21,202905),('2029-05-21',202921,5,2029,21,21,202905),('2029-05-22',202921,5,2029,22,21,202905),('2029-05-23',202921,5,2029,23,21,202905),('2029-05-24',202921,5,2029,24,21,202905),('2029-05-25',202921,5,2029,25,21,202905),('2029-05-26',202921,5,2029,26,21,202905),('2029-05-27',202922,5,2029,27,22,202905),('2029-05-28',202922,5,2029,28,22,202905),('2029-05-29',202922,5,2029,29,22,202905),('2029-05-30',202922,5,2029,30,22,202905),('2029-05-31',202922,5,2029,31,22,202905),('2029-06-01',202922,6,2029,1,22,202906),('2029-06-02',202922,6,2029,2,22,202906),('2029-06-03',202923,6,2029,3,23,202906),('2029-06-04',202923,6,2029,4,23,202906),('2029-06-05',202923,6,2029,5,23,202906),('2029-06-06',202923,6,2029,6,23,202906),('2029-06-07',202923,6,2029,7,23,202906),('2029-06-08',202923,6,2029,8,23,202906),('2029-06-09',202923,6,2029,9,23,202906),('2029-06-10',202924,6,2029,10,24,202906),('2029-06-11',202924,6,2029,11,24,202906),('2029-06-12',202924,6,2029,12,24,202906),('2029-06-13',202924,6,2029,13,24,202906),('2029-06-14',202924,6,2029,14,24,202906),('2029-06-15',202924,6,2029,15,24,202906),('2029-06-16',202924,6,2029,16,24,202906),('2029-06-17',202925,6,2029,17,25,202906),('2029-06-18',202925,6,2029,18,25,202906),('2029-06-19',202925,6,2029,19,25,202906),('2029-06-20',202925,6,2029,20,25,202906),('2029-06-21',202925,6,2029,21,25,202906),('2029-06-22',202925,6,2029,22,25,202906),('2029-06-23',202925,6,2029,23,25,202906),('2029-06-24',202926,6,2029,24,26,202906),('2029-06-25',202926,6,2029,25,26,202906),('2029-06-26',202926,6,2029,26,26,202906),('2029-06-27',202926,6,2029,27,26,202906),('2029-06-28',202926,6,2029,28,26,202906),('2029-06-29',202926,6,2029,29,26,202906),('2029-06-30',202926,6,2029,30,26,202906),('2029-07-01',202927,7,2029,1,27,202907),('2029-07-02',202927,7,2029,2,27,202907),('2029-07-03',202927,7,2029,3,27,202907),('2029-07-04',202927,7,2029,4,27,202907),('2029-07-05',202927,7,2029,5,27,202907),('2029-07-06',202927,7,2029,6,27,202907),('2029-07-07',202927,7,2029,7,27,202907),('2029-07-08',202928,7,2029,8,28,202907),('2029-07-09',202928,7,2029,9,28,202907),('2029-07-10',202928,7,2029,10,28,202907),('2029-07-11',202928,7,2029,11,28,202907),('2029-07-12',202928,7,2029,12,28,202907),('2029-07-13',202928,7,2029,13,28,202907),('2029-07-14',202928,7,2029,14,28,202907),('2029-07-15',202929,7,2029,15,29,202907),('2029-07-16',202929,7,2029,16,29,202907),('2029-07-17',202929,7,2029,17,29,202907),('2029-07-18',202929,7,2029,18,29,202907),('2029-07-19',202929,7,2029,19,29,202907),('2029-07-20',202929,7,2029,20,29,202907),('2029-07-21',202929,7,2029,21,29,202907),('2029-07-22',202930,7,2029,22,30,202907),('2029-07-23',202930,7,2029,23,30,202907),('2029-07-24',202930,7,2029,24,30,202907),('2029-07-25',202930,7,2029,25,30,202907),('2029-07-26',202930,7,2029,26,30,202907),('2029-07-27',202930,7,2029,27,30,202907),('2029-07-28',202930,7,2029,28,30,202907),('2029-07-29',202931,7,2029,29,31,202907),('2029-07-30',202931,7,2029,30,31,202907),('2029-07-31',202931,7,2029,31,31,202907),('2029-08-01',202931,8,2029,1,31,202908),('2029-08-02',202931,8,2029,2,31,202908),('2029-08-03',202931,8,2029,3,31,202908),('2029-08-04',202931,8,2029,4,31,202908),('2029-08-05',202932,8,2029,5,32,202908),('2029-08-06',202932,8,2029,6,32,202908),('2029-08-07',202932,8,2029,7,32,202908),('2029-08-08',202932,8,2029,8,32,202908),('2029-08-09',202932,8,2029,9,32,202908),('2029-08-10',202932,8,2029,10,32,202908),('2029-08-11',202932,8,2029,11,32,202908),('2029-08-12',202933,8,2029,12,33,202908),('2029-08-13',202933,8,2029,13,33,202908),('2029-08-14',202933,8,2029,14,33,202908),('2029-08-15',202933,8,2029,15,33,202908),('2029-08-16',202933,8,2029,16,33,202908),('2029-08-17',202933,8,2029,17,33,202908),('2029-08-18',202933,8,2029,18,33,202908),('2029-08-19',202934,8,2029,19,34,202908),('2029-08-20',202934,8,2029,20,34,202908),('2029-08-21',202934,8,2029,21,34,202908),('2029-08-22',202934,8,2029,22,34,202908),('2029-08-23',202934,8,2029,23,34,202908),('2029-08-24',202934,8,2029,24,34,202908),('2029-08-25',202934,8,2029,25,34,202908),('2029-08-26',202935,8,2029,26,35,202908),('2029-08-27',202935,8,2029,27,35,202908),('2029-08-28',202935,8,2029,28,35,202908),('2029-08-29',202935,8,2029,29,35,202908),('2029-08-30',202935,8,2029,30,35,202908),('2029-08-31',202935,8,2029,31,35,202908),('2029-09-01',202935,9,2029,1,35,202909),('2029-09-02',202936,9,2029,2,36,202909),('2029-09-03',202936,9,2029,3,36,202909),('2029-09-04',202936,9,2029,4,36,202909),('2029-09-05',202936,9,2029,5,36,202909),('2029-09-06',202936,9,2029,6,36,202909),('2029-09-07',202936,9,2029,7,36,202909),('2029-09-08',202936,9,2029,8,36,202909),('2029-09-09',202937,9,2029,9,37,202909),('2029-09-10',202937,9,2029,10,37,202909),('2029-09-11',202937,9,2029,11,37,202909),('2029-09-12',202937,9,2029,12,37,202909),('2029-09-13',202937,9,2029,13,37,202909),('2029-09-14',202937,9,2029,14,37,202909),('2029-09-15',202937,9,2029,15,37,202909),('2029-09-16',202938,9,2029,16,38,202909),('2029-09-17',202938,9,2029,17,38,202909),('2029-09-18',202938,9,2029,18,38,202909),('2029-09-19',202938,9,2029,19,38,202909),('2029-09-20',202938,9,2029,20,38,202909),('2029-09-21',202938,9,2029,21,38,202909),('2029-09-22',202938,9,2029,22,38,202909),('2029-09-23',202939,9,2029,23,39,202909),('2029-09-24',202939,9,2029,24,39,202909),('2029-09-25',202939,9,2029,25,39,202909),('2029-09-26',202939,9,2029,26,39,202909),('2029-09-27',202939,9,2029,27,39,202909),('2029-09-28',202939,9,2029,28,39,202909),('2029-09-29',202939,9,2029,29,39,202909),('2029-09-30',202940,9,2029,30,40,202909),('2029-10-01',202940,10,2029,1,40,202910),('2029-10-02',202940,10,2029,2,40,202910),('2029-10-03',202940,10,2029,3,40,202910),('2029-10-04',202940,10,2029,4,40,202910),('2029-10-05',202940,10,2029,5,40,202910),('2029-10-06',202940,10,2029,6,40,202910),('2029-10-07',202941,10,2029,7,41,202910),('2029-10-08',202941,10,2029,8,41,202910),('2029-10-09',202941,10,2029,9,41,202910),('2029-10-10',202941,10,2029,10,41,202910),('2029-10-11',202941,10,2029,11,41,202910),('2029-10-12',202941,10,2029,12,41,202910),('2029-10-13',202941,10,2029,13,41,202910),('2029-10-14',202942,10,2029,14,42,202910),('2029-10-15',202942,10,2029,15,42,202910),('2029-10-16',202942,10,2029,16,42,202910),('2029-10-17',202942,10,2029,17,42,202910),('2029-10-18',202942,10,2029,18,42,202910),('2029-10-19',202942,10,2029,19,42,202910),('2029-10-20',202942,10,2029,20,42,202910),('2029-10-21',202943,10,2029,21,43,202910),('2029-10-22',202943,10,2029,22,43,202910),('2029-10-23',202943,10,2029,23,43,202910),('2029-10-24',202943,10,2029,24,43,202910),('2029-10-25',202943,10,2029,25,43,202910),('2029-10-26',202943,10,2029,26,43,202910),('2029-10-27',202943,10,2029,27,43,202910),('2029-10-28',202944,10,2029,28,44,202910),('2029-10-29',202944,10,2029,29,44,202910),('2029-10-30',202944,10,2029,30,44,202910),('2029-10-31',202944,10,2029,31,44,202910),('2029-11-01',202944,11,2029,1,44,202911),('2029-11-02',202944,11,2029,2,44,202911),('2029-11-03',202944,11,2029,3,44,202911),('2029-11-04',202945,11,2029,4,45,202911),('2029-11-05',202945,11,2029,5,45,202911),('2029-11-06',202945,11,2029,6,45,202911),('2029-11-07',202945,11,2029,7,45,202911),('2029-11-08',202945,11,2029,8,45,202911),('2029-11-09',202945,11,2029,9,45,202911),('2029-11-10',202945,11,2029,10,45,202911),('2029-11-11',202946,11,2029,11,46,202911),('2029-11-12',202946,11,2029,12,46,202911),('2029-11-13',202946,11,2029,13,46,202911),('2029-11-14',202946,11,2029,14,46,202911),('2029-11-15',202946,11,2029,15,46,202911),('2029-11-16',202946,11,2029,16,46,202911),('2029-11-17',202946,11,2029,17,46,202911),('2029-11-18',202947,11,2029,18,47,202911),('2029-11-19',202947,11,2029,19,47,202911),('2029-11-20',202947,11,2029,20,47,202911),('2029-11-21',202947,11,2029,21,47,202911),('2029-11-22',202947,11,2029,22,47,202911),('2029-11-23',202947,11,2029,23,47,202911),('2029-11-24',202947,11,2029,24,47,202911),('2029-11-25',202948,11,2029,25,48,202911),('2029-11-26',202948,11,2029,26,48,202911),('2029-11-27',202948,11,2029,27,48,202911),('2029-11-28',202948,11,2029,28,48,202911),('2029-11-29',202948,11,2029,29,48,202911),('2029-11-30',202948,11,2029,30,48,202911),('2029-12-01',202948,12,2029,1,48,202912),('2029-12-02',202949,12,2029,2,49,202912),('2029-12-03',202949,12,2029,3,49,202912),('2029-12-04',202949,12,2029,4,49,202912),('2029-12-05',202949,12,2029,5,49,202912),('2029-12-06',202949,12,2029,6,49,202912),('2029-12-07',202949,12,2029,7,49,202912),('2029-12-08',202949,12,2029,8,49,202912),('2029-12-09',202950,12,2029,9,50,202912),('2029-12-10',202950,12,2029,10,50,202912),('2029-12-11',202950,12,2029,11,50,202912),('2029-12-12',202950,12,2029,12,50,202912),('2029-12-13',202950,12,2029,13,50,202912),('2029-12-14',202950,12,2029,14,50,202912),('2029-12-15',202950,12,2029,15,50,202912),('2029-12-16',202951,12,2029,16,51,202912),('2029-12-17',202951,12,2029,17,51,202912),('2029-12-18',202951,12,2029,18,51,202912),('2029-12-19',202951,12,2029,19,51,202912),('2029-12-20',202951,12,2029,20,51,202912),('2029-12-21',202951,12,2029,21,51,202912),('2029-12-22',202951,12,2029,22,51,202912),('2029-12-23',202952,12,2029,23,52,202912),('2029-12-24',202952,12,2029,24,52,202912),('2029-12-25',202952,12,2029,25,52,202912),('2029-12-26',202952,12,2029,26,52,202912),('2029-12-27',202952,12,2029,27,52,202912),('2029-12-28',202952,12,2029,28,52,202912),('2029-12-29',202952,12,2029,29,52,202912),('2029-12-30',202953,12,2029,30,1,202912),('2029-12-31',202901,12,2029,31,1,202912),('2030-01-01',203001,1,2030,1,1,203001),('2030-01-02',203001,1,2030,2,1,203001),('2030-01-03',203001,1,2030,3,1,203001),('2030-01-04',203001,1,2030,4,1,203001),('2030-01-05',203001,1,2030,5,1,203001),('2030-01-06',203002,1,2030,6,2,203001),('2030-01-07',203002,1,2030,7,2,203001),('2030-01-08',203002,1,2030,8,2,203001),('2030-01-09',203002,1,2030,9,2,203001),('2030-01-10',203002,1,2030,10,2,203001),('2030-01-11',203002,1,2030,11,2,203001),('2030-01-12',203002,1,2030,12,2,203001),('2030-01-13',203003,1,2030,13,3,203001),('2030-01-14',203003,1,2030,14,3,203001),('2030-01-15',203003,1,2030,15,3,203001),('2030-01-16',203003,1,2030,16,3,203001),('2030-01-17',203003,1,2030,17,3,203001),('2030-01-18',203003,1,2030,18,3,203001),('2030-01-19',203003,1,2030,19,3,203001),('2030-01-20',203004,1,2030,20,4,203001),('2030-01-21',203004,1,2030,21,4,203001),('2030-01-22',203004,1,2030,22,4,203001),('2030-01-23',203004,1,2030,23,4,203001),('2030-01-24',203004,1,2030,24,4,203001),('2030-01-25',203004,1,2030,25,4,203001),('2030-01-26',203004,1,2030,26,4,203001),('2030-01-27',203005,1,2030,27,5,203001),('2030-01-28',203005,1,2030,28,5,203001),('2030-01-29',203005,1,2030,29,5,203001),('2030-01-30',203005,1,2030,30,5,203001),('2030-01-31',203005,1,2030,31,5,203001),('2030-02-01',203005,2,2030,1,5,203002),('2030-02-02',203005,2,2030,2,5,203002),('2030-02-03',203006,2,2030,3,6,203002),('2030-02-04',203006,2,2030,4,6,203002),('2030-02-05',203006,2,2030,5,6,203002),('2030-02-06',203006,2,2030,6,6,203002),('2030-02-07',203006,2,2030,7,6,203002),('2030-02-08',203006,2,2030,8,6,203002),('2030-02-09',203006,2,2030,9,6,203002),('2030-02-10',203007,2,2030,10,7,203002),('2030-02-11',203007,2,2030,11,7,203002),('2030-02-12',203007,2,2030,12,7,203002),('2030-02-13',203007,2,2030,13,7,203002),('2030-02-14',203007,2,2030,14,7,203002),('2030-02-15',203007,2,2030,15,7,203002),('2030-02-16',203007,2,2030,16,7,203002),('2030-02-17',203008,2,2030,17,8,203002),('2030-02-18',203008,2,2030,18,8,203002),('2030-02-19',203008,2,2030,19,8,203002),('2030-02-20',203008,2,2030,20,8,203002),('2030-02-21',203008,2,2030,21,8,203002),('2030-02-22',203008,2,2030,22,8,203002),('2030-02-23',203008,2,2030,23,8,203002),('2030-02-24',203009,2,2030,24,9,203002),('2030-02-25',203009,2,2030,25,9,203002),('2030-02-26',203009,2,2030,26,9,203002),('2030-02-27',203009,2,2030,27,9,203002),('2030-02-28',203009,2,2030,28,9,203002),('2030-03-01',203009,3,2030,1,9,203003),('2030-03-02',203009,3,2030,2,9,203003),('2030-03-03',203010,3,2030,3,10,203003),('2030-03-04',203010,3,2030,4,10,203003),('2030-03-05',203010,3,2030,5,10,203003),('2030-03-06',203010,3,2030,6,10,203003),('2030-03-07',203010,3,2030,7,10,203003),('2030-03-08',203010,3,2030,8,10,203003),('2030-03-09',203010,3,2030,9,10,203003),('2030-03-10',203011,3,2030,10,11,203003),('2030-03-11',203011,3,2030,11,11,203003),('2030-03-12',203011,3,2030,12,11,203003),('2030-03-13',203011,3,2030,13,11,203003),('2030-03-14',203011,3,2030,14,11,203003),('2030-03-15',203011,3,2030,15,11,203003),('2030-03-16',203011,3,2030,16,11,203003),('2030-03-17',203012,3,2030,17,12,203003),('2030-03-18',203012,3,2030,18,12,203003),('2030-03-19',203012,3,2030,19,12,203003),('2030-03-20',203012,3,2030,20,12,203003),('2030-03-21',203012,3,2030,21,12,203003),('2030-03-22',203012,3,2030,22,12,203003),('2030-03-23',203012,3,2030,23,12,203003),('2030-03-24',203013,3,2030,24,13,203003),('2030-03-25',203013,3,2030,25,13,203003),('2030-03-26',203013,3,2030,26,13,203003),('2030-03-27',203013,3,2030,27,13,203003),('2030-03-28',203013,3,2030,28,13,203003),('2030-03-29',203013,3,2030,29,13,203003),('2030-03-30',203013,3,2030,30,13,203003),('2030-03-31',203014,3,2030,31,14,203003),('2030-04-01',203014,4,2030,1,14,203004),('2030-04-02',203014,4,2030,2,14,203004),('2030-04-03',203014,4,2030,3,14,203004),('2030-04-04',203014,4,2030,4,14,203004),('2030-04-05',203014,4,2030,5,14,203004),('2030-04-06',203014,4,2030,6,14,203004),('2030-04-07',203015,4,2030,7,15,203004),('2030-04-08',203015,4,2030,8,15,203004),('2030-04-09',203015,4,2030,9,15,203004),('2030-04-10',203015,4,2030,10,15,203004),('2030-04-11',203015,4,2030,11,15,203004),('2030-04-12',203015,4,2030,12,15,203004),('2030-04-13',203015,4,2030,13,15,203004),('2030-04-14',203016,4,2030,14,16,203004),('2030-04-15',203016,4,2030,15,16,203004),('2030-04-16',203016,4,2030,16,16,203004),('2030-04-17',203016,4,2030,17,16,203004),('2030-04-18',203016,4,2030,18,16,203004),('2030-04-19',203016,4,2030,19,16,203004),('2030-04-20',203016,4,2030,20,16,203004),('2030-04-21',203017,4,2030,21,17,203004),('2030-04-22',203017,4,2030,22,17,203004),('2030-04-23',203017,4,2030,23,17,203004),('2030-04-24',203017,4,2030,24,17,203004),('2030-04-25',203017,4,2030,25,17,203004),('2030-04-26',203017,4,2030,26,17,203004),('2030-04-27',203017,4,2030,27,17,203004),('2030-04-28',203018,4,2030,28,18,203004),('2030-04-29',203018,4,2030,29,18,203004),('2030-04-30',203018,4,2030,30,18,203004),('2030-05-01',203018,5,2030,1,18,203005),('2030-05-02',203018,5,2030,2,18,203005),('2030-05-03',203018,5,2030,3,18,203005),('2030-05-04',203018,5,2030,4,18,203005),('2030-05-05',203019,5,2030,5,19,203005),('2030-05-06',203019,5,2030,6,19,203005),('2030-05-07',203019,5,2030,7,19,203005),('2030-05-08',203019,5,2030,8,19,203005),('2030-05-09',203019,5,2030,9,19,203005),('2030-05-10',203019,5,2030,10,19,203005),('2030-05-11',203019,5,2030,11,19,203005),('2030-05-12',203020,5,2030,12,20,203005),('2030-05-13',203020,5,2030,13,20,203005),('2030-05-14',203020,5,2030,14,20,203005),('2030-05-15',203020,5,2030,15,20,203005),('2030-05-16',203020,5,2030,16,20,203005),('2030-05-17',203020,5,2030,17,20,203005),('2030-05-18',203020,5,2030,18,20,203005),('2030-05-19',203021,5,2030,19,21,203005),('2030-05-20',203021,5,2030,20,21,203005),('2030-05-21',203021,5,2030,21,21,203005),('2030-05-22',203021,5,2030,22,21,203005),('2030-05-23',203021,5,2030,23,21,203005),('2030-05-24',203021,5,2030,24,21,203005),('2030-05-25',203021,5,2030,25,21,203005),('2030-05-26',203022,5,2030,26,22,203005),('2030-05-27',203022,5,2030,27,22,203005),('2030-05-28',203022,5,2030,28,22,203005),('2030-05-29',203022,5,2030,29,22,203005),('2030-05-30',203022,5,2030,30,22,203005),('2030-05-31',203022,5,2030,31,22,203005),('2030-06-01',203022,6,2030,1,22,203006),('2030-06-02',203023,6,2030,2,23,203006),('2030-06-03',203023,6,2030,3,23,203006),('2030-06-04',203023,6,2030,4,23,203006),('2030-06-05',203023,6,2030,5,23,203006),('2030-06-06',203023,6,2030,6,23,203006),('2030-06-07',203023,6,2030,7,23,203006),('2030-06-08',203023,6,2030,8,23,203006),('2030-06-09',203024,6,2030,9,24,203006),('2030-06-10',203024,6,2030,10,24,203006),('2030-06-11',203024,6,2030,11,24,203006),('2030-06-12',203024,6,2030,12,24,203006),('2030-06-13',203024,6,2030,13,24,203006),('2030-06-14',203024,6,2030,14,24,203006),('2030-06-15',203024,6,2030,15,24,203006),('2030-06-16',203025,6,2030,16,25,203006),('2030-06-17',203025,6,2030,17,25,203006),('2030-06-18',203025,6,2030,18,25,203006),('2030-06-19',203025,6,2030,19,25,203006),('2030-06-20',203025,6,2030,20,25,203006),('2030-06-21',203025,6,2030,21,25,203006),('2030-06-22',203025,6,2030,22,25,203006),('2030-06-23',203026,6,2030,23,26,203006),('2030-06-24',203026,6,2030,24,26,203006),('2030-06-25',203026,6,2030,25,26,203006),('2030-06-26',203026,6,2030,26,26,203006),('2030-06-27',203026,6,2030,27,26,203006),('2030-06-28',203026,6,2030,28,26,203006),('2030-06-29',203026,6,2030,29,26,203006),('2030-06-30',203027,6,2030,30,27,203006),('2030-07-01',203027,7,2030,1,27,203007),('2030-07-02',203027,7,2030,2,27,203007),('2030-07-03',203027,7,2030,3,27,203007),('2030-07-04',203027,7,2030,4,27,203007),('2030-07-05',203027,7,2030,5,27,203007),('2030-07-06',203027,7,2030,6,27,203007),('2030-07-07',203028,7,2030,7,28,203007),('2030-07-08',203028,7,2030,8,28,203007),('2030-07-09',203028,7,2030,9,28,203007),('2030-07-10',203028,7,2030,10,28,203007),('2030-07-11',203028,7,2030,11,28,203007),('2030-07-12',203028,7,2030,12,28,203007),('2030-07-13',203028,7,2030,13,28,203007),('2030-07-14',203029,7,2030,14,29,203007),('2030-07-15',203029,7,2030,15,29,203007),('2030-07-16',203029,7,2030,16,29,203007),('2030-07-17',203029,7,2030,17,29,203007),('2030-07-18',203029,7,2030,18,29,203007),('2030-07-19',203029,7,2030,19,29,203007),('2030-07-20',203029,7,2030,20,29,203007),('2030-07-21',203030,7,2030,21,30,203007),('2030-07-22',203030,7,2030,22,30,203007),('2030-07-23',203030,7,2030,23,30,203007),('2030-07-24',203030,7,2030,24,30,203007),('2030-07-25',203030,7,2030,25,30,203007),('2030-07-26',203030,7,2030,26,30,203007),('2030-07-27',203030,7,2030,27,30,203007),('2030-07-28',203031,7,2030,28,31,203007),('2030-07-29',203031,7,2030,29,31,203007),('2030-07-30',203031,7,2030,30,31,203007),('2030-07-31',203031,7,2030,31,31,203007),('2030-08-01',203031,8,2030,1,31,203008),('2030-08-02',203031,8,2030,2,31,203008),('2030-08-03',203031,8,2030,3,31,203008),('2030-08-04',203032,8,2030,4,32,203008),('2030-08-05',203032,8,2030,5,32,203008),('2030-08-06',203032,8,2030,6,32,203008),('2030-08-07',203032,8,2030,7,32,203008),('2030-08-08',203032,8,2030,8,32,203008),('2030-08-09',203032,8,2030,9,32,203008),('2030-08-10',203032,8,2030,10,32,203008),('2030-08-11',203033,8,2030,11,33,203008),('2030-08-12',203033,8,2030,12,33,203008),('2030-08-13',203033,8,2030,13,33,203008),('2030-08-14',203033,8,2030,14,33,203008),('2030-08-15',203033,8,2030,15,33,203008),('2030-08-16',203033,8,2030,16,33,203008),('2030-08-17',203033,8,2030,17,33,203008),('2030-08-18',203034,8,2030,18,34,203008),('2030-08-19',203034,8,2030,19,34,203008),('2030-08-20',203034,8,2030,20,34,203008),('2030-08-21',203034,8,2030,21,34,203008),('2030-08-22',203034,8,2030,22,34,203008),('2030-08-23',203034,8,2030,23,34,203008),('2030-08-24',203034,8,2030,24,34,203008),('2030-08-25',203035,8,2030,25,35,203008),('2030-08-26',203035,8,2030,26,35,203008),('2030-08-27',203035,8,2030,27,35,203008),('2030-08-28',203035,8,2030,28,35,203008),('2030-08-29',203035,8,2030,29,35,203008),('2030-08-30',203035,8,2030,30,35,203008),('2030-08-31',203035,8,2030,31,35,203008),('2030-09-01',203036,9,2030,1,36,203009),('2030-09-02',203036,9,2030,2,36,203009),('2030-09-03',203036,9,2030,3,36,203009),('2030-09-04',203036,9,2030,4,36,203009),('2030-09-05',203036,9,2030,5,36,203009),('2030-09-06',203036,9,2030,6,36,203009),('2030-09-07',203036,9,2030,7,36,203009),('2030-09-08',203037,9,2030,8,37,203009),('2030-09-09',203037,9,2030,9,37,203009),('2030-09-10',203037,9,2030,10,37,203009),('2030-09-11',203037,9,2030,11,37,203009),('2030-09-12',203037,9,2030,12,37,203009),('2030-09-13',203037,9,2030,13,37,203009),('2030-09-14',203037,9,2030,14,37,203009),('2030-09-15',203038,9,2030,15,38,203009),('2030-09-16',203038,9,2030,16,38,203009),('2030-09-17',203038,9,2030,17,38,203009),('2030-09-18',203038,9,2030,18,38,203009),('2030-09-19',203038,9,2030,19,38,203009),('2030-09-20',203038,9,2030,20,38,203009),('2030-09-21',203038,9,2030,21,38,203009),('2030-09-22',203039,9,2030,22,39,203009),('2030-09-23',203039,9,2030,23,39,203009),('2030-09-24',203039,9,2030,24,39,203009),('2030-09-25',203039,9,2030,25,39,203009),('2030-09-26',203039,9,2030,26,39,203009),('2030-09-27',203039,9,2030,27,39,203009),('2030-09-28',203039,9,2030,28,39,203009),('2030-09-29',203040,9,2030,29,40,203009),('2030-09-30',203040,9,2030,30,40,203009),('2030-10-01',203040,10,2030,1,40,203010),('2030-10-02',203040,10,2030,2,40,203010),('2030-10-03',203040,10,2030,3,40,203010),('2030-10-04',203040,10,2030,4,40,203010),('2030-10-05',203040,10,2030,5,40,203010),('2030-10-06',203041,10,2030,6,41,203010),('2030-10-07',203041,10,2030,7,41,203010),('2030-10-08',203041,10,2030,8,41,203010),('2030-10-09',203041,10,2030,9,41,203010),('2030-10-10',203041,10,2030,10,41,203010),('2030-10-11',203041,10,2030,11,41,203010),('2030-10-12',203041,10,2030,12,41,203010),('2030-10-13',203042,10,2030,13,42,203010),('2030-10-14',203042,10,2030,14,42,203010),('2030-10-15',203042,10,2030,15,42,203010),('2030-10-16',203042,10,2030,16,42,203010),('2030-10-17',203042,10,2030,17,42,203010),('2030-10-18',203042,10,2030,18,42,203010),('2030-10-19',203042,10,2030,19,42,203010),('2030-10-20',203043,10,2030,20,43,203010),('2030-10-21',203043,10,2030,21,43,203010),('2030-10-22',203043,10,2030,22,43,203010),('2030-10-23',203043,10,2030,23,43,203010),('2030-10-24',203043,10,2030,24,43,203010),('2030-10-25',203043,10,2030,25,43,203010),('2030-10-26',203043,10,2030,26,43,203010),('2030-10-27',203044,10,2030,27,44,203010),('2030-10-28',203044,10,2030,28,44,203010),('2030-10-29',203044,10,2030,29,44,203010),('2030-10-30',203044,10,2030,30,44,203010),('2030-10-31',203044,10,2030,31,44,203010),('2030-11-01',203044,11,2030,1,44,203011),('2030-11-02',203044,11,2030,2,44,203011),('2030-11-03',203045,11,2030,3,45,203011),('2030-11-04',203045,11,2030,4,45,203011),('2030-11-05',203045,11,2030,5,45,203011),('2030-11-06',203045,11,2030,6,45,203011),('2030-11-07',203045,11,2030,7,45,203011),('2030-11-08',203045,11,2030,8,45,203011),('2030-11-09',203045,11,2030,9,45,203011),('2030-11-10',203046,11,2030,10,46,203011),('2030-11-11',203046,11,2030,11,46,203011),('2030-11-12',203046,11,2030,12,46,203011),('2030-11-13',203046,11,2030,13,46,203011),('2030-11-14',203046,11,2030,14,46,203011),('2030-11-15',203046,11,2030,15,46,203011),('2030-11-16',203046,11,2030,16,46,203011),('2030-11-17',203047,11,2030,17,47,203011),('2030-11-18',203047,11,2030,18,47,203011),('2030-11-19',203047,11,2030,19,47,203011),('2030-11-20',203047,11,2030,20,47,203011),('2030-11-21',203047,11,2030,21,47,203011),('2030-11-22',203047,11,2030,22,47,203011),('2030-11-23',203047,11,2030,23,47,203011),('2030-11-24',203048,11,2030,24,48,203011),('2030-11-25',203048,11,2030,25,48,203011),('2030-11-26',203048,11,2030,26,48,203011),('2030-11-27',203048,11,2030,27,48,203011),('2030-11-28',203048,11,2030,28,48,203011),('2030-11-29',203048,11,2030,29,48,203011),('2030-11-30',203048,11,2030,30,48,203011),('2030-12-01',203049,12,2030,1,49,203012),('2030-12-02',203049,12,2030,2,49,203012),('2030-12-03',203049,12,2030,3,49,203012),('2030-12-04',203049,12,2030,4,49,203012),('2030-12-05',203049,12,2030,5,49,203012),('2030-12-06',203049,12,2030,6,49,203012),('2030-12-07',203049,12,2030,7,49,203012),('2030-12-08',203050,12,2030,8,50,203012),('2030-12-09',203050,12,2030,9,50,203012),('2030-12-10',203050,12,2030,10,50,203012),('2030-12-11',203050,12,2030,11,50,203012),('2030-12-12',203050,12,2030,12,50,203012),('2030-12-13',203050,12,2030,13,50,203012),('2030-12-14',203050,12,2030,14,50,203012),('2030-12-15',203051,12,2030,15,51,203012),('2030-12-16',203051,12,2030,16,51,203012),('2030-12-17',203051,12,2030,17,51,203012),('2030-12-18',203051,12,2030,18,51,203012),('2030-12-19',203051,12,2030,19,51,203012),('2030-12-20',203051,12,2030,20,51,203012),('2030-12-21',203051,12,2030,21,51,203012),('2030-12-22',203052,12,2030,22,52,203012),('2030-12-23',203052,12,2030,23,52,203012),('2030-12-24',203052,12,2030,24,52,203012),('2030-12-25',203052,12,2030,25,52,203012),('2030-12-26',203052,12,2030,26,52,203012),('2030-12-27',203052,12,2030,27,52,203012),('2030-12-28',203052,12,2030,28,52,203012),('2030-12-29',203053,12,2030,29,1,203012),('2030-12-30',203001,12,2030,30,1,203012),('2030-12-31',203001,12,2030,31,1,203012),('2031-01-01',203101,1,2031,1,1,203101),('2031-01-02',203101,1,2031,2,1,203101),('2031-01-03',203101,1,2031,3,1,203101),('2031-01-04',203101,1,2031,4,1,203101),('2031-01-05',203102,1,2031,5,2,203101),('2031-01-06',203102,1,2031,6,2,203101),('2031-01-07',203102,1,2031,7,2,203101),('2031-01-08',203102,1,2031,8,2,203101),('2031-01-09',203102,1,2031,9,2,203101),('2031-01-10',203102,1,2031,10,2,203101),('2031-01-11',203102,1,2031,11,2,203101),('2031-01-12',203103,1,2031,12,3,203101),('2031-01-13',203103,1,2031,13,3,203101),('2031-01-14',203103,1,2031,14,3,203101),('2031-01-15',203103,1,2031,15,3,203101),('2031-01-16',203103,1,2031,16,3,203101),('2031-01-17',203103,1,2031,17,3,203101),('2031-01-18',203103,1,2031,18,3,203101),('2031-01-19',203104,1,2031,19,4,203101),('2031-01-20',203104,1,2031,20,4,203101),('2031-01-21',203104,1,2031,21,4,203101),('2031-01-22',203104,1,2031,22,4,203101),('2031-01-23',203104,1,2031,23,4,203101),('2031-01-24',203104,1,2031,24,4,203101),('2031-01-25',203104,1,2031,25,4,203101),('2031-01-26',203105,1,2031,26,5,203101),('2031-01-27',203105,1,2031,27,5,203101),('2031-01-28',203105,1,2031,28,5,203101),('2031-01-29',203105,1,2031,29,5,203101),('2031-01-30',203105,1,2031,30,5,203101),('2031-01-31',203105,1,2031,31,5,203101),('2031-02-01',203105,2,2031,1,5,203102),('2031-02-02',203106,2,2031,2,6,203102),('2031-02-03',203106,2,2031,3,6,203102),('2031-02-04',203106,2,2031,4,6,203102),('2031-02-05',203106,2,2031,5,6,203102),('2031-02-06',203106,2,2031,6,6,203102),('2031-02-07',203106,2,2031,7,6,203102),('2031-02-08',203106,2,2031,8,6,203102),('2031-02-09',203107,2,2031,9,7,203102),('2031-02-10',203107,2,2031,10,7,203102),('2031-02-11',203107,2,2031,11,7,203102),('2031-02-12',203107,2,2031,12,7,203102),('2031-02-13',203107,2,2031,13,7,203102),('2031-02-14',203107,2,2031,14,7,203102),('2031-02-15',203107,2,2031,15,7,203102),('2031-02-16',203108,2,2031,16,8,203102),('2031-02-17',203108,2,2031,17,8,203102),('2031-02-18',203108,2,2031,18,8,203102),('2031-02-19',203108,2,2031,19,8,203102),('2031-02-20',203108,2,2031,20,8,203102),('2031-02-21',203108,2,2031,21,8,203102),('2031-02-22',203108,2,2031,22,8,203102),('2031-02-23',203109,2,2031,23,9,203102),('2031-02-24',203109,2,2031,24,9,203102),('2031-02-25',203109,2,2031,25,9,203102),('2031-02-26',203109,2,2031,26,9,203102),('2031-02-27',203109,2,2031,27,9,203102),('2031-02-28',203109,2,2031,28,9,203102),('2031-03-01',203109,3,2031,1,9,203103),('2031-03-02',203110,3,2031,2,10,203103),('2031-03-03',203110,3,2031,3,10,203103),('2031-03-04',203110,3,2031,4,10,203103),('2031-03-05',203110,3,2031,5,10,203103),('2031-03-06',203110,3,2031,6,10,203103),('2031-03-07',203110,3,2031,7,10,203103),('2031-03-08',203110,3,2031,8,10,203103),('2031-03-09',203111,3,2031,9,11,203103),('2031-03-10',203111,3,2031,10,11,203103),('2031-03-11',203111,3,2031,11,11,203103),('2031-03-12',203111,3,2031,12,11,203103),('2031-03-13',203111,3,2031,13,11,203103),('2031-03-14',203111,3,2031,14,11,203103),('2031-03-15',203111,3,2031,15,11,203103),('2031-03-16',203112,3,2031,16,12,203103),('2031-03-17',203112,3,2031,17,12,203103),('2031-03-18',203112,3,2031,18,12,203103),('2031-03-19',203112,3,2031,19,12,203103),('2031-03-20',203112,3,2031,20,12,203103),('2031-03-21',203112,3,2031,21,12,203103),('2031-03-22',203112,3,2031,22,12,203103),('2031-03-23',203113,3,2031,23,13,203103),('2031-03-24',203113,3,2031,24,13,203103),('2031-03-25',203113,3,2031,25,13,203103),('2031-03-26',203113,3,2031,26,13,203103),('2031-03-27',203113,3,2031,27,13,203103),('2031-03-28',203113,3,2031,28,13,203103),('2031-03-29',203113,3,2031,29,13,203103),('2031-03-30',203114,3,2031,30,14,203103),('2031-03-31',203114,3,2031,31,14,203103),('2031-04-01',203114,4,2031,1,14,203104),('2031-04-02',203114,4,2031,2,14,203104),('2031-04-03',203114,4,2031,3,14,203104),('2031-04-04',203114,4,2031,4,14,203104),('2031-04-05',203114,4,2031,5,14,203104),('2031-04-06',203115,4,2031,6,15,203104),('2031-04-07',203115,4,2031,7,15,203104),('2031-04-08',203115,4,2031,8,15,203104),('2031-04-09',203115,4,2031,9,15,203104),('2031-04-10',203115,4,2031,10,15,203104),('2031-04-11',203115,4,2031,11,15,203104),('2031-04-12',203115,4,2031,12,15,203104),('2031-04-13',203116,4,2031,13,16,203104),('2031-04-14',203116,4,2031,14,16,203104),('2031-04-15',203116,4,2031,15,16,203104),('2031-04-16',203116,4,2031,16,16,203104),('2031-04-17',203116,4,2031,17,16,203104),('2031-04-18',203116,4,2031,18,16,203104),('2031-04-19',203116,4,2031,19,16,203104),('2031-04-20',203117,4,2031,20,17,203104),('2031-04-21',203117,4,2031,21,17,203104),('2031-04-22',203117,4,2031,22,17,203104),('2031-04-23',203117,4,2031,23,17,203104),('2031-04-24',203117,4,2031,24,17,203104),('2031-04-25',203117,4,2031,25,17,203104),('2031-04-26',203117,4,2031,26,17,203104),('2031-04-27',203118,4,2031,27,18,203104),('2031-04-28',203118,4,2031,28,18,203104),('2031-04-29',203118,4,2031,29,18,203104),('2031-04-30',203118,4,2031,30,18,203104),('2031-05-01',203118,5,2031,1,18,203105),('2031-05-02',203118,5,2031,2,18,203105),('2031-05-03',203118,5,2031,3,18,203105),('2031-05-04',203119,5,2031,4,19,203105),('2031-05-05',203119,5,2031,5,19,203105),('2031-05-06',203119,5,2031,6,19,203105),('2031-05-07',203119,5,2031,7,19,203105),('2031-05-08',203119,5,2031,8,19,203105),('2031-05-09',203119,5,2031,9,19,203105),('2031-05-10',203119,5,2031,10,19,203105),('2031-05-11',203120,5,2031,11,20,203105),('2031-05-12',203120,5,2031,12,20,203105),('2031-05-13',203120,5,2031,13,20,203105),('2031-05-14',203120,5,2031,14,20,203105),('2031-05-15',203120,5,2031,15,20,203105),('2031-05-16',203120,5,2031,16,20,203105),('2031-05-17',203120,5,2031,17,20,203105),('2031-05-18',203121,5,2031,18,21,203105),('2031-05-19',203121,5,2031,19,21,203105),('2031-05-20',203121,5,2031,20,21,203105),('2031-05-21',203121,5,2031,21,21,203105),('2031-05-22',203121,5,2031,22,21,203105),('2031-05-23',203121,5,2031,23,21,203105),('2031-05-24',203121,5,2031,24,21,203105),('2031-05-25',203122,5,2031,25,22,203105),('2031-05-26',203122,5,2031,26,22,203105),('2031-05-27',203122,5,2031,27,22,203105),('2031-05-28',203122,5,2031,28,22,203105),('2031-05-29',203122,5,2031,29,22,203105),('2031-05-30',203122,5,2031,30,22,203105),('2031-05-31',203122,5,2031,31,22,203105),('2031-06-01',203123,6,2031,1,23,203106),('2031-06-02',203123,6,2031,2,23,203106),('2031-06-03',203123,6,2031,3,23,203106),('2031-06-04',203123,6,2031,4,23,203106),('2031-06-05',203123,6,2031,5,23,203106),('2031-06-06',203123,6,2031,6,23,203106),('2031-06-07',203123,6,2031,7,23,203106),('2031-06-08',203124,6,2031,8,24,203106),('2031-06-09',203124,6,2031,9,24,203106),('2031-06-10',203124,6,2031,10,24,203106),('2031-06-11',203124,6,2031,11,24,203106),('2031-06-12',203124,6,2031,12,24,203106),('2031-06-13',203124,6,2031,13,24,203106),('2031-06-14',203124,6,2031,14,24,203106),('2031-06-15',203125,6,2031,15,25,203106),('2031-06-16',203125,6,2031,16,25,203106),('2031-06-17',203125,6,2031,17,25,203106),('2031-06-18',203125,6,2031,18,25,203106),('2031-06-19',203125,6,2031,19,25,203106),('2031-06-20',203125,6,2031,20,25,203106),('2031-06-21',203125,6,2031,21,25,203106),('2031-06-22',203126,6,2031,22,26,203106),('2031-06-23',203126,6,2031,23,26,203106),('2031-06-24',203126,6,2031,24,26,203106),('2031-06-25',203126,6,2031,25,26,203106),('2031-06-26',203126,6,2031,26,26,203106),('2031-06-27',203126,6,2031,27,26,203106),('2031-06-28',203126,6,2031,28,26,203106),('2031-06-29',203127,6,2031,29,27,203106),('2031-06-30',203127,6,2031,30,27,203106),('2031-07-01',203127,7,2031,1,27,203107),('2031-07-02',203127,7,2031,2,27,203107),('2031-07-03',203127,7,2031,3,27,203107),('2031-07-04',203127,7,2031,4,27,203107),('2031-07-05',203127,7,2031,5,27,203107),('2031-07-06',203128,7,2031,6,28,203107),('2031-07-07',203128,7,2031,7,28,203107),('2031-07-08',203128,7,2031,8,28,203107),('2031-07-09',203128,7,2031,9,28,203107),('2031-07-10',203128,7,2031,10,28,203107),('2031-07-11',203128,7,2031,11,28,203107),('2031-07-12',203128,7,2031,12,28,203107),('2031-07-13',203129,7,2031,13,29,203107),('2031-07-14',203129,7,2031,14,29,203107),('2031-07-15',203129,7,2031,15,29,203107),('2031-07-16',203129,7,2031,16,29,203107),('2031-07-17',203129,7,2031,17,29,203107),('2031-07-18',203129,7,2031,18,29,203107),('2031-07-19',203129,7,2031,19,29,203107),('2031-07-20',203130,7,2031,20,30,203107),('2031-07-21',203130,7,2031,21,30,203107),('2031-07-22',203130,7,2031,22,30,203107),('2031-07-23',203130,7,2031,23,30,203107),('2031-07-24',203130,7,2031,24,30,203107),('2031-07-25',203130,7,2031,25,30,203107),('2031-07-26',203130,7,2031,26,30,203107),('2031-07-27',203131,7,2031,27,31,203107),('2031-07-28',203131,7,2031,28,31,203107),('2031-07-29',203131,7,2031,29,31,203107),('2031-07-30',203131,7,2031,30,31,203107),('2031-07-31',203131,7,2031,31,31,203107),('2031-08-01',203131,8,2031,1,31,203108),('2031-08-02',203131,8,2031,2,31,203108),('2031-08-03',203132,8,2031,3,32,203108),('2031-08-04',203132,8,2031,4,32,203108),('2031-08-05',203132,8,2031,5,32,203108),('2031-08-06',203132,8,2031,6,32,203108),('2031-08-07',203132,8,2031,7,32,203108),('2031-08-08',203132,8,2031,8,32,203108),('2031-08-09',203132,8,2031,9,32,203108),('2031-08-10',203133,8,2031,10,33,203108),('2031-08-11',203133,8,2031,11,33,203108),('2031-08-12',203133,8,2031,12,33,203108),('2031-08-13',203133,8,2031,13,33,203108),('2031-08-14',203133,8,2031,14,33,203108),('2031-08-15',203133,8,2031,15,33,203108),('2031-08-16',203133,8,2031,16,33,203108),('2031-08-17',203134,8,2031,17,34,203108),('2031-08-18',203134,8,2031,18,34,203108),('2031-08-19',203134,8,2031,19,34,203108),('2031-08-20',203134,8,2031,20,34,203108),('2031-08-21',203134,8,2031,21,34,203108),('2031-08-22',203134,8,2031,22,34,203108),('2031-08-23',203134,8,2031,23,34,203108),('2031-08-24',203135,8,2031,24,35,203108),('2031-08-25',203135,8,2031,25,35,203108),('2031-08-26',203135,8,2031,26,35,203108),('2031-08-27',203135,8,2031,27,35,203108),('2031-08-28',203135,8,2031,28,35,203108),('2031-08-29',203135,8,2031,29,35,203108),('2031-08-30',203135,8,2031,30,35,203108),('2031-08-31',203136,8,2031,31,36,203108),('2031-09-01',203136,9,2031,1,36,203109),('2031-09-02',203136,9,2031,2,36,203109),('2031-09-03',203136,9,2031,3,36,203109),('2031-09-04',203136,9,2031,4,36,203109),('2031-09-05',203136,9,2031,5,36,203109),('2031-09-06',203136,9,2031,6,36,203109),('2031-09-07',203137,9,2031,7,37,203109),('2031-09-08',203137,9,2031,8,37,203109),('2031-09-09',203137,9,2031,9,37,203109),('2031-09-10',203137,9,2031,10,37,203109),('2031-09-11',203137,9,2031,11,37,203109),('2031-09-12',203137,9,2031,12,37,203109),('2031-09-13',203137,9,2031,13,37,203109),('2031-09-14',203138,9,2031,14,38,203109),('2031-09-15',203138,9,2031,15,38,203109),('2031-09-16',203138,9,2031,16,38,203109),('2031-09-17',203138,9,2031,17,38,203109),('2031-09-18',203138,9,2031,18,38,203109),('2031-09-19',203138,9,2031,19,38,203109),('2031-09-20',203138,9,2031,20,38,203109),('2031-09-21',203139,9,2031,21,39,203109),('2031-09-22',203139,9,2031,22,39,203109),('2031-09-23',203139,9,2031,23,39,203109),('2031-09-24',203139,9,2031,24,39,203109),('2031-09-25',203139,9,2031,25,39,203109),('2031-09-26',203139,9,2031,26,39,203109),('2031-09-27',203139,9,2031,27,39,203109),('2031-09-28',203140,9,2031,28,40,203109),('2031-09-29',203140,9,2031,29,40,203109),('2031-09-30',203140,9,2031,30,40,203109),('2031-10-01',203140,10,2031,1,40,203110),('2031-10-02',203140,10,2031,2,40,203110),('2031-10-03',203140,10,2031,3,40,203110),('2031-10-04',203140,10,2031,4,40,203110),('2031-10-05',203141,10,2031,5,41,203110),('2031-10-06',203141,10,2031,6,41,203110),('2031-10-07',203141,10,2031,7,41,203110),('2031-10-08',203141,10,2031,8,41,203110),('2031-10-09',203141,10,2031,9,41,203110),('2031-10-10',203141,10,2031,10,41,203110),('2031-10-11',203141,10,2031,11,41,203110),('2031-10-12',203142,10,2031,12,42,203110),('2031-10-13',203142,10,2031,13,42,203110),('2031-10-14',203142,10,2031,14,42,203110),('2031-10-15',203142,10,2031,15,42,203110),('2031-10-16',203142,10,2031,16,42,203110),('2031-10-17',203142,10,2031,17,42,203110),('2031-10-18',203142,10,2031,18,42,203110),('2031-10-19',203143,10,2031,19,43,203110),('2031-10-20',203143,10,2031,20,43,203110),('2031-10-21',203143,10,2031,21,43,203110),('2031-10-22',203143,10,2031,22,43,203110),('2031-10-23',203143,10,2031,23,43,203110),('2031-10-24',203143,10,2031,24,43,203110),('2031-10-25',203143,10,2031,25,43,203110),('2031-10-26',203144,10,2031,26,44,203110),('2031-10-27',203144,10,2031,27,44,203110),('2031-10-28',203144,10,2031,28,44,203110),('2031-10-29',203144,10,2031,29,44,203110),('2031-10-30',203144,10,2031,30,44,203110),('2031-10-31',203144,10,2031,31,44,203110),('2031-11-01',203144,11,2031,1,44,203111),('2031-11-02',203145,11,2031,2,45,203111),('2031-11-03',203145,11,2031,3,45,203111),('2031-11-04',203145,11,2031,4,45,203111),('2031-11-05',203145,11,2031,5,45,203111),('2031-11-06',203145,11,2031,6,45,203111),('2031-11-07',203145,11,2031,7,45,203111),('2031-11-08',203145,11,2031,8,45,203111),('2031-11-09',203146,11,2031,9,46,203111),('2031-11-10',203146,11,2031,10,46,203111),('2031-11-11',203146,11,2031,11,46,203111),('2031-11-12',203146,11,2031,12,46,203111),('2031-11-13',203146,11,2031,13,46,203111),('2031-11-14',203146,11,2031,14,46,203111),('2031-11-15',203146,11,2031,15,46,203111),('2031-11-16',203147,11,2031,16,47,203111),('2031-11-17',203147,11,2031,17,47,203111),('2031-11-18',203147,11,2031,18,47,203111),('2031-11-19',203147,11,2031,19,47,203111),('2031-11-20',203147,11,2031,20,47,203111),('2031-11-21',203147,11,2031,21,47,203111),('2031-11-22',203147,11,2031,22,47,203111),('2031-11-23',203148,11,2031,23,48,203111),('2031-11-24',203148,11,2031,24,48,203111),('2031-11-25',203148,11,2031,25,48,203111),('2031-11-26',203148,11,2031,26,48,203111),('2031-11-27',203148,11,2031,27,48,203111),('2031-11-28',203148,11,2031,28,48,203111),('2031-11-29',203148,11,2031,29,48,203111),('2031-11-30',203149,11,2031,30,49,203111),('2031-12-01',203149,12,2031,1,49,203112),('2031-12-02',203149,12,2031,2,49,203112),('2031-12-03',203149,12,2031,3,49,203112),('2031-12-04',203149,12,2031,4,49,203112),('2031-12-05',203149,12,2031,5,49,203112),('2031-12-06',203149,12,2031,6,49,203112),('2031-12-07',203150,12,2031,7,50,203112),('2031-12-08',203150,12,2031,8,50,203112),('2031-12-09',203150,12,2031,9,50,203112),('2031-12-10',203150,12,2031,10,50,203112),('2031-12-11',203150,12,2031,11,50,203112),('2031-12-12',203150,12,2031,12,50,203112),('2031-12-13',203150,12,2031,13,50,203112),('2031-12-14',203151,12,2031,14,51,203112),('2031-12-15',203151,12,2031,15,51,203112),('2031-12-16',203151,12,2031,16,51,203112),('2031-12-17',203151,12,2031,17,51,203112),('2031-12-18',203151,12,2031,18,51,203112),('2031-12-19',203151,12,2031,19,51,203112),('2031-12-20',203151,12,2031,20,51,203112),('2031-12-21',203152,12,2031,21,52,203112),('2031-12-22',203152,12,2031,22,52,203112),('2031-12-23',203152,12,2031,23,52,203112),('2031-12-24',203152,12,2031,24,52,203112),('2031-12-25',203152,12,2031,25,52,203112),('2031-12-26',203152,12,2031,26,52,203112),('2031-12-27',203152,12,2031,27,52,203112),('2031-12-28',203153,12,2031,28,53,203112),('2031-12-29',203101,12,2031,29,53,203112),('2031-12-30',203101,12,2031,30,53,203112),('2031-12-31',203101,12,2031,31,53,203112),('2032-01-01',203201,1,2032,1,53,203201),('2032-01-02',203201,1,2032,2,53,203201),('2032-01-03',203201,1,2032,3,53,203201),('2032-01-04',203202,1,2032,4,1,203201),('2032-01-05',203202,1,2032,5,1,203201),('2032-01-06',203202,1,2032,6,1,203201),('2032-01-07',203202,1,2032,7,1,203201),('2032-01-08',203202,1,2032,8,1,203201),('2032-01-09',203202,1,2032,9,1,203201),('2032-01-10',203202,1,2032,10,1,203201),('2032-01-11',203203,1,2032,11,2,203201),('2032-01-12',203203,1,2032,12,2,203201),('2032-01-13',203203,1,2032,13,2,203201),('2032-01-14',203203,1,2032,14,2,203201),('2032-01-15',203203,1,2032,15,2,203201),('2032-01-16',203203,1,2032,16,2,203201),('2032-01-17',203203,1,2032,17,2,203201),('2032-01-18',203204,1,2032,18,3,203201),('2032-01-19',203204,1,2032,19,3,203201),('2032-01-20',203204,1,2032,20,3,203201),('2032-01-21',203204,1,2032,21,3,203201),('2032-01-22',203204,1,2032,22,3,203201),('2032-01-23',203204,1,2032,23,3,203201),('2032-01-24',203204,1,2032,24,3,203201),('2032-01-25',203205,1,2032,25,4,203201),('2032-01-26',203205,1,2032,26,4,203201),('2032-01-27',203205,1,2032,27,4,203201),('2032-01-28',203205,1,2032,28,4,203201),('2032-01-29',203205,1,2032,29,4,203201),('2032-01-30',203205,1,2032,30,4,203201),('2032-01-31',203205,1,2032,31,4,203201),('2032-02-01',203206,2,2032,1,5,203202),('2032-02-02',203206,2,2032,2,5,203202),('2032-02-03',203206,2,2032,3,5,203202),('2032-02-04',203206,2,2032,4,5,203202),('2032-02-05',203206,2,2032,5,5,203202),('2032-02-06',203206,2,2032,6,5,203202),('2032-02-07',203206,2,2032,7,5,203202),('2032-02-08',203207,2,2032,8,6,203202),('2032-02-09',203207,2,2032,9,6,203202),('2032-02-10',203207,2,2032,10,6,203202),('2032-02-11',203207,2,2032,11,6,203202),('2032-02-12',203207,2,2032,12,6,203202),('2032-02-13',203207,2,2032,13,6,203202),('2032-02-14',203207,2,2032,14,6,203202),('2032-02-15',203208,2,2032,15,7,203202),('2032-02-16',203208,2,2032,16,7,203202),('2032-02-17',203208,2,2032,17,7,203202),('2032-02-18',203208,2,2032,18,7,203202),('2032-02-19',203208,2,2032,19,7,203202),('2032-02-20',203208,2,2032,20,7,203202),('2032-02-21',203208,2,2032,21,7,203202),('2032-02-22',203209,2,2032,22,8,203202),('2032-02-23',203209,2,2032,23,8,203202),('2032-02-24',203209,2,2032,24,8,203202),('2032-02-25',203209,2,2032,25,8,203202),('2032-02-26',203209,2,2032,26,8,203202),('2032-02-27',203209,2,2032,27,8,203202),('2032-02-28',203209,2,2032,28,8,203202),('2032-02-29',203210,2,2032,29,9,203202),('2032-03-01',203210,3,2032,1,9,203203),('2032-03-02',203210,3,2032,2,9,203203),('2032-03-03',203210,3,2032,3,9,203203),('2032-03-04',203210,3,2032,4,9,203203),('2032-03-05',203210,3,2032,5,9,203203),('2032-03-06',203210,3,2032,6,9,203203),('2032-03-07',203211,3,2032,7,10,203203),('2032-03-08',203211,3,2032,8,10,203203),('2032-03-09',203211,3,2032,9,10,203203),('2032-03-10',203211,3,2032,10,10,203203),('2032-03-11',203211,3,2032,11,10,203203),('2032-03-12',203211,3,2032,12,10,203203),('2032-03-13',203211,3,2032,13,10,203203),('2032-03-14',203212,3,2032,14,11,203203),('2032-03-15',203212,3,2032,15,11,203203),('2032-03-16',203212,3,2032,16,11,203203),('2032-03-17',203212,3,2032,17,11,203203),('2032-03-18',203212,3,2032,18,11,203203),('2032-03-19',203212,3,2032,19,11,203203),('2032-03-20',203212,3,2032,20,11,203203),('2032-03-21',203213,3,2032,21,12,203203),('2032-03-22',203213,3,2032,22,12,203203),('2032-03-23',203213,3,2032,23,12,203203),('2032-03-24',203213,3,2032,24,12,203203),('2032-03-25',203213,3,2032,25,12,203203),('2032-03-26',203213,3,2032,26,12,203203),('2032-03-27',203213,3,2032,27,12,203203),('2032-03-28',203214,3,2032,28,13,203203),('2032-03-29',203214,3,2032,29,13,203203),('2032-03-30',203214,3,2032,30,13,203203),('2032-03-31',203214,3,2032,31,13,203203),('2032-04-01',203214,4,2032,1,13,203204),('2032-04-02',203214,4,2032,2,13,203204),('2032-04-03',203214,4,2032,3,13,203204),('2032-04-04',203215,4,2032,4,14,203204),('2032-04-05',203215,4,2032,5,14,203204),('2032-04-06',203215,4,2032,6,14,203204),('2032-04-07',203215,4,2032,7,14,203204),('2032-04-08',203215,4,2032,8,14,203204),('2032-04-09',203215,4,2032,9,14,203204),('2032-04-10',203215,4,2032,10,14,203204),('2032-04-11',203216,4,2032,11,15,203204),('2032-04-12',203216,4,2032,12,15,203204),('2032-04-13',203216,4,2032,13,15,203204),('2032-04-14',203216,4,2032,14,15,203204),('2032-04-15',203216,4,2032,15,15,203204),('2032-04-16',203216,4,2032,16,15,203204),('2032-04-17',203216,4,2032,17,15,203204),('2032-04-18',203217,4,2032,18,16,203204),('2032-04-19',203217,4,2032,19,16,203204),('2032-04-20',203217,4,2032,20,16,203204),('2032-04-21',203217,4,2032,21,16,203204),('2032-04-22',203217,4,2032,22,16,203204),('2032-04-23',203217,4,2032,23,16,203204),('2032-04-24',203217,4,2032,24,16,203204),('2032-04-25',203218,4,2032,25,17,203204),('2032-04-26',203218,4,2032,26,17,203204),('2032-04-27',203218,4,2032,27,17,203204),('2032-04-28',203218,4,2032,28,17,203204),('2032-04-29',203218,4,2032,29,17,203204),('2032-04-30',203218,4,2032,30,17,203204),('2032-05-01',203218,5,2032,1,17,203205),('2032-05-02',203219,5,2032,2,18,203205),('2032-05-03',203219,5,2032,3,18,203205),('2032-05-04',203219,5,2032,4,18,203205),('2032-05-05',203219,5,2032,5,18,203205),('2032-05-06',203219,5,2032,6,18,203205),('2032-05-07',203219,5,2032,7,18,203205),('2032-05-08',203219,5,2032,8,18,203205),('2032-05-09',203220,5,2032,9,19,203205),('2032-05-10',203220,5,2032,10,19,203205),('2032-05-11',203220,5,2032,11,19,203205),('2032-05-12',203220,5,2032,12,19,203205),('2032-05-13',203220,5,2032,13,19,203205),('2032-05-14',203220,5,2032,14,19,203205),('2032-05-15',203220,5,2032,15,19,203205),('2032-05-16',203221,5,2032,16,20,203205),('2032-05-17',203221,5,2032,17,20,203205),('2032-05-18',203221,5,2032,18,20,203205),('2032-05-19',203221,5,2032,19,20,203205),('2032-05-20',203221,5,2032,20,20,203205),('2032-05-21',203221,5,2032,21,20,203205),('2032-05-22',203221,5,2032,22,20,203205),('2032-05-23',203222,5,2032,23,21,203205),('2032-05-24',203222,5,2032,24,21,203205),('2032-05-25',203222,5,2032,25,21,203205),('2032-05-26',203222,5,2032,26,21,203205),('2032-05-27',203222,5,2032,27,21,203205),('2032-05-28',203222,5,2032,28,21,203205),('2032-05-29',203222,5,2032,29,21,203205),('2032-05-30',203223,5,2032,30,22,203205),('2032-05-31',203223,5,2032,31,22,203205),('2032-06-01',203223,6,2032,1,22,203206),('2032-06-02',203223,6,2032,2,22,203206),('2032-06-03',203223,6,2032,3,22,203206),('2032-06-04',203223,6,2032,4,22,203206),('2032-06-05',203223,6,2032,5,22,203206),('2032-06-06',203224,6,2032,6,23,203206),('2032-06-07',203224,6,2032,7,23,203206),('2032-06-08',203224,6,2032,8,23,203206),('2032-06-09',203224,6,2032,9,23,203206),('2032-06-10',203224,6,2032,10,23,203206),('2032-06-11',203224,6,2032,11,23,203206),('2032-06-12',203224,6,2032,12,23,203206),('2032-06-13',203225,6,2032,13,24,203206),('2032-06-14',203225,6,2032,14,24,203206),('2032-06-15',203225,6,2032,15,24,203206),('2032-06-16',203225,6,2032,16,24,203206),('2032-06-17',203225,6,2032,17,24,203206),('2032-06-18',203225,6,2032,18,24,203206),('2032-06-19',203225,6,2032,19,24,203206),('2032-06-20',203226,6,2032,20,25,203206),('2032-06-21',203226,6,2032,21,25,203206),('2032-06-22',203226,6,2032,22,25,203206),('2032-06-23',203226,6,2032,23,25,203206),('2032-06-24',203226,6,2032,24,25,203206),('2032-06-25',203226,6,2032,25,25,203206),('2032-06-26',203226,6,2032,26,25,203206),('2032-06-27',203227,6,2032,27,26,203206),('2032-06-28',203227,6,2032,28,26,203206),('2032-06-29',203227,6,2032,29,26,203206),('2032-06-30',203227,6,2032,30,26,203206),('2032-07-01',203227,7,2032,1,26,203207),('2032-07-02',203227,7,2032,2,26,203207),('2032-07-03',203227,7,2032,3,26,203207),('2032-07-04',203228,7,2032,4,27,203207),('2032-07-05',203228,7,2032,5,27,203207),('2032-07-06',203228,7,2032,6,27,203207),('2032-07-07',203228,7,2032,7,27,203207),('2032-07-08',203228,7,2032,8,27,203207),('2032-07-09',203228,7,2032,9,27,203207),('2032-07-10',203228,7,2032,10,27,203207),('2032-07-11',203229,7,2032,11,28,203207),('2032-07-12',203229,7,2032,12,28,203207),('2032-07-13',203229,7,2032,13,28,203207),('2032-07-14',203229,7,2032,14,28,203207),('2032-07-15',203229,7,2032,15,28,203207),('2032-07-16',203229,7,2032,16,28,203207),('2032-07-17',203229,7,2032,17,28,203207),('2032-07-18',203230,7,2032,18,29,203207),('2032-07-19',203230,7,2032,19,29,203207),('2032-07-20',203230,7,2032,20,29,203207),('2032-07-21',203230,7,2032,21,29,203207),('2032-07-22',203230,7,2032,22,29,203207),('2032-07-23',203230,7,2032,23,29,203207),('2032-07-24',203230,7,2032,24,29,203207),('2032-07-25',203231,7,2032,25,30,203207),('2032-07-26',203231,7,2032,26,30,203207),('2032-07-27',203231,7,2032,27,30,203207),('2032-07-28',203231,7,2032,28,30,203207),('2032-07-29',203231,7,2032,29,30,203207),('2032-07-30',203231,7,2032,30,30,203207),('2032-07-31',203231,7,2032,31,30,203207),('2032-08-01',203232,8,2032,1,31,203208),('2032-08-02',203232,8,2032,2,31,203208),('2032-08-03',203232,8,2032,3,31,203208),('2032-08-04',203232,8,2032,4,31,203208),('2032-08-05',203232,8,2032,5,31,203208),('2032-08-06',203232,8,2032,6,31,203208),('2032-08-07',203232,8,2032,7,31,203208),('2032-08-08',203233,8,2032,8,32,203208),('2032-08-09',203233,8,2032,9,32,203208),('2032-08-10',203233,8,2032,10,32,203208),('2032-08-11',203233,8,2032,11,32,203208),('2032-08-12',203233,8,2032,12,32,203208),('2032-08-13',203233,8,2032,13,32,203208),('2032-08-14',203233,8,2032,14,32,203208),('2032-08-15',203234,8,2032,15,33,203208),('2032-08-16',203234,8,2032,16,33,203208),('2032-08-17',203234,8,2032,17,33,203208),('2032-08-18',203234,8,2032,18,33,203208),('2032-08-19',203234,8,2032,19,33,203208),('2032-08-20',203234,8,2032,20,33,203208),('2032-08-21',203234,8,2032,21,33,203208),('2032-08-22',203235,8,2032,22,34,203208),('2032-08-23',203235,8,2032,23,34,203208),('2032-08-24',203235,8,2032,24,34,203208),('2032-08-25',203235,8,2032,25,34,203208),('2032-08-26',203235,8,2032,26,34,203208),('2032-08-27',203235,8,2032,27,34,203208),('2032-08-28',203235,8,2032,28,34,203208),('2032-08-29',203236,8,2032,29,35,203208),('2032-08-30',203236,8,2032,30,35,203208),('2032-08-31',203236,8,2032,31,35,203208),('2032-09-01',203236,9,2032,1,35,203209),('2032-09-02',203236,9,2032,2,35,203209),('2032-09-03',203236,9,2032,3,35,203209),('2032-09-04',203236,9,2032,4,35,203209),('2032-09-05',203237,9,2032,5,36,203209),('2032-09-06',203237,9,2032,6,36,203209),('2032-09-07',203237,9,2032,7,36,203209),('2032-09-08',203237,9,2032,8,36,203209),('2032-09-09',203237,9,2032,9,36,203209),('2032-09-10',203237,9,2032,10,36,203209),('2032-09-11',203237,9,2032,11,36,203209),('2032-09-12',203238,9,2032,12,37,203209),('2032-09-13',203238,9,2032,13,37,203209),('2032-09-14',203238,9,2032,14,37,203209),('2032-09-15',203238,9,2032,15,37,203209),('2032-09-16',203238,9,2032,16,37,203209),('2032-09-17',203238,9,2032,17,37,203209),('2032-09-18',203238,9,2032,18,37,203209),('2032-09-19',203239,9,2032,19,38,203209),('2032-09-20',203239,9,2032,20,38,203209),('2032-09-21',203239,9,2032,21,38,203209),('2032-09-22',203239,9,2032,22,38,203209),('2032-09-23',203239,9,2032,23,38,203209),('2032-09-24',203239,9,2032,24,38,203209),('2032-09-25',203239,9,2032,25,38,203209),('2032-09-26',203240,9,2032,26,39,203209),('2032-09-27',203240,9,2032,27,39,203209),('2032-09-28',203240,9,2032,28,39,203209),('2032-09-29',203240,9,2032,29,39,203209),('2032-09-30',203240,9,2032,30,39,203209),('2032-10-01',203240,10,2032,1,39,203210),('2032-10-02',203240,10,2032,2,39,203210),('2032-10-03',203241,10,2032,3,40,203210),('2032-10-04',203241,10,2032,4,40,203210),('2032-10-05',203241,10,2032,5,40,203210),('2032-10-06',203241,10,2032,6,40,203210),('2032-10-07',203241,10,2032,7,40,203210),('2032-10-08',203241,10,2032,8,40,203210),('2032-10-09',203241,10,2032,9,40,203210),('2032-10-10',203242,10,2032,10,41,203210),('2032-10-11',203242,10,2032,11,41,203210),('2032-10-12',203242,10,2032,12,41,203210),('2032-10-13',203242,10,2032,13,41,203210),('2032-10-14',203242,10,2032,14,41,203210),('2032-10-15',203242,10,2032,15,41,203210),('2032-10-16',203242,10,2032,16,41,203210),('2032-10-17',203243,10,2032,17,42,203210),('2032-10-18',203243,10,2032,18,42,203210),('2032-10-19',203243,10,2032,19,42,203210),('2032-10-20',203243,10,2032,20,42,203210),('2032-10-21',203243,10,2032,21,42,203210),('2032-10-22',203243,10,2032,22,42,203210),('2032-10-23',203243,10,2032,23,42,203210),('2032-10-24',203244,10,2032,24,43,203210),('2032-10-25',203244,10,2032,25,43,203210),('2032-10-26',203244,10,2032,26,43,203210),('2032-10-27',203244,10,2032,27,43,203210),('2032-10-28',203244,10,2032,28,43,203210),('2032-10-29',203244,10,2032,29,43,203210),('2032-10-30',203244,10,2032,30,43,203210),('2032-10-31',203245,10,2032,31,44,203210),('2032-11-01',203245,11,2032,1,44,203211),('2032-11-02',203245,11,2032,2,44,203211),('2032-11-03',203245,11,2032,3,44,203211),('2032-11-04',203245,11,2032,4,44,203211),('2032-11-05',203245,11,2032,5,44,203211),('2032-11-06',203245,11,2032,6,44,203211),('2032-11-07',203246,11,2032,7,45,203211),('2032-11-08',203246,11,2032,8,45,203211),('2032-11-09',203246,11,2032,9,45,203211),('2032-11-10',203246,11,2032,10,45,203211),('2032-11-11',203246,11,2032,11,45,203211),('2032-11-12',203246,11,2032,12,45,203211),('2032-11-13',203246,11,2032,13,45,203211),('2032-11-14',203247,11,2032,14,46,203211),('2032-11-15',203247,11,2032,15,46,203211),('2032-11-16',203247,11,2032,16,46,203211),('2032-11-17',203247,11,2032,17,46,203211),('2032-11-18',203247,11,2032,18,46,203211),('2032-11-19',203247,11,2032,19,46,203211),('2032-11-20',203247,11,2032,20,46,203211),('2032-11-21',203248,11,2032,21,47,203211),('2032-11-22',203248,11,2032,22,47,203211),('2032-11-23',203248,11,2032,23,47,203211),('2032-11-24',203248,11,2032,24,47,203211),('2032-11-25',203248,11,2032,25,47,203211),('2032-11-26',203248,11,2032,26,47,203211),('2032-11-27',203248,11,2032,27,47,203211),('2032-11-28',203249,11,2032,28,48,203211),('2032-11-29',203249,11,2032,29,48,203211),('2032-11-30',203249,11,2032,30,48,203211),('2032-12-01',203249,12,2032,1,48,203212),('2032-12-02',203249,12,2032,2,48,203212),('2032-12-03',203249,12,2032,3,48,203212),('2032-12-04',203249,12,2032,4,48,203212),('2032-12-05',203250,12,2032,5,49,203212),('2032-12-06',203250,12,2032,6,49,203212),('2032-12-07',203250,12,2032,7,49,203212),('2032-12-08',203250,12,2032,8,49,203212),('2032-12-09',203250,12,2032,9,49,203212),('2032-12-10',203250,12,2032,10,49,203212),('2032-12-11',203250,12,2032,11,49,203212),('2032-12-12',203251,12,2032,12,50,203212),('2032-12-13',203251,12,2032,13,50,203212),('2032-12-14',203251,12,2032,14,50,203212),('2032-12-15',203251,12,2032,15,50,203212),('2032-12-16',203251,12,2032,16,50,203212),('2032-12-17',203251,12,2032,17,50,203212),('2032-12-18',203251,12,2032,18,50,203212),('2032-12-19',203252,12,2032,19,51,203212),('2032-12-20',203252,12,2032,20,51,203212),('2032-12-21',203252,12,2032,21,51,203212),('2032-12-22',203252,12,2032,22,51,203212),('2032-12-23',203252,12,2032,23,51,203212),('2032-12-24',203252,12,2032,24,51,203212),('2032-12-25',203252,12,2032,25,51,203212),('2032-12-26',203253,12,2032,26,52,203212),('2032-12-27',203253,12,2032,27,52,203212),('2032-12-28',203253,12,2032,28,52,203212),('2032-12-29',203253,12,2032,29,52,203212),('2032-12-30',203253,12,2032,30,52,203212),('2032-12-31',203253,12,2032,31,52,203212),('2033-01-01',203353,1,2033,1,52,203301),('2033-01-02',203354,1,2033,2,1,203301),('2033-01-03',203301,1,2033,3,1,203301),('2033-01-04',203301,1,2033,4,1,203301),('2033-01-05',203301,1,2033,5,1,203301),('2033-01-06',203301,1,2033,6,1,203301),('2033-01-07',203301,1,2033,7,1,203301),('2033-01-08',203301,1,2033,8,1,203301),('2033-01-09',203302,1,2033,9,2,203301),('2033-01-10',203302,1,2033,10,2,203301),('2033-01-11',203302,1,2033,11,2,203301),('2033-01-12',203302,1,2033,12,2,203301),('2033-01-13',203302,1,2033,13,2,203301),('2033-01-14',203302,1,2033,14,2,203301),('2033-01-15',203302,1,2033,15,2,203301),('2033-01-16',203303,1,2033,16,3,203301),('2033-01-17',203303,1,2033,17,3,203301),('2033-01-18',203303,1,2033,18,3,203301),('2033-01-19',203303,1,2033,19,3,203301),('2033-01-20',203303,1,2033,20,3,203301),('2033-01-21',203303,1,2033,21,3,203301),('2033-01-22',203303,1,2033,22,3,203301),('2033-01-23',203304,1,2033,23,4,203301),('2033-01-24',203304,1,2033,24,4,203301),('2033-01-25',203304,1,2033,25,4,203301),('2033-01-26',203304,1,2033,26,4,203301),('2033-01-27',203304,1,2033,27,4,203301),('2033-01-28',203304,1,2033,28,4,203301),('2033-01-29',203304,1,2033,29,4,203301),('2033-01-30',203305,1,2033,30,5,203301),('2033-01-31',203305,1,2033,31,5,203301),('2033-02-01',203305,2,2033,1,5,203302),('2033-02-02',203305,2,2033,2,5,203302),('2033-02-03',203305,2,2033,3,5,203302),('2033-02-04',203305,2,2033,4,5,203302),('2033-02-05',203305,2,2033,5,5,203302),('2033-02-06',203306,2,2033,6,6,203302),('2033-02-07',203306,2,2033,7,6,203302),('2033-02-08',203306,2,2033,8,6,203302),('2033-02-09',203306,2,2033,9,6,203302),('2033-02-10',203306,2,2033,10,6,203302),('2033-02-11',203306,2,2033,11,6,203302),('2033-02-12',203306,2,2033,12,6,203302),('2033-02-13',203307,2,2033,13,7,203302),('2033-02-14',203307,2,2033,14,7,203302),('2033-02-15',203307,2,2033,15,7,203302),('2033-02-16',203307,2,2033,16,7,203302),('2033-02-17',203307,2,2033,17,7,203302),('2033-02-18',203307,2,2033,18,7,203302),('2033-02-19',203307,2,2033,19,7,203302),('2033-02-20',203308,2,2033,20,8,203302),('2033-02-21',203308,2,2033,21,8,203302),('2033-02-22',203308,2,2033,22,8,203302),('2033-02-23',203308,2,2033,23,8,203302),('2033-02-24',203308,2,2033,24,8,203302),('2033-02-25',203308,2,2033,25,8,203302),('2033-02-26',203308,2,2033,26,8,203302),('2033-02-27',203309,2,2033,27,9,203302),('2033-02-28',203309,2,2033,28,9,203302),('2033-03-01',203309,3,2033,1,9,203303),('2033-03-02',203309,3,2033,2,9,203303),('2033-03-03',203309,3,2033,3,9,203303),('2033-03-04',203309,3,2033,4,9,203303),('2033-03-05',203309,3,2033,5,9,203303),('2033-03-06',203310,3,2033,6,10,203303),('2033-03-07',203310,3,2033,7,10,203303),('2033-03-08',203310,3,2033,8,10,203303),('2033-03-09',203310,3,2033,9,10,203303),('2033-03-10',203310,3,2033,10,10,203303),('2033-03-11',203310,3,2033,11,10,203303),('2033-03-12',203310,3,2033,12,10,203303),('2033-03-13',203311,3,2033,13,11,203303),('2033-03-14',203311,3,2033,14,11,203303),('2033-03-15',203311,3,2033,15,11,203303),('2033-03-16',203311,3,2033,16,11,203303),('2033-03-17',203311,3,2033,17,11,203303),('2033-03-18',203311,3,2033,18,11,203303),('2033-03-19',203311,3,2033,19,11,203303),('2033-03-20',203312,3,2033,20,12,203303),('2033-03-21',203312,3,2033,21,12,203303),('2033-03-22',203312,3,2033,22,12,203303),('2033-03-23',203312,3,2033,23,12,203303),('2033-03-24',203312,3,2033,24,12,203303),('2033-03-25',203312,3,2033,25,12,203303),('2033-03-26',203312,3,2033,26,12,203303),('2033-03-27',203313,3,2033,27,13,203303),('2033-03-28',203313,3,2033,28,13,203303),('2033-03-29',203313,3,2033,29,13,203303),('2033-03-30',203313,3,2033,30,13,203303),('2033-03-31',203313,3,2033,31,13,203303),('2033-04-01',203313,4,2033,1,13,203304),('2033-04-02',203313,4,2033,2,13,203304),('2033-04-03',203314,4,2033,3,14,203304),('2033-04-04',203314,4,2033,4,14,203304),('2033-04-05',203314,4,2033,5,14,203304),('2033-04-06',203314,4,2033,6,14,203304),('2033-04-07',203314,4,2033,7,14,203304),('2033-04-08',203314,4,2033,8,14,203304),('2033-04-09',203314,4,2033,9,14,203304),('2033-04-10',203315,4,2033,10,15,203304),('2033-04-11',203315,4,2033,11,15,203304),('2033-04-12',203315,4,2033,12,15,203304),('2033-04-13',203315,4,2033,13,15,203304),('2033-04-14',203315,4,2033,14,15,203304),('2033-04-15',203315,4,2033,15,15,203304),('2033-04-16',203315,4,2033,16,15,203304),('2033-04-17',203316,4,2033,17,16,203304),('2033-04-18',203316,4,2033,18,16,203304),('2033-04-19',203316,4,2033,19,16,203304),('2033-04-20',203316,4,2033,20,16,203304),('2033-04-21',203316,4,2033,21,16,203304),('2033-04-22',203316,4,2033,22,16,203304),('2033-04-23',203316,4,2033,23,16,203304),('2033-04-24',203317,4,2033,24,17,203304),('2033-04-25',203317,4,2033,25,17,203304),('2033-04-26',203317,4,2033,26,17,203304),('2033-04-27',203317,4,2033,27,17,203304),('2033-04-28',203317,4,2033,28,17,203304),('2033-04-29',203317,4,2033,29,17,203304),('2033-04-30',203317,4,2033,30,17,203304),('2033-05-01',203318,5,2033,1,18,203305),('2033-05-02',203318,5,2033,2,18,203305),('2033-05-03',203318,5,2033,3,18,203305),('2033-05-04',203318,5,2033,4,18,203305),('2033-05-05',203318,5,2033,5,18,203305),('2033-05-06',203318,5,2033,6,18,203305),('2033-05-07',203318,5,2033,7,18,203305),('2033-05-08',203319,5,2033,8,19,203305),('2033-05-09',203319,5,2033,9,19,203305),('2033-05-10',203319,5,2033,10,19,203305),('2033-05-11',203319,5,2033,11,19,203305),('2033-05-12',203319,5,2033,12,19,203305),('2033-05-13',203319,5,2033,13,19,203305),('2033-05-14',203319,5,2033,14,19,203305),('2033-05-15',203320,5,2033,15,20,203305),('2033-05-16',203320,5,2033,16,20,203305),('2033-05-17',203320,5,2033,17,20,203305),('2033-05-18',203320,5,2033,18,20,203305),('2033-05-19',203320,5,2033,19,20,203305),('2033-05-20',203320,5,2033,20,20,203305),('2033-05-21',203320,5,2033,21,20,203305),('2033-05-22',203321,5,2033,22,21,203305),('2033-05-23',203321,5,2033,23,21,203305),('2033-05-24',203321,5,2033,24,21,203305),('2033-05-25',203321,5,2033,25,21,203305),('2033-05-26',203321,5,2033,26,21,203305),('2033-05-27',203321,5,2033,27,21,203305),('2033-05-28',203321,5,2033,28,21,203305),('2033-05-29',203322,5,2033,29,22,203305),('2033-05-30',203322,5,2033,30,22,203305),('2033-05-31',203322,5,2033,31,22,203305),('2033-06-01',203322,6,2033,1,22,203306),('2033-06-02',203322,6,2033,2,22,203306),('2033-06-03',203322,6,2033,3,22,203306),('2033-06-04',203322,6,2033,4,22,203306),('2033-06-05',203323,6,2033,5,23,203306),('2033-06-06',203323,6,2033,6,23,203306),('2033-06-07',203323,6,2033,7,23,203306),('2033-06-08',203323,6,2033,8,23,203306),('2033-06-09',203323,6,2033,9,23,203306),('2033-06-10',203323,6,2033,10,23,203306),('2033-06-11',203323,6,2033,11,23,203306),('2033-06-12',203324,6,2033,12,24,203306),('2033-06-13',203324,6,2033,13,24,203306),('2033-06-14',203324,6,2033,14,24,203306),('2033-06-15',203324,6,2033,15,24,203306),('2033-06-16',203324,6,2033,16,24,203306),('2033-06-17',203324,6,2033,17,24,203306),('2033-06-18',203324,6,2033,18,24,203306),('2033-06-19',203325,6,2033,19,25,203306),('2033-06-20',203325,6,2033,20,25,203306),('2033-06-21',203325,6,2033,21,25,203306),('2033-06-22',203325,6,2033,22,25,203306),('2033-06-23',203325,6,2033,23,25,203306),('2033-06-24',203325,6,2033,24,25,203306),('2033-06-25',203325,6,2033,25,25,203306),('2033-06-26',203326,6,2033,26,26,203306),('2033-06-27',203326,6,2033,27,26,203306),('2033-06-28',203326,6,2033,28,26,203306),('2033-06-29',203326,6,2033,29,26,203306),('2033-06-30',203326,6,2033,30,26,203306),('2033-07-01',203326,7,2033,1,26,203307),('2033-07-02',203326,7,2033,2,26,203307),('2033-07-03',203327,7,2033,3,27,203307),('2033-07-04',203327,7,2033,4,27,203307),('2033-07-05',203327,7,2033,5,27,203307),('2033-07-06',203327,7,2033,6,27,203307),('2033-07-07',203327,7,2033,7,27,203307),('2033-07-08',203327,7,2033,8,27,203307),('2033-07-09',203327,7,2033,9,27,203307),('2033-07-10',203328,7,2033,10,28,203307),('2033-07-11',203328,7,2033,11,28,203307),('2033-07-12',203328,7,2033,12,28,203307),('2033-07-13',203328,7,2033,13,28,203307),('2033-07-14',203328,7,2033,14,28,203307),('2033-07-15',203328,7,2033,15,28,203307),('2033-07-16',203328,7,2033,16,28,203307),('2033-07-17',203329,7,2033,17,29,203307),('2033-07-18',203329,7,2033,18,29,203307),('2033-07-19',203329,7,2033,19,29,203307),('2033-07-20',203329,7,2033,20,29,203307),('2033-07-21',203329,7,2033,21,29,203307),('2033-07-22',203329,7,2033,22,29,203307),('2033-07-23',203329,7,2033,23,29,203307),('2033-07-24',203330,7,2033,24,30,203307),('2033-07-25',203330,7,2033,25,30,203307),('2033-07-26',203330,7,2033,26,30,203307),('2033-07-27',203330,7,2033,27,30,203307),('2033-07-28',203330,7,2033,28,30,203307),('2033-07-29',203330,7,2033,29,30,203307),('2033-07-30',203330,7,2033,30,30,203307),('2033-07-31',203331,7,2033,31,31,203307),('2033-08-01',203331,8,2033,1,31,203308),('2033-08-02',203331,8,2033,2,31,203308),('2033-08-03',203331,8,2033,3,31,203308),('2033-08-04',203331,8,2033,4,31,203308),('2033-08-05',203331,8,2033,5,31,203308),('2033-08-06',203331,8,2033,6,31,203308),('2033-08-07',203332,8,2033,7,32,203308),('2033-08-08',203332,8,2033,8,32,203308),('2033-08-09',203332,8,2033,9,32,203308),('2033-08-10',203332,8,2033,10,32,203308),('2033-08-11',203332,8,2033,11,32,203308),('2033-08-12',203332,8,2033,12,32,203308),('2033-08-13',203332,8,2033,13,32,203308),('2033-08-14',203333,8,2033,14,33,203308),('2033-08-15',203333,8,2033,15,33,203308),('2033-08-16',203333,8,2033,16,33,203308),('2033-08-17',203333,8,2033,17,33,203308),('2033-08-18',203333,8,2033,18,33,203308),('2033-08-19',203333,8,2033,19,33,203308),('2033-08-20',203333,8,2033,20,33,203308),('2033-08-21',203334,8,2033,21,34,203308),('2033-08-22',203334,8,2033,22,34,203308),('2033-08-23',203334,8,2033,23,34,203308),('2033-08-24',203334,8,2033,24,34,203308),('2033-08-25',203334,8,2033,25,34,203308),('2033-08-26',203334,8,2033,26,34,203308),('2033-08-27',203334,8,2033,27,34,203308),('2033-08-28',203335,8,2033,28,35,203308),('2033-08-29',203335,8,2033,29,35,203308),('2033-08-30',203335,8,2033,30,35,203308),('2033-08-31',203335,8,2033,31,35,203308),('2033-09-01',203335,9,2033,1,35,203309),('2033-09-02',203335,9,2033,2,35,203309),('2033-09-03',203335,9,2033,3,35,203309),('2033-09-04',203336,9,2033,4,36,203309),('2033-09-05',203336,9,2033,5,36,203309),('2033-09-06',203336,9,2033,6,36,203309),('2033-09-07',203336,9,2033,7,36,203309),('2033-09-08',203336,9,2033,8,36,203309),('2033-09-09',203336,9,2033,9,36,203309),('2033-09-10',203336,9,2033,10,36,203309),('2033-09-11',203337,9,2033,11,37,203309),('2033-09-12',203337,9,2033,12,37,203309),('2033-09-13',203337,9,2033,13,37,203309),('2033-09-14',203337,9,2033,14,37,203309),('2033-09-15',203337,9,2033,15,37,203309),('2033-09-16',203337,9,2033,16,37,203309),('2033-09-17',203337,9,2033,17,37,203309),('2033-09-18',203338,9,2033,18,38,203309),('2033-09-19',203338,9,2033,19,38,203309),('2033-09-20',203338,9,2033,20,38,203309),('2033-09-21',203338,9,2033,21,38,203309),('2033-09-22',203338,9,2033,22,38,203309),('2033-09-23',203338,9,2033,23,38,203309),('2033-09-24',203338,9,2033,24,38,203309),('2033-09-25',203339,9,2033,25,39,203309),('2033-09-26',203339,9,2033,26,39,203309),('2033-09-27',203339,9,2033,27,39,203309),('2033-09-28',203339,9,2033,28,39,203309),('2033-09-29',203339,9,2033,29,39,203309),('2033-09-30',203339,9,2033,30,39,203309),('2033-10-01',203339,10,2033,1,39,203310),('2033-10-02',203340,10,2033,2,40,203310),('2033-10-03',203340,10,2033,3,40,203310),('2033-10-04',203340,10,2033,4,40,203310),('2033-10-05',203340,10,2033,5,40,203310),('2033-10-06',203340,10,2033,6,40,203310),('2033-10-07',203340,10,2033,7,40,203310),('2033-10-08',203340,10,2033,8,40,203310),('2033-10-09',203341,10,2033,9,41,203310),('2033-10-10',203341,10,2033,10,41,203310),('2033-10-11',203341,10,2033,11,41,203310),('2033-10-12',203341,10,2033,12,41,203310),('2033-10-13',203341,10,2033,13,41,203310),('2033-10-14',203341,10,2033,14,41,203310),('2033-10-15',203341,10,2033,15,41,203310),('2033-10-16',203342,10,2033,16,42,203310),('2033-10-17',203342,10,2033,17,42,203310),('2033-10-18',203342,10,2033,18,42,203310),('2033-10-19',203342,10,2033,19,42,203310),('2033-10-20',203342,10,2033,20,42,203310),('2033-10-21',203342,10,2033,21,42,203310),('2033-10-22',203342,10,2033,22,42,203310),('2033-10-23',203343,10,2033,23,43,203310),('2033-10-24',203343,10,2033,24,43,203310),('2033-10-25',203343,10,2033,25,43,203310),('2033-10-26',203343,10,2033,26,43,203310),('2033-10-27',203343,10,2033,27,43,203310),('2033-10-28',203343,10,2033,28,43,203310),('2033-10-29',203343,10,2033,29,43,203310),('2033-10-30',203344,10,2033,30,44,203310),('2033-10-31',203344,10,2033,31,44,203310),('2033-11-01',203344,11,2033,1,44,203311),('2033-11-02',203344,11,2033,2,44,203311),('2033-11-03',203344,11,2033,3,44,203311),('2033-11-04',203344,11,2033,4,44,203311),('2033-11-05',203344,11,2033,5,44,203311),('2033-11-06',203345,11,2033,6,45,203311),('2033-11-07',203345,11,2033,7,45,203311),('2033-11-08',203345,11,2033,8,45,203311),('2033-11-09',203345,11,2033,9,45,203311),('2033-11-10',203345,11,2033,10,45,203311),('2033-11-11',203345,11,2033,11,45,203311),('2033-11-12',203345,11,2033,12,45,203311),('2033-11-13',203346,11,2033,13,46,203311),('2033-11-14',203346,11,2033,14,46,203311),('2033-11-15',203346,11,2033,15,46,203311),('2033-11-16',203346,11,2033,16,46,203311),('2033-11-17',203346,11,2033,17,46,203311),('2033-11-18',203346,11,2033,18,46,203311),('2033-11-19',203346,11,2033,19,46,203311),('2033-11-20',203347,11,2033,20,47,203311),('2033-11-21',203347,11,2033,21,47,203311),('2033-11-22',203347,11,2033,22,47,203311),('2033-11-23',203347,11,2033,23,47,203311),('2033-11-24',203347,11,2033,24,47,203311),('2033-11-25',203347,11,2033,25,47,203311),('2033-11-26',203347,11,2033,26,47,203311),('2033-11-27',203348,11,2033,27,48,203311),('2033-11-28',203348,11,2033,28,48,203311),('2033-11-29',203348,11,2033,29,48,203311),('2033-11-30',203348,11,2033,30,48,203311),('2033-12-01',203348,12,2033,1,48,203312),('2033-12-02',203348,12,2033,2,48,203312),('2033-12-03',203348,12,2033,3,48,203312),('2033-12-04',203349,12,2033,4,49,203312),('2033-12-05',203349,12,2033,5,49,203312),('2033-12-06',203349,12,2033,6,49,203312),('2033-12-07',203349,12,2033,7,49,203312),('2033-12-08',203349,12,2033,8,49,203312),('2033-12-09',203349,12,2033,9,49,203312),('2033-12-10',203349,12,2033,10,49,203312),('2033-12-11',203350,12,2033,11,50,203312),('2033-12-12',203350,12,2033,12,50,203312),('2033-12-13',203350,12,2033,13,50,203312),('2033-12-14',203350,12,2033,14,50,203312),('2033-12-15',203350,12,2033,15,50,203312),('2033-12-16',203350,12,2033,16,50,203312),('2033-12-17',203350,12,2033,17,50,203312),('2033-12-18',203351,12,2033,18,51,203312),('2033-12-19',203351,12,2033,19,51,203312),('2033-12-20',203351,12,2033,20,51,203312),('2033-12-21',203351,12,2033,21,51,203312),('2033-12-22',203351,12,2033,22,51,203312),('2033-12-23',203351,12,2033,23,51,203312),('2033-12-24',203351,12,2033,24,51,203312),('2033-12-25',203352,12,2033,25,52,203312),('2033-12-26',203352,12,2033,26,52,203312),('2033-12-27',203352,12,2033,27,52,203312),('2033-12-28',203352,12,2033,28,52,203312),('2033-12-29',203352,12,2033,29,52,203312),('2033-12-30',203352,12,2033,30,52,203312),('2033-12-31',203352,12,2033,31,52,203312),('2034-01-01',203453,1,2034,1,1,203401),('2034-01-02',203401,1,2034,2,1,203401),('2034-01-03',203401,1,2034,3,1,203401),('2034-01-04',203401,1,2034,4,1,203401),('2034-01-05',203401,1,2034,5,1,203401),('2034-01-06',203401,1,2034,6,1,203401),('2034-01-07',203401,1,2034,7,1,203401),('2034-01-08',203402,1,2034,8,2,203401),('2034-01-09',203402,1,2034,9,2,203401),('2034-01-10',203402,1,2034,10,2,203401),('2034-01-11',203402,1,2034,11,2,203401),('2034-01-12',203402,1,2034,12,2,203401),('2034-01-13',203402,1,2034,13,2,203401),('2034-01-14',203402,1,2034,14,2,203401),('2034-01-15',203403,1,2034,15,3,203401),('2034-01-16',203403,1,2034,16,3,203401),('2034-01-17',203403,1,2034,17,3,203401),('2034-01-18',203403,1,2034,18,3,203401),('2034-01-19',203403,1,2034,19,3,203401),('2034-01-20',203403,1,2034,20,3,203401),('2034-01-21',203403,1,2034,21,3,203401),('2034-01-22',203404,1,2034,22,4,203401),('2034-01-23',203404,1,2034,23,4,203401),('2034-01-24',203404,1,2034,24,4,203401),('2034-01-25',203404,1,2034,25,4,203401),('2034-01-26',203404,1,2034,26,4,203401),('2034-01-27',203404,1,2034,27,4,203401),('2034-01-28',203404,1,2034,28,4,203401),('2034-01-29',203405,1,2034,29,5,203401),('2034-01-30',203405,1,2034,30,5,203401),('2034-01-31',203405,1,2034,31,5,203401),('2034-02-01',203405,2,2034,1,5,203402),('2034-02-02',203405,2,2034,2,5,203402),('2034-02-03',203405,2,2034,3,5,203402),('2034-02-04',203405,2,2034,4,5,203402),('2034-02-05',203406,2,2034,5,6,203402),('2034-02-06',203406,2,2034,6,6,203402),('2034-02-07',203406,2,2034,7,6,203402),('2034-02-08',203406,2,2034,8,6,203402),('2034-02-09',203406,2,2034,9,6,203402),('2034-02-10',203406,2,2034,10,6,203402),('2034-02-11',203406,2,2034,11,6,203402),('2034-02-12',203407,2,2034,12,7,203402),('2034-02-13',203407,2,2034,13,7,203402),('2034-02-14',203407,2,2034,14,7,203402),('2034-02-15',203407,2,2034,15,7,203402),('2034-02-16',203407,2,2034,16,7,203402),('2034-02-17',203407,2,2034,17,7,203402),('2034-02-18',203407,2,2034,18,7,203402),('2034-02-19',203408,2,2034,19,8,203402),('2034-02-20',203408,2,2034,20,8,203402),('2034-02-21',203408,2,2034,21,8,203402),('2034-02-22',203408,2,2034,22,8,203402),('2034-02-23',203408,2,2034,23,8,203402),('2034-02-24',203408,2,2034,24,8,203402),('2034-02-25',203408,2,2034,25,8,203402),('2034-02-26',203409,2,2034,26,9,203402),('2034-02-27',203409,2,2034,27,9,203402),('2034-02-28',203409,2,2034,28,9,203402),('2034-03-01',203409,3,2034,1,9,203403),('2034-03-02',203409,3,2034,2,9,203403),('2034-03-03',203409,3,2034,3,9,203403),('2034-03-04',203409,3,2034,4,9,203403),('2034-03-05',203410,3,2034,5,10,203403),('2034-03-06',203410,3,2034,6,10,203403),('2034-03-07',203410,3,2034,7,10,203403),('2034-03-08',203410,3,2034,8,10,203403),('2034-03-09',203410,3,2034,9,10,203403),('2034-03-10',203410,3,2034,10,10,203403),('2034-03-11',203410,3,2034,11,10,203403),('2034-03-12',203411,3,2034,12,11,203403),('2034-03-13',203411,3,2034,13,11,203403),('2034-03-14',203411,3,2034,14,11,203403),('2034-03-15',203411,3,2034,15,11,203403),('2034-03-16',203411,3,2034,16,11,203403),('2034-03-17',203411,3,2034,17,11,203403),('2034-03-18',203411,3,2034,18,11,203403),('2034-03-19',203412,3,2034,19,12,203403),('2034-03-20',203412,3,2034,20,12,203403),('2034-03-21',203412,3,2034,21,12,203403),('2034-03-22',203412,3,2034,22,12,203403),('2034-03-23',203412,3,2034,23,12,203403),('2034-03-24',203412,3,2034,24,12,203403),('2034-03-25',203412,3,2034,25,12,203403),('2034-03-26',203413,3,2034,26,13,203403),('2034-03-27',203413,3,2034,27,13,203403),('2034-03-28',203413,3,2034,28,13,203403),('2034-03-29',203413,3,2034,29,13,203403),('2034-03-30',203413,3,2034,30,13,203403),('2034-03-31',203413,3,2034,31,13,203403),('2034-04-01',203413,4,2034,1,13,203404),('2034-04-02',203414,4,2034,2,14,203404),('2034-04-03',203414,4,2034,3,14,203404),('2034-04-04',203414,4,2034,4,14,203404),('2034-04-05',203414,4,2034,5,14,203404),('2034-04-06',203414,4,2034,6,14,203404),('2034-04-07',203414,4,2034,7,14,203404),('2034-04-08',203414,4,2034,8,14,203404),('2034-04-09',203415,4,2034,9,15,203404),('2034-04-10',203415,4,2034,10,15,203404),('2034-04-11',203415,4,2034,11,15,203404),('2034-04-12',203415,4,2034,12,15,203404),('2034-04-13',203415,4,2034,13,15,203404),('2034-04-14',203415,4,2034,14,15,203404),('2034-04-15',203415,4,2034,15,15,203404),('2034-04-16',203416,4,2034,16,16,203404),('2034-04-17',203416,4,2034,17,16,203404),('2034-04-18',203416,4,2034,18,16,203404),('2034-04-19',203416,4,2034,19,16,203404),('2034-04-20',203416,4,2034,20,16,203404),('2034-04-21',203416,4,2034,21,16,203404),('2034-04-22',203416,4,2034,22,16,203404),('2034-04-23',203417,4,2034,23,17,203404),('2034-04-24',203417,4,2034,24,17,203404),('2034-04-25',203417,4,2034,25,17,203404),('2034-04-26',203417,4,2034,26,17,203404),('2034-04-27',203417,4,2034,27,17,203404),('2034-04-28',203417,4,2034,28,17,203404),('2034-04-29',203417,4,2034,29,17,203404),('2034-04-30',203418,4,2034,30,18,203404),('2034-05-01',203418,5,2034,1,18,203405),('2034-05-02',203418,5,2034,2,18,203405),('2034-05-03',203418,5,2034,3,18,203405),('2034-05-04',203418,5,2034,4,18,203405),('2034-05-05',203418,5,2034,5,18,203405),('2034-05-06',203418,5,2034,6,18,203405),('2034-05-07',203419,5,2034,7,19,203405),('2034-05-08',203419,5,2034,8,19,203405),('2034-05-09',203419,5,2034,9,19,203405),('2034-05-10',203419,5,2034,10,19,203405),('2034-05-11',203419,5,2034,11,19,203405),('2034-05-12',203419,5,2034,12,19,203405),('2034-05-13',203419,5,2034,13,19,203405),('2034-05-14',203420,5,2034,14,20,203405),('2034-05-15',203420,5,2034,15,20,203405),('2034-05-16',203420,5,2034,16,20,203405),('2034-05-17',203420,5,2034,17,20,203405),('2034-05-18',203420,5,2034,18,20,203405),('2034-05-19',203420,5,2034,19,20,203405),('2034-05-20',203420,5,2034,20,20,203405),('2034-05-21',203421,5,2034,21,21,203405),('2034-05-22',203421,5,2034,22,21,203405),('2034-05-23',203421,5,2034,23,21,203405),('2034-05-24',203421,5,2034,24,21,203405),('2034-05-25',203421,5,2034,25,21,203405),('2034-05-26',203421,5,2034,26,21,203405),('2034-05-27',203421,5,2034,27,21,203405),('2034-05-28',203422,5,2034,28,22,203405),('2034-05-29',203422,5,2034,29,22,203405),('2034-05-30',203422,5,2034,30,22,203405),('2034-05-31',203422,5,2034,31,22,203405),('2034-06-01',203422,6,2034,1,22,203406),('2034-06-02',203422,6,2034,2,22,203406),('2034-06-03',203422,6,2034,3,22,203406),('2034-06-04',203423,6,2034,4,23,203406),('2034-06-05',203423,6,2034,5,23,203406),('2034-06-06',203423,6,2034,6,23,203406),('2034-06-07',203423,6,2034,7,23,203406),('2034-06-08',203423,6,2034,8,23,203406),('2034-06-09',203423,6,2034,9,23,203406),('2034-06-10',203423,6,2034,10,23,203406),('2034-06-11',203424,6,2034,11,24,203406),('2034-06-12',203424,6,2034,12,24,203406),('2034-06-13',203424,6,2034,13,24,203406),('2034-06-14',203424,6,2034,14,24,203406),('2034-06-15',203424,6,2034,15,24,203406),('2034-06-16',203424,6,2034,16,24,203406),('2034-06-17',203424,6,2034,17,24,203406),('2034-06-18',203425,6,2034,18,25,203406),('2034-06-19',203425,6,2034,19,25,203406),('2034-06-20',203425,6,2034,20,25,203406),('2034-06-21',203425,6,2034,21,25,203406),('2034-06-22',203425,6,2034,22,25,203406),('2034-06-23',203425,6,2034,23,25,203406),('2034-06-24',203425,6,2034,24,25,203406),('2034-06-25',203426,6,2034,25,26,203406),('2034-06-26',203426,6,2034,26,26,203406),('2034-06-27',203426,6,2034,27,26,203406),('2034-06-28',203426,6,2034,28,26,203406),('2034-06-29',203426,6,2034,29,26,203406),('2034-06-30',203426,6,2034,30,26,203406),('2034-07-01',203426,7,2034,1,26,203407),('2034-07-02',203427,7,2034,2,27,203407),('2034-07-03',203427,7,2034,3,27,203407),('2034-07-04',203427,7,2034,4,27,203407),('2034-07-05',203427,7,2034,5,27,203407),('2034-07-06',203427,7,2034,6,27,203407),('2034-07-07',203427,7,2034,7,27,203407),('2034-07-08',203427,7,2034,8,27,203407),('2034-07-09',203428,7,2034,9,28,203407),('2034-07-10',203428,7,2034,10,28,203407),('2034-07-11',203428,7,2034,11,28,203407),('2034-07-12',203428,7,2034,12,28,203407),('2034-07-13',203428,7,2034,13,28,203407),('2034-07-14',203428,7,2034,14,28,203407),('2034-07-15',203428,7,2034,15,28,203407),('2034-07-16',203429,7,2034,16,29,203407),('2034-07-17',203429,7,2034,17,29,203407),('2034-07-18',203429,7,2034,18,29,203407),('2034-07-19',203429,7,2034,19,29,203407),('2034-07-20',203429,7,2034,20,29,203407),('2034-07-21',203429,7,2034,21,29,203407),('2034-07-22',203429,7,2034,22,29,203407),('2034-07-23',203430,7,2034,23,30,203407),('2034-07-24',203430,7,2034,24,30,203407),('2034-07-25',203430,7,2034,25,30,203407),('2034-07-26',203430,7,2034,26,30,203407),('2034-07-27',203430,7,2034,27,30,203407),('2034-07-28',203430,7,2034,28,30,203407),('2034-07-29',203430,7,2034,29,30,203407),('2034-07-30',203431,7,2034,30,31,203407),('2034-07-31',203431,7,2034,31,31,203407),('2034-08-01',203431,8,2034,1,31,203408),('2034-08-02',203431,8,2034,2,31,203408),('2034-08-03',203431,8,2034,3,31,203408),('2034-08-04',203431,8,2034,4,31,203408),('2034-08-05',203431,8,2034,5,31,203408),('2034-08-06',203432,8,2034,6,32,203408),('2034-08-07',203432,8,2034,7,32,203408),('2034-08-08',203432,8,2034,8,32,203408),('2034-08-09',203432,8,2034,9,32,203408),('2034-08-10',203432,8,2034,10,32,203408),('2034-08-11',203432,8,2034,11,32,203408),('2034-08-12',203432,8,2034,12,32,203408),('2034-08-13',203433,8,2034,13,33,203408),('2034-08-14',203433,8,2034,14,33,203408),('2034-08-15',203433,8,2034,15,33,203408),('2034-08-16',203433,8,2034,16,33,203408),('2034-08-17',203433,8,2034,17,33,203408),('2034-08-18',203433,8,2034,18,33,203408),('2034-08-19',203433,8,2034,19,33,203408),('2034-08-20',203434,8,2034,20,34,203408),('2034-08-21',203434,8,2034,21,34,203408),('2034-08-22',203434,8,2034,22,34,203408),('2034-08-23',203434,8,2034,23,34,203408),('2034-08-24',203434,8,2034,24,34,203408),('2034-08-25',203434,8,2034,25,34,203408),('2034-08-26',203434,8,2034,26,34,203408),('2034-08-27',203435,8,2034,27,35,203408),('2034-08-28',203435,8,2034,28,35,203408),('2034-08-29',203435,8,2034,29,35,203408),('2034-08-30',203435,8,2034,30,35,203408),('2034-08-31',203435,8,2034,31,35,203408),('2034-09-01',203435,9,2034,1,35,203409),('2034-09-02',203435,9,2034,2,35,203409),('2034-09-03',203436,9,2034,3,36,203409),('2034-09-04',203436,9,2034,4,36,203409),('2034-09-05',203436,9,2034,5,36,203409),('2034-09-06',203436,9,2034,6,36,203409),('2034-09-07',203436,9,2034,7,36,203409),('2034-09-08',203436,9,2034,8,36,203409),('2034-09-09',203436,9,2034,9,36,203409),('2034-09-10',203437,9,2034,10,37,203409),('2034-09-11',203437,9,2034,11,37,203409),('2034-09-12',203437,9,2034,12,37,203409),('2034-09-13',203437,9,2034,13,37,203409),('2034-09-14',203437,9,2034,14,37,203409),('2034-09-15',203437,9,2034,15,37,203409),('2034-09-16',203437,9,2034,16,37,203409),('2034-09-17',203438,9,2034,17,38,203409),('2034-09-18',203438,9,2034,18,38,203409),('2034-09-19',203438,9,2034,19,38,203409),('2034-09-20',203438,9,2034,20,38,203409),('2034-09-21',203438,9,2034,21,38,203409),('2034-09-22',203438,9,2034,22,38,203409),('2034-09-23',203438,9,2034,23,38,203409),('2034-09-24',203439,9,2034,24,39,203409),('2034-09-25',203439,9,2034,25,39,203409),('2034-09-26',203439,9,2034,26,39,203409),('2034-09-27',203439,9,2034,27,39,203409),('2034-09-28',203439,9,2034,28,39,203409),('2034-09-29',203439,9,2034,29,39,203409),('2034-09-30',203439,9,2034,30,39,203409),('2034-10-01',203440,10,2034,1,40,203410),('2034-10-02',203440,10,2034,2,40,203410),('2034-10-03',203440,10,2034,3,40,203410),('2034-10-04',203440,10,2034,4,40,203410),('2034-10-05',203440,10,2034,5,40,203410),('2034-10-06',203440,10,2034,6,40,203410),('2034-10-07',203440,10,2034,7,40,203410),('2034-10-08',203441,10,2034,8,41,203410),('2034-10-09',203441,10,2034,9,41,203410),('2034-10-10',203441,10,2034,10,41,203410),('2034-10-11',203441,10,2034,11,41,203410),('2034-10-12',203441,10,2034,12,41,203410),('2034-10-13',203441,10,2034,13,41,203410),('2034-10-14',203441,10,2034,14,41,203410),('2034-10-15',203442,10,2034,15,42,203410),('2034-10-16',203442,10,2034,16,42,203410),('2034-10-17',203442,10,2034,17,42,203410),('2034-10-18',203442,10,2034,18,42,203410),('2034-10-19',203442,10,2034,19,42,203410),('2034-10-20',203442,10,2034,20,42,203410),('2034-10-21',203442,10,2034,21,42,203410),('2034-10-22',203443,10,2034,22,43,203410),('2034-10-23',203443,10,2034,23,43,203410),('2034-10-24',203443,10,2034,24,43,203410),('2034-10-25',203443,10,2034,25,43,203410),('2034-10-26',203443,10,2034,26,43,203410),('2034-10-27',203443,10,2034,27,43,203410),('2034-10-28',203443,10,2034,28,43,203410),('2034-10-29',203444,10,2034,29,44,203410),('2034-10-30',203444,10,2034,30,44,203410),('2034-10-31',203444,10,2034,31,44,203410),('2034-11-01',203444,11,2034,1,44,203411),('2034-11-02',203444,11,2034,2,44,203411),('2034-11-03',203444,11,2034,3,44,203411),('2034-11-04',203444,11,2034,4,44,203411),('2034-11-05',203445,11,2034,5,45,203411),('2034-11-06',203445,11,2034,6,45,203411),('2034-11-07',203445,11,2034,7,45,203411),('2034-11-08',203445,11,2034,8,45,203411),('2034-11-09',203445,11,2034,9,45,203411),('2034-11-10',203445,11,2034,10,45,203411),('2034-11-11',203445,11,2034,11,45,203411),('2034-11-12',203446,11,2034,12,46,203411),('2034-11-13',203446,11,2034,13,46,203411),('2034-11-14',203446,11,2034,14,46,203411),('2034-11-15',203446,11,2034,15,46,203411),('2034-11-16',203446,11,2034,16,46,203411),('2034-11-17',203446,11,2034,17,46,203411),('2034-11-18',203446,11,2034,18,46,203411),('2034-11-19',203447,11,2034,19,47,203411),('2034-11-20',203447,11,2034,20,47,203411),('2034-11-21',203447,11,2034,21,47,203411),('2034-11-22',203447,11,2034,22,47,203411),('2034-11-23',203447,11,2034,23,47,203411),('2034-11-24',203447,11,2034,24,47,203411),('2034-11-25',203447,11,2034,25,47,203411),('2034-11-26',203448,11,2034,26,48,203411),('2034-11-27',203448,11,2034,27,48,203411),('2034-11-28',203448,11,2034,28,48,203411),('2034-11-29',203448,11,2034,29,48,203411),('2034-11-30',203448,11,2034,30,48,203411),('2034-12-01',203448,12,2034,1,48,203412),('2034-12-02',203448,12,2034,2,48,203412),('2034-12-03',203449,12,2034,3,49,203412),('2034-12-04',203449,12,2034,4,49,203412),('2034-12-05',203449,12,2034,5,49,203412),('2034-12-06',203449,12,2034,6,49,203412),('2034-12-07',203449,12,2034,7,49,203412),('2034-12-08',203449,12,2034,8,49,203412),('2034-12-09',203449,12,2034,9,49,203412),('2034-12-10',203450,12,2034,10,50,203412),('2034-12-11',203450,12,2034,11,50,203412),('2034-12-12',203450,12,2034,12,50,203412),('2034-12-13',203450,12,2034,13,50,203412),('2034-12-14',203450,12,2034,14,50,203412),('2034-12-15',203450,12,2034,15,50,203412),('2034-12-16',203450,12,2034,16,50,203412),('2034-12-17',203451,12,2034,17,51,203412),('2034-12-18',203451,12,2034,18,51,203412),('2034-12-19',203451,12,2034,19,51,203412),('2034-12-20',203451,12,2034,20,51,203412),('2034-12-21',203451,12,2034,21,51,203412),('2034-12-22',203451,12,2034,22,51,203412),('2034-12-23',203451,12,2034,23,51,203412),('2034-12-24',203452,12,2034,24,52,203412),('2034-12-25',203452,12,2034,25,52,203412),('2034-12-26',203452,12,2034,26,52,203412),('2034-12-27',203452,12,2034,27,52,203412),('2034-12-28',203452,12,2034,28,52,203412),('2034-12-29',203452,12,2034,29,52,203412),('2034-12-30',203452,12,2034,30,52,203412),('2034-12-31',203453,12,2034,31,1,203412),('2035-01-01',203501,1,2035,1,1,203501),('2035-01-02',203501,1,2035,2,1,203501),('2035-01-03',203501,1,2035,3,1,203501),('2035-01-04',203501,1,2035,4,1,203501),('2035-01-05',203501,1,2035,5,1,203501),('2035-01-06',203501,1,2035,6,1,203501),('2035-01-07',203502,1,2035,7,2,203501),('2035-01-08',203502,1,2035,8,2,203501),('2035-01-09',203502,1,2035,9,2,203501),('2035-01-10',203502,1,2035,10,2,203501),('2035-01-11',203502,1,2035,11,2,203501),('2035-01-12',203502,1,2035,12,2,203501),('2035-01-13',203502,1,2035,13,2,203501),('2035-01-14',203503,1,2035,14,3,203501),('2035-01-15',203503,1,2035,15,3,203501),('2035-01-16',203503,1,2035,16,3,203501),('2035-01-17',203503,1,2035,17,3,203501),('2035-01-18',203503,1,2035,18,3,203501),('2035-01-19',203503,1,2035,19,3,203501),('2035-01-20',203503,1,2035,20,3,203501),('2035-01-21',203504,1,2035,21,4,203501),('2035-01-22',203504,1,2035,22,4,203501),('2035-01-23',203504,1,2035,23,4,203501),('2035-01-24',203504,1,2035,24,4,203501),('2035-01-25',203504,1,2035,25,4,203501),('2035-01-26',203504,1,2035,26,4,203501),('2035-01-27',203504,1,2035,27,4,203501),('2035-01-28',203505,1,2035,28,5,203501),('2035-01-29',203505,1,2035,29,5,203501),('2035-01-30',203505,1,2035,30,5,203501),('2035-01-31',203505,1,2035,31,5,203501),('2035-02-01',203505,2,2035,1,5,203502),('2035-02-02',203505,2,2035,2,5,203502),('2035-02-03',203505,2,2035,3,5,203502),('2035-02-04',203506,2,2035,4,6,203502),('2035-02-05',203506,2,2035,5,6,203502),('2035-02-06',203506,2,2035,6,6,203502),('2035-02-07',203506,2,2035,7,6,203502),('2035-02-08',203506,2,2035,8,6,203502),('2035-02-09',203506,2,2035,9,6,203502),('2035-02-10',203506,2,2035,10,6,203502),('2035-02-11',203507,2,2035,11,7,203502),('2035-02-12',203507,2,2035,12,7,203502),('2035-02-13',203507,2,2035,13,7,203502),('2035-02-14',203507,2,2035,14,7,203502),('2035-02-15',203507,2,2035,15,7,203502),('2035-02-16',203507,2,2035,16,7,203502),('2035-02-17',203507,2,2035,17,7,203502),('2035-02-18',203508,2,2035,18,8,203502),('2035-02-19',203508,2,2035,19,8,203502),('2035-02-20',203508,2,2035,20,8,203502),('2035-02-21',203508,2,2035,21,8,203502),('2035-02-22',203508,2,2035,22,8,203502),('2035-02-23',203508,2,2035,23,8,203502),('2035-02-24',203508,2,2035,24,8,203502),('2035-02-25',203509,2,2035,25,9,203502),('2035-02-26',203509,2,2035,26,9,203502),('2035-02-27',203509,2,2035,27,9,203502),('2035-02-28',203509,2,2035,28,9,203502),('2035-03-01',203509,3,2035,1,9,203503),('2035-03-02',203509,3,2035,2,9,203503),('2035-03-03',203509,3,2035,3,9,203503),('2035-03-04',203510,3,2035,4,10,203503),('2035-03-05',203510,3,2035,5,10,203503),('2035-03-06',203510,3,2035,6,10,203503),('2035-03-07',203510,3,2035,7,10,203503),('2035-03-08',203510,3,2035,8,10,203503),('2035-03-09',203510,3,2035,9,10,203503),('2035-03-10',203510,3,2035,10,10,203503),('2035-03-11',203511,3,2035,11,11,203503),('2035-03-12',203511,3,2035,12,11,203503),('2035-03-13',203511,3,2035,13,11,203503),('2035-03-14',203511,3,2035,14,11,203503),('2035-03-15',203511,3,2035,15,11,203503),('2035-03-16',203511,3,2035,16,11,203503),('2035-03-17',203511,3,2035,17,11,203503),('2035-03-18',203512,3,2035,18,12,203503),('2035-03-19',203512,3,2035,19,12,203503),('2035-03-20',203512,3,2035,20,12,203503),('2035-03-21',203512,3,2035,21,12,203503),('2035-03-22',203512,3,2035,22,12,203503),('2035-03-23',203512,3,2035,23,12,203503),('2035-03-24',203512,3,2035,24,12,203503),('2035-03-25',203513,3,2035,25,13,203503),('2035-03-26',203513,3,2035,26,13,203503),('2035-03-27',203513,3,2035,27,13,203503),('2035-03-28',203513,3,2035,28,13,203503),('2035-03-29',203513,3,2035,29,13,203503),('2035-03-30',203513,3,2035,30,13,203503),('2035-03-31',203513,3,2035,31,13,203503),('2035-04-01',203514,4,2035,1,14,203504),('2035-04-02',203514,4,2035,2,14,203504),('2035-04-03',203514,4,2035,3,14,203504),('2035-04-04',203514,4,2035,4,14,203504),('2035-04-05',203514,4,2035,5,14,203504),('2035-04-06',203514,4,2035,6,14,203504),('2035-04-07',203514,4,2035,7,14,203504),('2035-04-08',203515,4,2035,8,15,203504),('2035-04-09',203515,4,2035,9,15,203504),('2035-04-10',203515,4,2035,10,15,203504),('2035-04-11',203515,4,2035,11,15,203504),('2035-04-12',203515,4,2035,12,15,203504),('2035-04-13',203515,4,2035,13,15,203504),('2035-04-14',203515,4,2035,14,15,203504),('2035-04-15',203516,4,2035,15,16,203504),('2035-04-16',203516,4,2035,16,16,203504),('2035-04-17',203516,4,2035,17,16,203504),('2035-04-18',203516,4,2035,18,16,203504),('2035-04-19',203516,4,2035,19,16,203504),('2035-04-20',203516,4,2035,20,16,203504),('2035-04-21',203516,4,2035,21,16,203504),('2035-04-22',203517,4,2035,22,17,203504),('2035-04-23',203517,4,2035,23,17,203504),('2035-04-24',203517,4,2035,24,17,203504),('2035-04-25',203517,4,2035,25,17,203504),('2035-04-26',203517,4,2035,26,17,203504),('2035-04-27',203517,4,2035,27,17,203504),('2035-04-28',203517,4,2035,28,17,203504),('2035-04-29',203518,4,2035,29,18,203504),('2035-04-30',203518,4,2035,30,18,203504),('2035-05-01',203518,5,2035,1,18,203505),('2035-05-02',203518,5,2035,2,18,203505),('2035-05-03',203518,5,2035,3,18,203505),('2035-05-04',203518,5,2035,4,18,203505),('2035-05-05',203518,5,2035,5,18,203505),('2035-05-06',203519,5,2035,6,19,203505),('2035-05-07',203519,5,2035,7,19,203505),('2035-05-08',203519,5,2035,8,19,203505),('2035-05-09',203519,5,2035,9,19,203505),('2035-05-10',203519,5,2035,10,19,203505),('2035-05-11',203519,5,2035,11,19,203505),('2035-05-12',203519,5,2035,12,19,203505),('2035-05-13',203520,5,2035,13,20,203505),('2035-05-14',203520,5,2035,14,20,203505),('2035-05-15',203520,5,2035,15,20,203505),('2035-05-16',203520,5,2035,16,20,203505),('2035-05-17',203520,5,2035,17,20,203505),('2035-05-18',203520,5,2035,18,20,203505),('2035-05-19',203520,5,2035,19,20,203505),('2035-05-20',203521,5,2035,20,21,203505),('2035-05-21',203521,5,2035,21,21,203505),('2035-05-22',203521,5,2035,22,21,203505),('2035-05-23',203521,5,2035,23,21,203505),('2035-05-24',203521,5,2035,24,21,203505),('2035-05-25',203521,5,2035,25,21,203505),('2035-05-26',203521,5,2035,26,21,203505),('2035-05-27',203522,5,2035,27,22,203505),('2035-05-28',203522,5,2035,28,22,203505),('2035-05-29',203522,5,2035,29,22,203505),('2035-05-30',203522,5,2035,30,22,203505),('2035-05-31',203522,5,2035,31,22,203505),('2035-06-01',203522,6,2035,1,22,203506),('2035-06-02',203522,6,2035,2,22,203506),('2035-06-03',203523,6,2035,3,23,203506),('2035-06-04',203523,6,2035,4,23,203506),('2035-06-05',203523,6,2035,5,23,203506),('2035-06-06',203523,6,2035,6,23,203506),('2035-06-07',203523,6,2035,7,23,203506),('2035-06-08',203523,6,2035,8,23,203506),('2035-06-09',203523,6,2035,9,23,203506),('2035-06-10',203524,6,2035,10,24,203506),('2035-06-11',203524,6,2035,11,24,203506),('2035-06-12',203524,6,2035,12,24,203506),('2035-06-13',203524,6,2035,13,24,203506),('2035-06-14',203524,6,2035,14,24,203506),('2035-06-15',203524,6,2035,15,24,203506),('2035-06-16',203524,6,2035,16,24,203506),('2035-06-17',203525,6,2035,17,25,203506),('2035-06-18',203525,6,2035,18,25,203506),('2035-06-19',203525,6,2035,19,25,203506),('2035-06-20',203525,6,2035,20,25,203506),('2035-06-21',203525,6,2035,21,25,203506),('2035-06-22',203525,6,2035,22,25,203506),('2035-06-23',203525,6,2035,23,25,203506),('2035-06-24',203526,6,2035,24,26,203506),('2035-06-25',203526,6,2035,25,26,203506),('2035-06-26',203526,6,2035,26,26,203506),('2035-06-27',203526,6,2035,27,26,203506),('2035-06-28',203526,6,2035,28,26,203506),('2035-06-29',203526,6,2035,29,26,203506),('2035-06-30',203526,6,2035,30,26,203506),('2035-07-01',203527,7,2035,1,27,203507),('2035-07-02',203527,7,2035,2,27,203507),('2035-07-03',203527,7,2035,3,27,203507),('2035-07-04',203527,7,2035,4,27,203507),('2035-07-05',203527,7,2035,5,27,203507),('2035-07-06',203527,7,2035,6,27,203507),('2035-07-07',203527,7,2035,7,27,203507),('2035-07-08',203528,7,2035,8,28,203507),('2035-07-09',203528,7,2035,9,28,203507),('2035-07-10',203528,7,2035,10,28,203507),('2035-07-11',203528,7,2035,11,28,203507),('2035-07-12',203528,7,2035,12,28,203507),('2035-07-13',203528,7,2035,13,28,203507),('2035-07-14',203528,7,2035,14,28,203507),('2035-07-15',203529,7,2035,15,29,203507),('2035-07-16',203529,7,2035,16,29,203507),('2035-07-17',203529,7,2035,17,29,203507),('2035-07-18',203529,7,2035,18,29,203507),('2035-07-19',203529,7,2035,19,29,203507),('2035-07-20',203529,7,2035,20,29,203507),('2035-07-21',203529,7,2035,21,29,203507),('2035-07-22',203530,7,2035,22,30,203507),('2035-07-23',203530,7,2035,23,30,203507),('2035-07-24',203530,7,2035,24,30,203507),('2035-07-25',203530,7,2035,25,30,203507),('2035-07-26',203530,7,2035,26,30,203507),('2035-07-27',203530,7,2035,27,30,203507),('2035-07-28',203530,7,2035,28,30,203507),('2035-07-29',203531,7,2035,29,31,203507),('2035-07-30',203531,7,2035,30,31,203507),('2035-07-31',203531,7,2035,31,31,203507),('2035-08-01',203531,8,2035,1,31,203508),('2035-08-02',203531,8,2035,2,31,203508),('2035-08-03',203531,8,2035,3,31,203508),('2035-08-04',203531,8,2035,4,31,203508),('2035-08-05',203532,8,2035,5,32,203508),('2035-08-06',203532,8,2035,6,32,203508),('2035-08-07',203532,8,2035,7,32,203508),('2035-08-08',203532,8,2035,8,32,203508),('2035-08-09',203532,8,2035,9,32,203508),('2035-08-10',203532,8,2035,10,32,203508),('2035-08-11',203532,8,2035,11,32,203508),('2035-08-12',203533,8,2035,12,33,203508),('2035-08-13',203533,8,2035,13,33,203508),('2035-08-14',203533,8,2035,14,33,203508),('2035-08-15',203533,8,2035,15,33,203508),('2035-08-16',203533,8,2035,16,33,203508),('2035-08-17',203533,8,2035,17,33,203508),('2035-08-18',203533,8,2035,18,33,203508),('2035-08-19',203534,8,2035,19,34,203508),('2035-08-20',203534,8,2035,20,34,203508),('2035-08-21',203534,8,2035,21,34,203508),('2035-08-22',203534,8,2035,22,34,203508),('2035-08-23',203534,8,2035,23,34,203508),('2035-08-24',203534,8,2035,24,34,203508),('2035-08-25',203534,8,2035,25,34,203508),('2035-08-26',203535,8,2035,26,35,203508),('2035-08-27',203535,8,2035,27,35,203508),('2035-08-28',203535,8,2035,28,35,203508),('2035-08-29',203535,8,2035,29,35,203508),('2035-08-30',203535,8,2035,30,35,203508),('2035-08-31',203535,8,2035,31,35,203508),('2035-09-01',203535,9,2035,1,35,203509),('2035-09-02',203536,9,2035,2,36,203509),('2035-09-03',203536,9,2035,3,36,203509),('2035-09-04',203536,9,2035,4,36,203509),('2035-09-05',203536,9,2035,5,36,203509),('2035-09-06',203536,9,2035,6,36,203509),('2035-09-07',203536,9,2035,7,36,203509),('2035-09-08',203536,9,2035,8,36,203509),('2035-09-09',203537,9,2035,9,37,203509),('2035-09-10',203537,9,2035,10,37,203509),('2035-09-11',203537,9,2035,11,37,203509),('2035-09-12',203537,9,2035,12,37,203509),('2035-09-13',203537,9,2035,13,37,203509),('2035-09-14',203537,9,2035,14,37,203509),('2035-09-15',203537,9,2035,15,37,203509),('2035-09-16',203538,9,2035,16,38,203509),('2035-09-17',203538,9,2035,17,38,203509),('2035-09-18',203538,9,2035,18,38,203509),('2035-09-19',203538,9,2035,19,38,203509),('2035-09-20',203538,9,2035,20,38,203509),('2035-09-21',203538,9,2035,21,38,203509),('2035-09-22',203538,9,2035,22,38,203509),('2035-09-23',203539,9,2035,23,39,203509),('2035-09-24',203539,9,2035,24,39,203509),('2035-09-25',203539,9,2035,25,39,203509),('2035-09-26',203539,9,2035,26,39,203509),('2035-09-27',203539,9,2035,27,39,203509),('2035-09-28',203539,9,2035,28,39,203509),('2035-09-29',203539,9,2035,29,39,203509),('2035-09-30',203540,9,2035,30,40,203509),('2035-10-01',203540,10,2035,1,40,203510),('2035-10-02',203540,10,2035,2,40,203510),('2035-10-03',203540,10,2035,3,40,203510),('2035-10-04',203540,10,2035,4,40,203510),('2035-10-05',203540,10,2035,5,40,203510),('2035-10-06',203540,10,2035,6,40,203510),('2035-10-07',203541,10,2035,7,41,203510),('2035-10-08',203541,10,2035,8,41,203510),('2035-10-09',203541,10,2035,9,41,203510),('2035-10-10',203541,10,2035,10,41,203510),('2035-10-11',203541,10,2035,11,41,203510),('2035-10-12',203541,10,2035,12,41,203510),('2035-10-13',203541,10,2035,13,41,203510),('2035-10-14',203542,10,2035,14,42,203510),('2035-10-15',203542,10,2035,15,42,203510),('2035-10-16',203542,10,2035,16,42,203510),('2035-10-17',203542,10,2035,17,42,203510),('2035-10-18',203542,10,2035,18,42,203510),('2035-10-19',203542,10,2035,19,42,203510),('2035-10-20',203542,10,2035,20,42,203510),('2035-10-21',203543,10,2035,21,43,203510),('2035-10-22',203543,10,2035,22,43,203510),('2035-10-23',203543,10,2035,23,43,203510),('2035-10-24',203543,10,2035,24,43,203510),('2035-10-25',203543,10,2035,25,43,203510),('2035-10-26',203543,10,2035,26,43,203510),('2035-10-27',203543,10,2035,27,43,203510),('2035-10-28',203544,10,2035,28,44,203510),('2035-10-29',203544,10,2035,29,44,203510),('2035-10-30',203544,10,2035,30,44,203510),('2035-10-31',203544,10,2035,31,44,203510),('2035-11-01',203544,11,2035,1,44,203511),('2035-11-02',203544,11,2035,2,44,203511),('2035-11-03',203544,11,2035,3,44,203511),('2035-11-04',203545,11,2035,4,45,203511),('2035-11-05',203545,11,2035,5,45,203511),('2035-11-06',203545,11,2035,6,45,203511),('2035-11-07',203545,11,2035,7,45,203511),('2035-11-08',203545,11,2035,8,45,203511),('2035-11-09',203545,11,2035,9,45,203511),('2035-11-10',203545,11,2035,10,45,203511),('2035-11-11',203546,11,2035,11,46,203511),('2035-11-12',203546,11,2035,12,46,203511),('2035-11-13',203546,11,2035,13,46,203511),('2035-11-14',203546,11,2035,14,46,203511),('2035-11-15',203546,11,2035,15,46,203511),('2035-11-16',203546,11,2035,16,46,203511),('2035-11-17',203546,11,2035,17,46,203511),('2035-11-18',203547,11,2035,18,47,203511),('2035-11-19',203547,11,2035,19,47,203511),('2035-11-20',203547,11,2035,20,47,203511),('2035-11-21',203547,11,2035,21,47,203511),('2035-11-22',203547,11,2035,22,47,203511),('2035-11-23',203547,11,2035,23,47,203511),('2035-11-24',203547,11,2035,24,47,203511),('2035-11-25',203548,11,2035,25,48,203511),('2035-11-26',203548,11,2035,26,48,203511),('2035-11-27',203548,11,2035,27,48,203511),('2035-11-28',203548,11,2035,28,48,203511),('2035-11-29',203548,11,2035,29,48,203511),('2035-11-30',203548,11,2035,30,48,203511),('2035-12-01',203548,12,2035,1,48,203512),('2035-12-02',203549,12,2035,2,49,203512),('2035-12-03',203549,12,2035,3,49,203512),('2035-12-04',203549,12,2035,4,49,203512),('2035-12-05',203549,12,2035,5,49,203512),('2035-12-06',203549,12,2035,6,49,203512),('2035-12-07',203549,12,2035,7,49,203512),('2035-12-08',203549,12,2035,8,49,203512),('2035-12-09',203550,12,2035,9,50,203512),('2035-12-10',203550,12,2035,10,50,203512),('2035-12-11',203550,12,2035,11,50,203512),('2035-12-12',203550,12,2035,12,50,203512),('2035-12-13',203550,12,2035,13,50,203512),('2035-12-14',203550,12,2035,14,50,203512),('2035-12-15',203550,12,2035,15,50,203512),('2035-12-16',203551,12,2035,16,51,203512),('2035-12-17',203551,12,2035,17,51,203512),('2035-12-18',203551,12,2035,18,51,203512),('2035-12-19',203551,12,2035,19,51,203512),('2035-12-20',203551,12,2035,20,51,203512),('2035-12-21',203551,12,2035,21,51,203512),('2035-12-22',203551,12,2035,22,51,203512),('2035-12-23',203552,12,2035,23,52,203512),('2035-12-24',203552,12,2035,24,52,203512),('2035-12-25',203552,12,2035,25,52,203512),('2035-12-26',203552,12,2035,26,52,203512),('2035-12-27',203552,12,2035,27,52,203512),('2035-12-28',203552,12,2035,28,52,203512),('2035-12-29',203552,12,2035,29,52,203512),('2035-12-30',203553,12,2035,30,1,203512),('2035-12-31',203501,12,2035,31,1,203512),('2036-01-01',203601,1,2036,1,1,203601),('2036-01-02',203601,1,2036,2,1,203601),('2036-01-03',203601,1,2036,3,1,203601),('2036-01-04',203601,1,2036,4,1,203601),('2036-01-05',203601,1,2036,5,1,203601),('2036-01-06',203602,1,2036,6,2,203601),('2036-01-07',203602,1,2036,7,2,203601),('2036-01-08',203602,1,2036,8,2,203601),('2036-01-09',203602,1,2036,9,2,203601),('2036-01-10',203602,1,2036,10,2,203601),('2036-01-11',203602,1,2036,11,2,203601),('2036-01-12',203602,1,2036,12,2,203601),('2036-01-13',203603,1,2036,13,3,203601),('2036-01-14',203603,1,2036,14,3,203601),('2036-01-15',203603,1,2036,15,3,203601),('2036-01-16',203603,1,2036,16,3,203601),('2036-01-17',203603,1,2036,17,3,203601),('2036-01-18',203603,1,2036,18,3,203601),('2036-01-19',203603,1,2036,19,3,203601),('2036-01-20',203604,1,2036,20,4,203601),('2036-01-21',203604,1,2036,21,4,203601),('2036-01-22',203604,1,2036,22,4,203601),('2036-01-23',203604,1,2036,23,4,203601),('2036-01-24',203604,1,2036,24,4,203601),('2036-01-25',203604,1,2036,25,4,203601),('2036-01-26',203604,1,2036,26,4,203601),('2036-01-27',203605,1,2036,27,5,203601),('2036-01-28',203605,1,2036,28,5,203601),('2036-01-29',203605,1,2036,29,5,203601),('2036-01-30',203605,1,2036,30,5,203601),('2036-01-31',203605,1,2036,31,5,203601),('2036-02-01',203605,2,2036,1,5,203602),('2036-02-02',203605,2,2036,2,5,203602),('2036-02-03',203606,2,2036,3,6,203602),('2036-02-04',203606,2,2036,4,6,203602),('2036-02-05',203606,2,2036,5,6,203602),('2036-02-06',203606,2,2036,6,6,203602),('2036-02-07',203606,2,2036,7,6,203602),('2036-02-08',203606,2,2036,8,6,203602),('2036-02-09',203606,2,2036,9,6,203602),('2036-02-10',203607,2,2036,10,7,203602),('2036-02-11',203607,2,2036,11,7,203602),('2036-02-12',203607,2,2036,12,7,203602),('2036-02-13',203607,2,2036,13,7,203602),('2036-02-14',203607,2,2036,14,7,203602),('2036-02-15',203607,2,2036,15,7,203602),('2036-02-16',203607,2,2036,16,7,203602),('2036-02-17',203608,2,2036,17,8,203602),('2036-02-18',203608,2,2036,18,8,203602),('2036-02-19',203608,2,2036,19,8,203602),('2036-02-20',203608,2,2036,20,8,203602),('2036-02-21',203608,2,2036,21,8,203602),('2036-02-22',203608,2,2036,22,8,203602),('2036-02-23',203608,2,2036,23,8,203602),('2036-02-24',203609,2,2036,24,9,203602),('2036-02-25',203609,2,2036,25,9,203602),('2036-02-26',203609,2,2036,26,9,203602),('2036-02-27',203609,2,2036,27,9,203602),('2036-02-28',203609,2,2036,28,9,203602),('2036-02-29',203609,2,2036,29,9,203602),('2036-03-01',203609,3,2036,1,9,203603),('2036-03-02',203610,3,2036,2,10,203603),('2036-03-03',203610,3,2036,3,10,203603),('2036-03-04',203610,3,2036,4,10,203603),('2036-03-05',203610,3,2036,5,10,203603),('2036-03-06',203610,3,2036,6,10,203603),('2036-03-07',203610,3,2036,7,10,203603),('2036-03-08',203610,3,2036,8,10,203603),('2036-03-09',203611,3,2036,9,11,203603),('2036-03-10',203611,3,2036,10,11,203603),('2036-03-11',203611,3,2036,11,11,203603),('2036-03-12',203611,3,2036,12,11,203603),('2036-03-13',203611,3,2036,13,11,203603),('2036-03-14',203611,3,2036,14,11,203603),('2036-03-15',203611,3,2036,15,11,203603),('2036-03-16',203612,3,2036,16,12,203603),('2036-03-17',203612,3,2036,17,12,203603),('2036-03-18',203612,3,2036,18,12,203603),('2036-03-19',203612,3,2036,19,12,203603),('2036-03-20',203612,3,2036,20,12,203603),('2036-03-21',203612,3,2036,21,12,203603),('2036-03-22',203612,3,2036,22,12,203603),('2036-03-23',203613,3,2036,23,13,203603),('2036-03-24',203613,3,2036,24,13,203603),('2036-03-25',203613,3,2036,25,13,203603),('2036-03-26',203613,3,2036,26,13,203603),('2036-03-27',203613,3,2036,27,13,203603),('2036-03-28',203613,3,2036,28,13,203603),('2036-03-29',203613,3,2036,29,13,203603),('2036-03-30',203614,3,2036,30,14,203603),('2036-03-31',203614,3,2036,31,14,203603),('2036-04-01',203614,4,2036,1,14,203604),('2036-04-02',203614,4,2036,2,14,203604),('2036-04-03',203614,4,2036,3,14,203604),('2036-04-04',203614,4,2036,4,14,203604),('2036-04-05',203614,4,2036,5,14,203604),('2036-04-06',203615,4,2036,6,15,203604),('2036-04-07',203615,4,2036,7,15,203604),('2036-04-08',203615,4,2036,8,15,203604),('2036-04-09',203615,4,2036,9,15,203604),('2036-04-10',203615,4,2036,10,15,203604),('2036-04-11',203615,4,2036,11,15,203604),('2036-04-12',203615,4,2036,12,15,203604),('2036-04-13',203616,4,2036,13,16,203604),('2036-04-14',203616,4,2036,14,16,203604),('2036-04-15',203616,4,2036,15,16,203604),('2036-04-16',203616,4,2036,16,16,203604),('2036-04-17',203616,4,2036,17,16,203604),('2036-04-18',203616,4,2036,18,16,203604),('2036-04-19',203616,4,2036,19,16,203604),('2036-04-20',203617,4,2036,20,17,203604),('2036-04-21',203617,4,2036,21,17,203604),('2036-04-22',203617,4,2036,22,17,203604),('2036-04-23',203617,4,2036,23,17,203604),('2036-04-24',203617,4,2036,24,17,203604),('2036-04-25',203617,4,2036,25,17,203604),('2036-04-26',203617,4,2036,26,17,203604),('2036-04-27',203618,4,2036,27,18,203604),('2036-04-28',203618,4,2036,28,18,203604),('2036-04-29',203618,4,2036,29,18,203604),('2036-04-30',203618,4,2036,30,18,203604),('2036-05-01',203618,5,2036,1,18,203605),('2036-05-02',203618,5,2036,2,18,203605),('2036-05-03',203618,5,2036,3,18,203605),('2036-05-04',203619,5,2036,4,19,203605),('2036-05-05',203619,5,2036,5,19,203605),('2036-05-06',203619,5,2036,6,19,203605),('2036-05-07',203619,5,2036,7,19,203605),('2036-05-08',203619,5,2036,8,19,203605),('2036-05-09',203619,5,2036,9,19,203605),('2036-05-10',203619,5,2036,10,19,203605),('2036-05-11',203620,5,2036,11,20,203605),('2036-05-12',203620,5,2036,12,20,203605),('2036-05-13',203620,5,2036,13,20,203605),('2036-05-14',203620,5,2036,14,20,203605),('2036-05-15',203620,5,2036,15,20,203605),('2036-05-16',203620,5,2036,16,20,203605),('2036-05-17',203620,5,2036,17,20,203605),('2036-05-18',203621,5,2036,18,21,203605),('2036-05-19',203621,5,2036,19,21,203605),('2036-05-20',203621,5,2036,20,21,203605),('2036-05-21',203621,5,2036,21,21,203605),('2036-05-22',203621,5,2036,22,21,203605),('2036-05-23',203621,5,2036,23,21,203605),('2036-05-24',203621,5,2036,24,21,203605),('2036-05-25',203622,5,2036,25,22,203605),('2036-05-26',203622,5,2036,26,22,203605),('2036-05-27',203622,5,2036,27,22,203605),('2036-05-28',203622,5,2036,28,22,203605),('2036-05-29',203622,5,2036,29,22,203605),('2036-05-30',203622,5,2036,30,22,203605),('2036-05-31',203622,5,2036,31,22,203605),('2036-06-01',203623,6,2036,1,23,203606),('2036-06-02',203623,6,2036,2,23,203606),('2036-06-03',203623,6,2036,3,23,203606),('2036-06-04',203623,6,2036,4,23,203606),('2036-06-05',203623,6,2036,5,23,203606),('2036-06-06',203623,6,2036,6,23,203606),('2036-06-07',203623,6,2036,7,23,203606),('2036-06-08',203624,6,2036,8,24,203606),('2036-06-09',203624,6,2036,9,24,203606),('2036-06-10',203624,6,2036,10,24,203606),('2036-06-11',203624,6,2036,11,24,203606),('2036-06-12',203624,6,2036,12,24,203606),('2036-06-13',203624,6,2036,13,24,203606),('2036-06-14',203624,6,2036,14,24,203606),('2036-06-15',203625,6,2036,15,25,203606),('2036-06-16',203625,6,2036,16,25,203606),('2036-06-17',203625,6,2036,17,25,203606),('2036-06-18',203625,6,2036,18,25,203606),('2036-06-19',203625,6,2036,19,25,203606),('2036-06-20',203625,6,2036,20,25,203606),('2036-06-21',203625,6,2036,21,25,203606),('2036-06-22',203626,6,2036,22,26,203606),('2036-06-23',203626,6,2036,23,26,203606),('2036-06-24',203626,6,2036,24,26,203606),('2036-06-25',203626,6,2036,25,26,203606),('2036-06-26',203626,6,2036,26,26,203606),('2036-06-27',203626,6,2036,27,26,203606),('2036-06-28',203626,6,2036,28,26,203606),('2036-06-29',203627,6,2036,29,27,203606),('2036-06-30',203627,6,2036,30,27,203606),('2036-07-01',203627,7,2036,1,27,203607),('2036-07-02',203627,7,2036,2,27,203607),('2036-07-03',203627,7,2036,3,27,203607),('2036-07-04',203627,7,2036,4,27,203607),('2036-07-05',203627,7,2036,5,27,203607),('2036-07-06',203628,7,2036,6,28,203607),('2036-07-07',203628,7,2036,7,28,203607),('2036-07-08',203628,7,2036,8,28,203607),('2036-07-09',203628,7,2036,9,28,203607),('2036-07-10',203628,7,2036,10,28,203607),('2036-07-11',203628,7,2036,11,28,203607),('2036-07-12',203628,7,2036,12,28,203607),('2036-07-13',203629,7,2036,13,29,203607),('2036-07-14',203629,7,2036,14,29,203607),('2036-07-15',203629,7,2036,15,29,203607),('2036-07-16',203629,7,2036,16,29,203607),('2036-07-17',203629,7,2036,17,29,203607),('2036-07-18',203629,7,2036,18,29,203607),('2036-07-19',203629,7,2036,19,29,203607),('2036-07-20',203630,7,2036,20,30,203607),('2036-07-21',203630,7,2036,21,30,203607),('2036-07-22',203630,7,2036,22,30,203607),('2036-07-23',203630,7,2036,23,30,203607),('2036-07-24',203630,7,2036,24,30,203607),('2036-07-25',203630,7,2036,25,30,203607),('2036-07-26',203630,7,2036,26,30,203607),('2036-07-27',203631,7,2036,27,31,203607),('2036-07-28',203631,7,2036,28,31,203607),('2036-07-29',203631,7,2036,29,31,203607),('2036-07-30',203631,7,2036,30,31,203607),('2036-07-31',203631,7,2036,31,31,203607),('2036-08-01',203631,8,2036,1,31,203608),('2036-08-02',203631,8,2036,2,31,203608),('2036-08-03',203632,8,2036,3,32,203608),('2036-08-04',203632,8,2036,4,32,203608),('2036-08-05',203632,8,2036,5,32,203608),('2036-08-06',203632,8,2036,6,32,203608),('2036-08-07',203632,8,2036,7,32,203608),('2036-08-08',203632,8,2036,8,32,203608),('2036-08-09',203632,8,2036,9,32,203608),('2036-08-10',203633,8,2036,10,33,203608),('2036-08-11',203633,8,2036,11,33,203608),('2036-08-12',203633,8,2036,12,33,203608),('2036-08-13',203633,8,2036,13,33,203608),('2036-08-14',203633,8,2036,14,33,203608),('2036-08-15',203633,8,2036,15,33,203608),('2036-08-16',203633,8,2036,16,33,203608),('2036-08-17',203634,8,2036,17,34,203608),('2036-08-18',203634,8,2036,18,34,203608),('2036-08-19',203634,8,2036,19,34,203608),('2036-08-20',203634,8,2036,20,34,203608),('2036-08-21',203634,8,2036,21,34,203608),('2036-08-22',203634,8,2036,22,34,203608),('2036-08-23',203634,8,2036,23,34,203608),('2036-08-24',203635,8,2036,24,35,203608),('2036-08-25',203635,8,2036,25,35,203608),('2036-08-26',203635,8,2036,26,35,203608),('2036-08-27',203635,8,2036,27,35,203608),('2036-08-28',203635,8,2036,28,35,203608),('2036-08-29',203635,8,2036,29,35,203608),('2036-08-30',203635,8,2036,30,35,203608),('2036-08-31',203636,8,2036,31,36,203608),('2036-09-01',203636,9,2036,1,36,203609),('2036-09-02',203636,9,2036,2,36,203609),('2036-09-03',203636,9,2036,3,36,203609),('2036-09-04',203636,9,2036,4,36,203609),('2036-09-05',203636,9,2036,5,36,203609),('2036-09-06',203636,9,2036,6,36,203609),('2036-09-07',203637,9,2036,7,37,203609),('2036-09-08',203637,9,2036,8,37,203609),('2036-09-09',203637,9,2036,9,37,203609),('2036-09-10',203637,9,2036,10,37,203609),('2036-09-11',203637,9,2036,11,37,203609),('2036-09-12',203637,9,2036,12,37,203609),('2036-09-13',203637,9,2036,13,37,203609),('2036-09-14',203638,9,2036,14,38,203609),('2036-09-15',203638,9,2036,15,38,203609),('2036-09-16',203638,9,2036,16,38,203609),('2036-09-17',203638,9,2036,17,38,203609),('2036-09-18',203638,9,2036,18,38,203609),('2036-09-19',203638,9,2036,19,38,203609),('2036-09-20',203638,9,2036,20,38,203609),('2036-09-21',203639,9,2036,21,39,203609),('2036-09-22',203639,9,2036,22,39,203609),('2036-09-23',203639,9,2036,23,39,203609),('2036-09-24',203639,9,2036,24,39,203609),('2036-09-25',203639,9,2036,25,39,203609),('2036-09-26',203639,9,2036,26,39,203609),('2036-09-27',203639,9,2036,27,39,203609),('2036-09-28',203640,9,2036,28,40,203609),('2036-09-29',203640,9,2036,29,40,203609),('2036-09-30',203640,9,2036,30,40,203609),('2036-10-01',203640,10,2036,1,40,203610),('2036-10-02',203640,10,2036,2,40,203610),('2036-10-03',203640,10,2036,3,40,203610),('2036-10-04',203640,10,2036,4,40,203610),('2036-10-05',203641,10,2036,5,41,203610),('2036-10-06',203641,10,2036,6,41,203610),('2036-10-07',203641,10,2036,7,41,203610),('2036-10-08',203641,10,2036,8,41,203610),('2036-10-09',203641,10,2036,9,41,203610),('2036-10-10',203641,10,2036,10,41,203610),('2036-10-11',203641,10,2036,11,41,203610),('2036-10-12',203642,10,2036,12,42,203610),('2036-10-13',203642,10,2036,13,42,203610),('2036-10-14',203642,10,2036,14,42,203610),('2036-10-15',203642,10,2036,15,42,203610),('2036-10-16',203642,10,2036,16,42,203610),('2036-10-17',203642,10,2036,17,42,203610),('2036-10-18',203642,10,2036,18,42,203610),('2036-10-19',203643,10,2036,19,43,203610),('2036-10-20',203643,10,2036,20,43,203610),('2036-10-21',203643,10,2036,21,43,203610),('2036-10-22',203643,10,2036,22,43,203610),('2036-10-23',203643,10,2036,23,43,203610),('2036-10-24',203643,10,2036,24,43,203610),('2036-10-25',203643,10,2036,25,43,203610),('2036-10-26',203644,10,2036,26,44,203610),('2036-10-27',203644,10,2036,27,44,203610),('2036-10-28',203644,10,2036,28,44,203610),('2036-10-29',203644,10,2036,29,44,203610),('2036-10-30',203644,10,2036,30,44,203610),('2036-10-31',203644,10,2036,31,44,203610),('2036-11-01',203644,11,2036,1,44,203611),('2036-11-02',203645,11,2036,2,45,203611),('2036-11-03',203645,11,2036,3,45,203611),('2036-11-04',203645,11,2036,4,45,203611),('2036-11-05',203645,11,2036,5,45,203611),('2036-11-06',203645,11,2036,6,45,203611),('2036-11-07',203645,11,2036,7,45,203611),('2036-11-08',203645,11,2036,8,45,203611),('2036-11-09',203646,11,2036,9,46,203611),('2036-11-10',203646,11,2036,10,46,203611),('2036-11-11',203646,11,2036,11,46,203611),('2036-11-12',203646,11,2036,12,46,203611),('2036-11-13',203646,11,2036,13,46,203611),('2036-11-14',203646,11,2036,14,46,203611),('2036-11-15',203646,11,2036,15,46,203611),('2036-11-16',203647,11,2036,16,47,203611),('2036-11-17',203647,11,2036,17,47,203611),('2036-11-18',203647,11,2036,18,47,203611),('2036-11-19',203647,11,2036,19,47,203611),('2036-11-20',203647,11,2036,20,47,203611),('2036-11-21',203647,11,2036,21,47,203611),('2036-11-22',203647,11,2036,22,47,203611),('2036-11-23',203648,11,2036,23,48,203611),('2036-11-24',203648,11,2036,24,48,203611),('2036-11-25',203648,11,2036,25,48,203611),('2036-11-26',203648,11,2036,26,48,203611),('2036-11-27',203648,11,2036,27,48,203611),('2036-11-28',203648,11,2036,28,48,203611),('2036-11-29',203648,11,2036,29,48,203611),('2036-11-30',203649,11,2036,30,49,203611),('2036-12-01',203649,12,2036,1,49,203612),('2036-12-02',203649,12,2036,2,49,203612),('2036-12-03',203649,12,2036,3,49,203612),('2036-12-04',203649,12,2036,4,49,203612),('2036-12-05',203649,12,2036,5,49,203612),('2036-12-06',203649,12,2036,6,49,203612),('2036-12-07',203650,12,2036,7,50,203612),('2036-12-08',203650,12,2036,8,50,203612),('2036-12-09',203650,12,2036,9,50,203612),('2036-12-10',203650,12,2036,10,50,203612),('2036-12-11',203650,12,2036,11,50,203612),('2036-12-12',203650,12,2036,12,50,203612),('2036-12-13',203650,12,2036,13,50,203612),('2036-12-14',203651,12,2036,14,51,203612),('2036-12-15',203651,12,2036,15,51,203612),('2036-12-16',203651,12,2036,16,51,203612),('2036-12-17',203651,12,2036,17,51,203612),('2036-12-18',203651,12,2036,18,51,203612),('2036-12-19',203651,12,2036,19,51,203612),('2036-12-20',203651,12,2036,20,51,203612),('2036-12-21',203652,12,2036,21,52,203612),('2036-12-22',203652,12,2036,22,52,203612),('2036-12-23',203652,12,2036,23,52,203612),('2036-12-24',203652,12,2036,24,52,203612),('2036-12-25',203652,12,2036,25,52,203612),('2036-12-26',203652,12,2036,26,52,203612),('2036-12-27',203652,12,2036,27,52,203612),('2036-12-28',203653,12,2036,28,53,203612),('2036-12-29',203601,12,2036,29,53,203612),('2036-12-30',203601,12,2036,30,53,203612); +/*!40000 ALTER TABLE `time` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Dumping data for table `claimResponsible` -- @@ -370,7 +380,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-24 12:39:37 +-- Dump completed on 2020-09-28 13:28:38 USE `cache`; -- MySQL dump 10.13 Distrib 5.7.28, for osx10.15 (x86_64) -- @@ -408,7 +418,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-24 12:39:37 +-- Dump completed on 2020-09-28 13:28:39 USE `hedera`; -- MySQL dump 10.13 Distrib 5.7.28, for osx10.15 (x86_64) -- @@ -466,7 +476,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-24 12:39:38 +-- Dump completed on 2020-09-28 13:28:40 USE `postgresql`; -- MySQL dump 10.13 Distrib 5.7.28, for osx10.15 (x86_64) -- @@ -554,4 +564,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-24 12:39:40 +-- Dump completed on 2020-09-28 13:28:42 diff --git a/db/dump/fixtures.sql b/db/dump/fixtures.sql index a5e209a11..f2267f4b8 100644 --- a/db/dump/fixtures.sql +++ b/db/dump/fixtures.sql @@ -781,8 +781,8 @@ INSERT INTO `vn`.`item`(`id`, `typeFk`, `size`, `inkFk`, `stems`, `originFk`, `d INSERT INTO `vn`.`priceFixed`(`id`, `itemFk`, `rate0`, `rate1`, `rate2`, `rate3`, `started`, `ended`, `bonus`, `warehouseFk`, `created`) VALUES (1, 1, 0, 0, 2.5, 2, CURDATE(), DATE_ADD(CURDATE(), INTERVAL +1 MONTH), 0, 1, CURDATE()), - (3, 3, 10, 10, 10, 10, CURDATE(), DATE_ADD(CURDATE(), INTERVAL +1 MONTH), 0, 1, CURDATE()), - (4, 5, 8.5, 10, 7.5, 6, CURDATE(), DATE_ADD(CURDATE(), INTERVAL +1 MONTH), 1, 2, CURDATE()); + (2, 3, 10, 10, 10, 10, CURDATE(), DATE_ADD(CURDATE(), INTERVAL +1 MONTH), 0, 1, CURDATE()), + (3, 5, 8.5, 10, 7.5, 6, CURDATE(), DATE_ADD(CURDATE(), INTERVAL +1 MONTH), 1, 2, CURDATE()); INSERT INTO `vn`.`expedition`(`id`, `agencyModeFk`, `ticketFk`, `isBox`, `created`, `itemFk`, `counter`, `checked`, `workerFk`) VALUES @@ -1643,13 +1643,13 @@ INSERT INTO `vn`.`ticketRequest`(`id`, `description`, `requesterFk`, `attenderFk (4, 'Melee weapon combat first 15cm', 18, 35, 15, NULL, 1.30, NULL, NULL, 11, CURDATE()), (5, 'Melee weapon combat first 15cm', 18, 35, 15, 4, 1.30, 0, NULL, 18, CURDATE()); -INSERT INTO `vn`.`ticketServiceType`(`id`, `name`) +INSERT INTO `vn`.`ticketServiceType`(`id`, `name`, `expenceFk`) VALUES - (1, 'Porte Agencia'), - (2, 'Portes Retorno'), - (3, 'Porte Carry'), - (4, 'Cargo FITOSANITARIO'), - (5, 'Documentos'); + (1, 'Porte Agencia', 7001000000), + (2, 'Portes Retorno', 7001000000), + (3, 'Porte Carry', 7001000000), + (4, 'Cargo FITOSANITARIO', 4751000000), + (5, 'Documentos', 2000000000); INSERT INTO `vn`.`ticketService`(`id`, `description`, `quantity`, `price`, `taxClassFk`, `ticketFk`, `ticketServiceTypeFk`) VALUES diff --git a/db/dump/structure.sql b/db/dump/structure.sql index 3514cb4d4..b1362bdb3 100644 --- a/db/dump/structure.sql +++ b/db/dump/structure.sql @@ -2457,13 +2457,13 @@ CREATE TABLE `salaries2018` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `salePersonEvolution` +-- Table structure for table `salePersonEvolution__` -- -DROP TABLE IF EXISTS `salePersonEvolution`; +DROP TABLE IF EXISTS `salePersonEvolution__`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `salePersonEvolution` ( +CREATE TABLE `salePersonEvolution__` ( `dated` date NOT NULL DEFAULT '0000-00-00', `amount` decimal(10,2) NOT NULL DEFAULT '0.00', `equalizationTax` decimal(10,2) NOT NULL DEFAULT '0.00', @@ -4325,16 +4325,16 @@ BEGIN * La tabla mana_spellers es una caché * */ - - UPDATE mana_spellers me - JOIN - (SELECT Id_Trabajador, FLOOR(SUM(importe)/12) as pesoCarteraMensual - FROM bs.vendedores - WHERE año * 100 + mes >= (YEAR(CURDATE()) -1) * 100 + MONTH(CURDATE()) - GROUP BY Id_Trabajador - ) lastYearSales USING(Id_Trabajador) - SET me.prices_modifier_rate = GREATEST(me.minRate,LEAST(me.maxRate,ROUND(- me.used/lastYearSales.pesoCarteraMensual,3))) ; - + + UPDATE mana_spellers me + JOIN + (SELECT Id_Trabajador, FLOOR(SUM(importe)/12) as pesoCarteraMensual + FROM bs.vendedores + WHERE año * 100 + mes >= (YEAR(CURDATE()) -1) * 100 + MONTH(CURDATE()) + GROUP BY Id_Trabajador + ) lastYearSales USING(Id_Trabajador) + SET me.prices_modifier_rate = GREATEST(me.minRate,LEAST(me.maxRate,ROUND(- me.used/lastYearSales.pesoCarteraMensual,3))) ; + END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -4969,17 +4969,17 @@ DELIMITER ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -/*!50003 DROP PROCEDURE IF EXISTS `userSundayRole` */; +/*!50003 DROP PROCEDURE IF EXISTS `userSundayRole__` */; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8 */ ; -/*!50003 SET character_set_results = utf8 */ ; -/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET character_set_client = utf8mb4 */ ; +/*!50003 SET character_set_results = utf8mb4 */ ; +/*!50003 SET collation_connection = utf8mb4_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; -CREATE DEFINER=`root`@`%` PROCEDURE `userSundayRole`() +CREATE DEFINER=`root`@`%` PROCEDURE `userSundayRole__`() BEGIN -- 4996 Fran Natek Echevarria DECLARE vDay INT; @@ -6097,6 +6097,24 @@ CREATE DATABASE /*!32312 IF NOT EXISTS*/ `cache` /*!40100 DEFAULT CHARACTER SET USE `cache`; +-- +-- Table structure for table `addressFriendship` +-- + +DROP TABLE IF EXISTS `addressFriendship`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `addressFriendship` ( + `addressFk1` int(11) NOT NULL DEFAULT '0', + `addressFk2` int(11) NOT NULL DEFAULT '0', + `friendship` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`addressFk1`,`addressFk2`), + KEY `addressFriendship_fk2_idx` (`addressFk2`), + CONSTRAINT `addressFriendship_fk1` FOREIGN KEY (`addressFk1`) REFERENCES `vn`.`address` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `addressFriendship_fk2` FOREIGN KEY (`addressFk2`) REFERENCES `vn`.`address` (`id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + -- -- Table structure for table `available` -- @@ -6253,6 +6271,24 @@ CREATE TABLE `visible` ( ) ENGINE=MEMORY DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; +-- +-- Table structure for table `zoneAgencyFriendship` +-- + +DROP TABLE IF EXISTS `zoneAgencyFriendship`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `zoneAgencyFriendship` ( + `agencyModeFk` int(11) NOT NULL, + `zoneFk` int(11) NOT NULL, + `friendship` bigint(21) NOT NULL DEFAULT '0', + PRIMARY KEY (`agencyModeFk`,`zoneFk`), + KEY `zoneAgencyFriendship_fk1_idx` (`zoneFk`), + CONSTRAINT `zoneAgencyFriendship` FOREIGN KEY (`agencyModeFk`) REFERENCES `vn`.`agencyMode` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `zoneAgencyFriendship_fk1` FOREIGN KEY (`zoneFk`) REFERENCES `vn`.`zone` (`id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + -- -- Dumping events for database 'cache' -- @@ -6299,6 +6335,46 @@ DELIMITER ; -- -- Dumping routines for database 'cache' -- +/*!50003 DROP PROCEDURE IF EXISTS `addressFriendship_Update` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`root`@`%` PROCEDURE `addressFriendship_Update`() +BEGIN + + REPLACE cache.addressFriendship + SELECT addressFk1, addressFk2, count(*) friendship + FROM + ( + SELECT t.routeFk, t.zoneFk, t.addressFk addressFk1, t2.addressFk addressFk2 + FROM vn.ticket t + JOIN vn.ticket t2 USING(routeFk, zoneFk) + WHERE t.shipped >= TIMESTAMPADD(MONTH,-3,CURDATE()) + AND t2.shipped >= TIMESTAMPADD(MONTH,-3,CURDATE()) + AND t.addressFk != t2.addressFk) sub + GROUP BY addressFk1, addressFk2; + + REPLACE cache.zoneAgencyFriendship + SELECT r.agencyModeFk, t.zoneFk, count(*) friendship + FROM vn.route r + JOIN vn.ticket t ON t.routeFk = r.id + WHERE t.shipped >= TIMESTAMPADD(MONTH,-3,CURDATE()) + AND r.agencyModeFk + AND t.routeFk + GROUP BY agencyModeFk, zoneFk; + +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 DROP PROCEDURE IF EXISTS `available_clean` */; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; @@ -6496,9 +6572,9 @@ DELIMITER ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `cacheCalc_clean`() -BEGIN - DECLARE vCleanTime DATETIME DEFAULT TIMESTAMPADD(MINUTE, -5, NOW()); - DELETE FROM cache_calc WHERE expires < vCleanTime; +BEGIN + DECLARE vCleanTime DATETIME DEFAULT TIMESTAMPADD(MINUTE, -5, NOW()); + DELETE FROM cache_calc WHERE expires < vCleanTime; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -6516,27 +6592,27 @@ DELIMITER ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `cache_calc_end`(IN `v_calc` INT) -BEGIN - DECLARE v_cache_name VARCHAR(255); - DECLARE v_params VARCHAR(255); - - -- Libera el bloqueo y actualiza la fecha de ultimo refresco. - - UPDATE cache_calc cc JOIN cache c ON c.id = cc.cache_id - SET - cc.last_refresh = NOW(), - cc.expires = ADDTIME(NOW(), c.lifetime), - cc.connection_id = NULL - WHERE cc.id = v_calc; - - SELECT c.name, ca.params INTO v_cache_name, v_params - FROM cache c - JOIN cache_calc ca ON c.id = ca.cache_id - WHERE ca.id = v_calc; - - IF v_cache_name IS NOT NULL THEN - DO RELEASE_LOCK(CONCAT_WS('/', v_cache_name, IFNULL(v_params, ''))); - END IF; +BEGIN + DECLARE v_cache_name VARCHAR(255); + DECLARE v_params VARCHAR(255); + + -- Libera el bloqueo y actualiza la fecha de ultimo refresco. + + UPDATE cache_calc cc JOIN cache c ON c.id = cc.cache_id + SET + cc.last_refresh = NOW(), + cc.expires = ADDTIME(NOW(), c.lifetime), + cc.connection_id = NULL + WHERE cc.id = v_calc; + + SELECT c.name, ca.params INTO v_cache_name, v_params + FROM cache c + JOIN cache_calc ca ON c.id = ca.cache_id + WHERE ca.id = v_calc; + + IF v_cache_name IS NOT NULL THEN + DO RELEASE_LOCK(CONCAT_WS('/', v_cache_name, IFNULL(v_params, ''))); + END IF; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -6554,88 +6630,88 @@ DELIMITER ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `cache_calc_start`(OUT `v_calc` INT, INOUT `v_refresh` INT, IN `v_cache_name` VARCHAR(50), IN `v_params` VARCHAR(100)) -proc: BEGIN - DECLARE v_valid BOOL; - DECLARE v_lock_id VARCHAR(100); - DECLARE v_cache_id INT; - DECLARE v_expires DATETIME; - DECLARE v_clean_time DATETIME; - - DECLARE EXIT HANDLER FOR SQLEXCEPTION - BEGIN - IF v_lock_id IS NOT NULL THEN - DO RELEASE_LOCK(v_lock_id); - END IF; - - RESIGNAL; - END; - - SET v_params = IFNULL(v_params, ''); - - -- Si el servidor se ha reiniciado invalida todos los calculos. - - SELECT COUNT(*) > 0 INTO v_valid FROM cache_valid; - - IF !v_valid - THEN - DELETE FROM cache_calc; - INSERT INTO cache_valid (valid) VALUES (TRUE); - END IF; - - -- Obtiene un bloqueo exclusivo para que no haya problemas de concurrencia. - - SET v_lock_id = CONCAT_WS('/', v_cache_name, v_params); - - IF !GET_LOCK(v_lock_id, 30) - THEN - SET v_calc = NULL; - SET v_refresh = FALSE; - LEAVE proc; - END IF; - - -- Comprueba si el calculo solicitado existe y esta actualizado. - - SELECT c.id, ca.id, ca.expires - INTO v_cache_id, v_calc, v_expires - FROM cache c - LEFT JOIN cache_calc ca - ON ca.cache_id = c.id AND ca.params = v_params COLLATE 'utf8_general_ci' - WHERE c.name = v_cache_name COLLATE 'utf8_general_ci'; - - -- Si existe una calculo valido libera el bloqueo y devuelve su identificador. - - IF !v_refresh AND NOW() < v_expires - THEN - DO RELEASE_LOCK(v_lock_id); - SET v_refresh = FALSE; - LEAVE proc; - END IF; - - -- Si el calculo no existe le crea una entrada en la tabla de calculos. - - IF v_calc IS NULL - THEN - INSERT INTO cache_calc SET - cache_id = v_cache_id, - cacheName = v_cache_name, - params = v_params, - last_refresh = NULL, - expires = NULL, - connection_id = CONNECTION_ID(); - - SET v_calc = LAST_INSERT_ID(); - ELSE - UPDATE cache_calc - SET - last_refresh = NULL, - expires = NULL, - connection_id = CONNECTION_ID() - WHERE id = v_calc; - END IF; - - -- Si se debe recalcular mantiene el bloqueo y devuelve su identificador. - - SET v_refresh = TRUE; +proc: BEGIN + DECLARE v_valid BOOL; + DECLARE v_lock_id VARCHAR(100); + DECLARE v_cache_id INT; + DECLARE v_expires DATETIME; + DECLARE v_clean_time DATETIME; + + DECLARE EXIT HANDLER FOR SQLEXCEPTION + BEGIN + IF v_lock_id IS NOT NULL THEN + DO RELEASE_LOCK(v_lock_id); + END IF; + + RESIGNAL; + END; + + SET v_params = IFNULL(v_params, ''); + + -- Si el servidor se ha reiniciado invalida todos los calculos. + + SELECT COUNT(*) > 0 INTO v_valid FROM cache_valid; + + IF !v_valid + THEN + DELETE FROM cache_calc; + INSERT INTO cache_valid (valid) VALUES (TRUE); + END IF; + + -- Obtiene un bloqueo exclusivo para que no haya problemas de concurrencia. + + SET v_lock_id = CONCAT_WS('/', v_cache_name, v_params); + + IF !GET_LOCK(v_lock_id, 30) + THEN + SET v_calc = NULL; + SET v_refresh = FALSE; + LEAVE proc; + END IF; + + -- Comprueba si el calculo solicitado existe y esta actualizado. + + SELECT c.id, ca.id, ca.expires + INTO v_cache_id, v_calc, v_expires + FROM cache c + LEFT JOIN cache_calc ca + ON ca.cache_id = c.id AND ca.params = v_params COLLATE 'utf8_general_ci' + WHERE c.name = v_cache_name COLLATE 'utf8_general_ci'; + + -- Si existe una calculo valido libera el bloqueo y devuelve su identificador. + + IF !v_refresh AND NOW() < v_expires + THEN + DO RELEASE_LOCK(v_lock_id); + SET v_refresh = FALSE; + LEAVE proc; + END IF; + + -- Si el calculo no existe le crea una entrada en la tabla de calculos. + + IF v_calc IS NULL + THEN + INSERT INTO cache_calc SET + cache_id = v_cache_id, + cacheName = v_cache_name, + params = v_params, + last_refresh = NULL, + expires = NULL, + connection_id = CONNECTION_ID(); + + SET v_calc = LAST_INSERT_ID(); + ELSE + UPDATE cache_calc + SET + last_refresh = NULL, + expires = NULL, + connection_id = CONNECTION_ID() + WHERE id = v_calc; + END IF; + + -- Si se debe recalcular mantiene el bloqueo y devuelve su identificador. + + SET v_refresh = TRUE; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -6653,24 +6729,24 @@ DELIMITER ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `cache_calc_unlock`(IN `v_calc` INT) -proc: BEGIN - DECLARE v_cache_name VARCHAR(50); - DECLARE v_params VARCHAR(100); - - IF v_calc IS NULL THEN - LEAVE proc; - END IF; - - SELECT c.name, ca.params INTO v_cache_name, v_params - FROM cache c - JOIN cache_calc ca ON c.id = ca.cache_id - WHERE ca.id = v_calc; - - DELETE FROM cache_calc WHERE id = v_calc; - - IF v_cache_name IS NOT NULL THEN - DO RELEASE_LOCK(CONCAT_WS('/', v_cache_name, IFNULL(v_params, ''))); - END IF; +proc: BEGIN + DECLARE v_cache_name VARCHAR(50); + DECLARE v_params VARCHAR(100); + + IF v_calc IS NULL THEN + LEAVE proc; + END IF; + + SELECT c.name, ca.params INTO v_cache_name, v_params + FROM cache c + JOIN cache_calc ca ON c.id = ca.cache_id + WHERE ca.id = v_calc; + + DELETE FROM cache_calc WHERE id = v_calc; + + IF v_cache_name IS NOT NULL THEN + DO RELEASE_LOCK(CONCAT_WS('/', v_cache_name, IFNULL(v_params, ''))); + END IF; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -6689,9 +6765,9 @@ DELIMITER ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `cache_clean`() NO SQL -BEGIN - CALL available_clean; - CALL visible_clean; +BEGIN + CALL available_clean; + CALL visible_clean; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -6709,13 +6785,13 @@ DELIMITER ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `clean`() -BEGIN - - DECLARE vDateShort DATETIME; - - SET vDateShort = TIMESTAMPADD(MONTH, -1, CURDATE()); - - DELETE FROM cache.departure_limit WHERE Fecha < vDateShort; +BEGIN + + DECLARE vDateShort DATETIME; + + SET vDateShort = TIMESTAMPADD(MONTH, -1, CURDATE()); + + DELETE FROM cache.departure_limit WHERE Fecha < vDateShort; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -7726,6 +7802,19 @@ DELIMITER ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; +-- +-- Table structure for table `item_free` +-- + +DROP TABLE IF EXISTS `item_free`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_free` ( + `id` int(11) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + -- -- Table structure for table `item_group` -- @@ -7962,16 +8051,20 @@ BEGIN WHERE s.id = vSaleFk; INSERT INTO vn.mail (sender, `subject`, body) - SELECT CONCAT(account.userGetNameFromId(c.salesPersonFk), '@verdnatura.es'), - 'Error con disponible Floramondo', - CONCAT('El articulo ', s.concept, ' del ticket ', t.id , - ' ha sido cancelado por Floramondo. ', - ' Se ha actualizado la cantidad a 0. ', - 'https://salix.verdnatura.es/#!/ticket/', t.id ,'/summary') - FROM vn.sale s - JOIN vn.ticket t ON t.id = s.ticketFk - JOIN vn.`client` c ON c.id = t.clientFk - WHERE s.id = vSaleFk; + SELECT IF(u.id IS NOT NULL AND c.email IS NOT NULL, + c.email, + CONCAT(account.userGetNameFromId(c.salesPersonFk), '@verdnatura.es') + ), + 'Producto no disponible en Floramondo', + CONCAT('El artículo ', s.concept, ' del ticket ', t.id , ' ha sido cancelado por Floramondo. ', ' Se ha actualizado la cantidad a 0. ', + IF (u.id IS NOT NULL AND c.email IS NOT NULL , + CONCAT('https://verdnatura.es/#!form=ecomerce%2Fticket&ticket=', t.id ), + CONCAT('https://salix.verdnatura.es/#!/ticket/', t.id ,'/summary'))) + FROM vn.sale s + JOIN vn.ticket t ON t.id = s.ticketFk + JOIN vn.`client` c ON c.id = t.clientFk + LEFT JOIN account.user u ON u.id= c.salesPersonFk AND u.name = 'ruben' + WHERE s.id = vSaleFk; END IF; END */;; DELIMITER ; @@ -8012,6 +8105,7 @@ CREATE TABLE `supplier` ( `entry_date` date NOT NULL, `expiry_date` date NOT NULL, `change_date_time` datetime NOT NULL, + `isAllowedDirectSales` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`supplier_id`), KEY `glnaddressCodeidx` (`glnAddressCode`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='/tmp/floricode/FEC010104/CC090916.txt'; @@ -8129,6 +8223,30 @@ CREATE TABLE `supplyResponse` ( KEY `supplyResponseEmbalageCodeIdx` (`EmbalageCode`) ) ENGINE=InnoDBDEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8mb4 */ ; +/*!50003 SET character_set_results = utf8mb4 */ ; +/*!50003 SET collation_connection = utf8mb4_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +/*!50003 CREATE*/ /*!50017 DEFINER=`z-developer`@`%`*/ /*!50003 TRIGGER `edi`.`supplyResponse_AFTER_UPDATE` AFTER UPDATE ON `supplyResponse` FOR EACH ROW +BEGIN +/* + IF NEW.NumberOfUnits = 0 AND OLD.NumberOfUnits <> 0 AND NEW.MarketPlaceID = 8713783439043 THEN + INSERT INTO vn.mail(sender, `subject`, body) + VALUES( 'jgallego@verdnatura.es', + 'Cantidad a cero', + CONCAT('SupplyResponse: ', NEW.ID, ', Articulo: ' , NEW.VBNOmschrijving)); + END IF;*/ +END */;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; -- -- Table structure for table `type` @@ -8373,10 +8491,15 @@ BEGIN -- Si es una compra de Floramondo obtiene el articulo IF vPutOrderFk THEN - SELECT b.itemFk, b.id INTO vItem, vBuy + /*SELECT b.itemFk, b.id INTO vItem, vBuy FROM edi.putOrder po JOIN vn.buy b ON b.deliveryFk = po.deliveryInformationID WHERE po.id = vPutOrderFk + LIMIT 1;*/ + SELECT i.id INTO vItem + FROM edi.putOrder po + JOIN vn.item i ON i.supplyResponseFk = po.supplyResponseID + WHERE po.id = vPutOrderFk LIMIT 1; END IF; @@ -8412,54 +8535,7 @@ BEGIN ORDER BY l.now DESC, c.Id_Compra ASC LIMIT 1; END IF; - -- Determina si el articulo se vende por lotes - IF vItem - THEN - SELECT COUNT(*) > 0 INTO vIsLot - FROM vn2008.Articles a - LEFT JOIN vn2008.Tipos t ON t.tipo_id = a.tipo_id - WHERE a.Id_Article = vItem - AND t.`transaction`; - - -- Si el articulo se vende por lotes se inserta un nuevo artículo - - IF vIsLot - THEN - INSERT INTO vn2008.Articles ( - Article - ,Medida - ,Categoria - ,Id_Origen - ,iva_group_id - ,Foto - ,Color - ,Codintrastat - ,tipo_id - ,Tallos - ) - SELECT - i.`name` - ,IFNULL(e.s1, e.pac) - ,e.cat - ,IFNULL(o.id, 17) - ,IFNULL(a.iva_group_id, 1) - ,a.Foto - ,a.Color - ,a.Codintrastat - ,IFNULL(a.tipo_id, 10) - ,IF(a.tipo_id = 15, 0, 1) - FROM vn2008.buy_edi e - LEFT JOIN item i ON i.id = e.ref - LEFT JOIN vn2008.Origen o ON o.Abreviatura = e.ori - LEFT JOIN vn2008.Articles a ON a.Id_Article = vItem - WHERE e.id = vSelf; - - SET vItem = LAST_INSERT_ID(); - END IF; - END IF; - -- Inserta la compra asociada al EKT - INSERT INTO vn2008.Compres ( Id_Entrada @@ -8518,12 +8594,13 @@ BEGIN DECLARE vItem INT; DECLARE vQty INT; DECLARE vPackage INT; + DECLARE vPutOrderFk INT; DECLARE vIsLot BOOLEAN; DECLARE vForceToPacking INT DEFAULT 2; -- Carga los datos necesarios del EKT - SELECT ref, qty, package INTO vRef, vQty, vPackage + SELECT ref, qty, package, putOrderFk INTO vRef, vQty, vPackage, vPutOrderFk FROM ekt e LEFT JOIN item i ON e.ref = i.id WHERE e.id = vSelf; @@ -8551,39 +8628,49 @@ BEGIN `to` = 'ekt@verdnatura.es'; END IF; END IF; + + -- Si es una compra de Floramondo obtiene el articulo + IF vPutOrderFk THEN + SELECT b.itemFk, b.id INTO vItem, vBuy + FROM edi.putOrder po + JOIN vn.buy b ON b.deliveryFk = po.deliveryInformationID + WHERE po.id = vPutOrderFk + LIMIT 1; + END IF; + + IF IFNULL(vItem,0) = 0 THEN + -- Intenta obtener el artículo en base a los atributos holandeses - -- Intenta obtener el artículo en base a los atributos holandeses - - INSERT IGNORE INTO item_track SET - item_id = vRef; - - SELECT c.Id_Compra, c.Id_Article INTO vBuy, vItem - FROM vn2008.buy_edi e - JOIN item_track t ON t.item_id = e.ref - LEFT JOIN vn2008.buy_edi l ON l.ref = e.ref - LEFT JOIN vn2008.Compres c ON c.buy_edi_id = l.id - JOIN vn2008.config cfg - WHERE e.id = vSelf - AND l.id != vSelf - AND c.Id_Article != cfg.generic_item - AND IF(t.s1, l.s1 = e.s1, TRUE) - AND IF(t.s2, l.s2 = e.s2, TRUE) - AND IF(t.s3, l.s3 = e.s3, TRUE) - AND IF(t.s4, l.s4 = e.s4, TRUE) - AND IF(t.s5, l.s5 = e.s5, TRUE) - AND IF(t.s6, l.s6 = e.s6, TRUE) - AND IF(t.kop, l.kop = e.kop, TRUE) - AND IF(t.pac, l.pac = e.pac, TRUE) - AND IF(t.cat, l.cat = e.cat, TRUE) - AND IF(t.ori, l.ori = e.ori, TRUE) - AND IF(t.pro, l.pro = e.pro, TRUE) - AND IF(t.sub, l.sub = e.sub, TRUE) - AND IF(t.package, l.package = e.package, TRUE) - AND c.Id_Article < 170000 - ORDER BY l.now DESC, c.Id_Compra ASC LIMIT 1; + INSERT IGNORE INTO item_track SET + item_id = vRef; + SELECT c.Id_Compra, c.Id_Article INTO vBuy, vItem + FROM vn2008.buy_edi e + JOIN item_track t ON t.item_id = e.ref + LEFT JOIN vn2008.buy_edi l ON l.ref = e.ref + LEFT JOIN vn2008.Compres c ON c.buy_edi_id = l.id + JOIN vn2008.config cfg + WHERE e.id = vSelf + AND l.id != vSelf + AND c.Id_Article != cfg.generic_item + AND IF(t.s1, l.s1 = e.s1, TRUE) + AND IF(t.s2, l.s2 = e.s2, TRUE) + AND IF(t.s3, l.s3 = e.s3, TRUE) + AND IF(t.s4, l.s4 = e.s4, TRUE) + AND IF(t.s5, l.s5 = e.s5, TRUE) + AND IF(t.s6, l.s6 = e.s6, TRUE) + AND IF(t.kop, l.kop = e.kop, TRUE) + AND IF(t.pac, l.pac = e.pac, TRUE) + AND IF(t.cat, l.cat = e.cat, TRUE) + AND IF(t.ori, l.ori = e.ori, TRUE) + AND IF(t.pro, l.pro = e.pro, TRUE) + AND IF(t.sub, l.sub = e.sub, TRUE) + AND IF(t.package, l.package = e.package, TRUE) + AND c.Id_Article < 170000 + ORDER BY l.now DESC, c.Id_Compra ASC LIMIT 1; + END IF; + -- Determina si el articulo se vende por lotes - IF vItem THEN SELECT COUNT(*) > 0 INTO vIsLot @@ -8715,154 +8802,154 @@ CREATE DEFINER=`root`@`%` PROCEDURE `exchange_new`( IN `vAuction` SMALLINT, IN `vPackage` INT, IN `vPutOrderFk` INT) -BEGIN +BEGIN /** * Adds a new exchange, generates it's barcode and * inserts/updates the transaction. When the referenced * transaction exists as provisional, updates it with - * the new values. - */ - DECLARE vEkt INT; - DECLARE vRewriteKop INT DEFAULT NULL; - DECLARE vBarcode CHAR(15) DEFAULT NULL; - DECLARE vIsDuplicated BOOL; + * the new values. + */ + DECLARE vEkt INT; + DECLARE vRewriteKop INT DEFAULT NULL; + DECLARE vBarcode CHAR(15) DEFAULT NULL; + DECLARE vIsDuplicated BOOL; DECLARE vUpdateExistent BOOL DEFAULT FALSE; - DECLARE duplicateKey CONDITION FOR 1062; + DECLARE duplicateKey CONDITION FOR 1062; + + DECLARE CONTINUE HANDLER FOR duplicateKey + SET vIsDuplicated = TRUE; + + -- Generates the barcode + + IF vAgj != 0 AND vAgj IS NOT NULL + THEN + SET vBarcode = CONCAT( + LPAD(vAuction, 2, 0), + LPAD(IFNULL(vClock, 99), 2, 0), + LPAD(DAYOFYEAR(vDate), 3, 0), + IF(vClock IS NULL OR vClock = 99, + LPAD(vAgj, 7, 0), + CONCAT(LPAD(vAgj, 5, 0), '01') + ), + '0' + ); + END IF; + + -- Rewrites the kop parameter + + IF vKop IS NULL THEN + SELECT defaultKop INTO vKop FROM exchangeConfig; + END IF; + + SELECT e.kop INTO vRewriteKop + FROM mailSender e + JOIN mail m ON m.senderFk = e.id + WHERE m.id = vMailFk; + + SET vKop = IFNULL(vRewriteKop, vKop); + + -- Inserts the new transaction - DECLARE CONTINUE HANDLER FOR duplicateKey - SET vIsDuplicated = TRUE; - - -- Generates the barcode - - IF vAgj != 0 AND vAgj IS NOT NULL - THEN - SET vBarcode = CONCAT( - LPAD(vAuction, 2, 0), - LPAD(IFNULL(vClock, 99), 2, 0), - LPAD(DAYOFYEAR(vDate), 3, 0), - IF(vClock IS NULL OR vClock = 99, - LPAD(vAgj, 7, 0), - CONCAT(LPAD(vAgj, 5, 0), '01') - ), - '0' - ); - END IF; - - -- Rewrites the kop parameter - - IF vKop IS NULL THEN - SELECT defaultKop INTO vKop FROM exchangeConfig; - END IF; - - SELECT e.kop INTO vRewriteKop - FROM mailSender e - JOIN mail m ON m.senderFk = e.id - WHERE m.id = vMailFk; - - SET vKop = IFNULL(vRewriteKop, vKop); - - -- Inserts the new transaction - - SET vIsDuplicated = FALSE; - INSERT INTO ekt SET - barcode = IFNULL(vBarcode, barcode) - ,deliveryNumber = vDeliveryNumber - ,entryYear = YEAR(vDate) - ,fec = vDate - ,hor = vHour - ,ref = vRef - ,item = vItem - ,agj = vAgj - ,cat = vCat - ,pac = vPac - ,sub = vSub - ,kop = vKop - ,ptd = vPtd - ,pro = vPro - ,ori = vOrigin - ,ptj = vPtj - ,qty = vQuantiy - ,pri = vPrice - ,klo = vClock - ,s1 = vS1 - ,s2 = vS2 - ,s3 = vS3 - ,s4 = vS4 - ,s5 = vS5 - ,s6 = vS6 - ,k1 = vK1 - ,k2 = vK2 - ,k3 = vP1 - ,k4 = vP2 - ,auction = vAuction - ,package = vPackage - ,putOrderFk = vPutOrderFk; - - -- If it exists duplicado updates it - - IF NOT vIsDuplicated - THEN - SET vEkt = LAST_INSERT_ID(); - CALL ekt_load (vEkt); - - ELSEIF vDeliveryNumber != 0 - AND vDeliveryNumber IS NOT NULL - THEN - SELECT id INTO vEkt - FROM ekt - WHERE deliveryNumber = vDeliveryNumber; - - SELECT COUNT(*) = 0 INTO vUpdateExistent - FROM ekt t - JOIN `exchange` b ON b.ektFk = t.id - JOIN exchangeConfig c - WHERE t.deliveryNumber = vDeliveryNumber - AND t.entryYear = YEAR(vDate) - AND b.typeFk != c.presaleFk; - END IF; - - IF vUpdateExistent - THEN - UPDATE ekt SET - barcode = IFNULL(vBarcode, barcode) - ,fec = vDate - ,hor = vHour - ,ref = vRef - ,item = vItem - ,agj = vAgj - ,cat = vCat - ,pac = vPac - ,sub = vSub - ,kop = vKop - ,ptd = vPtd - ,pro = vPro - ,ori = vOrigin - ,ptj = vPtj - ,qty = vQuantiy - ,pri = vPrice - ,klo = vClock - ,s1 = vS1 - ,s2 = vS2 - ,s3 = vS3 - ,s4 = vS4 - ,s5 = vS5 - ,s6 = vS6 - ,k1 = vK1 - ,k2 = vK2 - ,k3 = vP1 - ,k4 = vP2 - ,auction = vAuction - ,package = vPackage - ,putOrderFk = vPutOrderFk - WHERE id = vEkt; - END IF; - - -- Registers the exchange - - INSERT INTO `exchange` SET - mailFk = vMailFk - ,typeFk = vType - ,ektFk = vEkt; + SET vIsDuplicated = FALSE; + INSERT INTO ekt SET + barcode = IFNULL(vBarcode, barcode) + ,deliveryNumber = vDeliveryNumber + ,entryYear = YEAR(vDate) + ,fec = vDate + ,hor = vHour + ,ref = vRef + ,item = vItem + ,agj = vAgj + ,cat = vCat + ,pac = vPac + ,sub = vSub + ,kop = vKop + ,ptd = vPtd + ,pro = vPro + ,ori = vOrigin + ,ptj = vPtj + ,qty = vQuantiy + ,pri = vPrice + ,klo = vClock + ,s1 = vS1 + ,s2 = vS2 + ,s3 = vS3 + ,s4 = vS4 + ,s5 = vS5 + ,s6 = vS6 + ,k1 = vK1 + ,k2 = vK2 + ,k3 = vP1 + ,k4 = vP2 + ,auction = vAuction + ,package = vPackage + ,putOrderFk = vPutOrderFk; + + -- If it exists duplicado updates it + + IF NOT vIsDuplicated + THEN + SET vEkt = LAST_INSERT_ID(); + CALL ekt_load (vEkt); + + ELSEIF vDeliveryNumber != 0 + AND vDeliveryNumber IS NOT NULL + THEN + SELECT id INTO vEkt + FROM ekt + WHERE deliveryNumber = vDeliveryNumber; + + SELECT COUNT(*) = 0 INTO vUpdateExistent + FROM ekt t + JOIN `exchange` b ON b.ektFk = t.id + JOIN exchangeConfig c + WHERE t.deliveryNumber = vDeliveryNumber + AND t.entryYear = YEAR(vDate) + AND b.typeFk != c.presaleFk; + END IF; + + IF vUpdateExistent + THEN + UPDATE ekt SET + barcode = IFNULL(vBarcode, barcode) + ,fec = vDate + ,hor = vHour + ,ref = vRef + ,item = vItem + ,agj = vAgj + ,cat = vCat + ,pac = vPac + ,sub = vSub + ,kop = vKop + ,ptd = vPtd + ,pro = vPro + ,ori = vOrigin + ,ptj = vPtj + ,qty = vQuantiy + ,pri = vPrice + ,klo = vClock + ,s1 = vS1 + ,s2 = vS2 + ,s3 = vS3 + ,s4 = vS4 + ,s5 = vS5 + ,s6 = vS6 + ,k1 = vK1 + ,k2 = vK2 + ,k3 = vP1 + ,k4 = vP2 + ,auction = vAuction + ,package = vPackage + ,putOrderFk = IFNULL(vPutOrderFk, putOrderFk) + WHERE id = vEkt; + END IF; + + -- Registers the exchange + + INSERT INTO `exchange` SET + mailFk = vMailFk + ,typeFk = vType + ,ektFk = vEkt; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -8888,24 +8975,37 @@ BEGIN DECLARE vLastInserted DATETIME; DECLARE cur1 CURSOR FOR - SELECT newId - FROM vn.item_Free_Id; - + SELECT id + FROM edi.item_free; + DECLARE cur2 CURSOR FOR SELECT srId FROM itemToInsert; - + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + DECLARE EXIT HANDLER FOR SQLSTATE '45000' + BEGIN + ROLLBACK; + RESIGNAL; + END; - DROP TEMPORARY TABLE IF EXISTS tmp; + START TRANSACTION; + -- select now(),'Antes de borrar'; + DELETE itf.* + FROM edi.item_free itf + JOIN vn.item i ON i.id = itf.id; + + -- -- select now(),'Tras borrar'; + DROP TEMPORARY TABLE IF EXISTS tmp; CREATE TEMPORARY TABLE tmp (INDEX (`Item_ArticleCode`)) ENGINE = MEMORY SELECT * FROM ( SELECT * FROM edi.supplyOffer ORDER BY NumberOfUnits DESC) t JOIN edi.item_groupToOffer igo ON igo.group_code = t.group_id - GROUP BY Item_ArticleCode, s1, s2, s3, s4, s5, s6, company_name, Price, Quality, NumberOfItemsPerCask, EmbalageCode; - + GROUP BY Item_ArticleCode, s1, s2, s3, s4, s5, s6, company_name, Quality, NumberOfItemsPerCask, EmbalageCode, Price; + + -- -- select now(),'Antes de crear edi.offer'; DROP TEMPORARY TABLE IF EXISTS edi.offer; CREATE TEMPORARY TABLE edi.offer (INDEX (`srID`), INDEX (`EmbalageCode`)) ENGINE = MEMORY SELECT so.*, ev1.type_description s1Value, ev2.type_description s2Value, ev3.type_description s3Value, @@ -8929,14 +9029,18 @@ BEGIN LEFT JOIN edi.`value` ev3 ON ev3.type_id = eif3.feature AND so.s3 = ev3.type_value LEFT JOIN edi.`value` ev4 ON ev4.type_id = eif4.feature AND so.s4 = ev4.type_value LEFT JOIN edi.`value` ev5 ON ev5.type_id = eif5.feature AND so.s5 = ev5.type_value - LEFT JOIN edi.`value` ev6 ON ev6.type_id = eif6.feature AND so.s6 = ev6.type_value; + LEFT JOIN edi.`value` ev6 ON ev6.type_id = eif6.feature AND so.s6 = ev6.type_value + ORDER BY Price; DROP TEMPORARY TABLE tmp; +-- propuesta para arreglar codigos 90 + -- Actualizamos el campo supplyResponseFk para aquellos articulos que ya estan creados y reutilizamos UPDATE IGNORE edi.offer o LEFT JOIN vn.item iExist ON iExist.supplyResponseFk = o.srID - JOIN vn.item i ON i.name = o.product_name + JOIN vn.item i + ON i.name = o.product_name AND i.subname <=> o.company_name AND i.value5 <=> o.s1Value AND i.value6 <=> o.s2Value @@ -8944,61 +9048,62 @@ BEGIN AND i.value8 <=> o.s4Value AND i.value9 <=> o.s5Value AND i.value10 <=> o.s6Value + AND i.NumberOfItemsPerCask <=> o.NumberOfItemsPerCask + AND i.EmbalageCode <=> o.EmbalageCode + AND i.quality <=> o.Quality + LEFT JOIN deliveryInformation di ON di.supplyResponseID = i.supplyResponseFk SET i.supplyResponseFk = o.srID - WHERE iExist.id IS NULL; - + WHERE iExist.id IS NULL + AND (di.LatestOrderDateTime < NOW() OR di.ID IS NULL) + ; + -- Actualizamos el campo supplyResponseFk para aquellos articulos que ya estan creados y reutilizamos +/* UPDATE IGNORE edi.offer o + LEFT JOIN vn.item iExist ON iExist.supplyResponseFk = o.srID + JOIN vn.item i + ON i.name = o.product_name + AND i.subname <=> o.company_name + AND i.value5 <=> o.s1Value + AND i.value6 <=> o.s2Value + AND i.value7 <=> o.s3Value + AND i.value8 <=> o.s4Value + AND i.value9 <=> o.s5Value + AND i.value10 <=> o.s6Value + AND i.NumberOfItemsPerCask <=> o.NumberOfItemsPerCask + AND i.EmbalageCode <=> o.EmbalageCode + AND i.quality <=> o.Quality + SET i.supplyResponseFk = o.srID + WHERE iExist.id IS NULL + ; + */ -- select now(),'Antes de crear ITO'; DROP TEMPORARY TABLE IF EXISTS itemToInsert; CREATE TEMPORARY TABLE itemToInsert ENGINE = MEMORY - SELECT o.*, 999999 as itemFk + SELECT o.*, CAST(NULL AS DECIMAL(6,0)) as itemFk FROM edi.offer o LEFT JOIN vn.item i ON i.supplyResponseFk = o.srId WHERE i.id IS NULL; - + -- select now(),'Tras crear itemToInsert'; -- Reciclado de nº de item - OPEN cur1; OPEN cur2; -read_loop: LOOP - - FETCH cur2 INTO vSupplyResponseFk; - - IF done THEN - - LEAVE read_loop; - - END IF; - - FETCH cur1 INTO vFreeId; - - IF done THEN - - CLOSE cur1; - OPEN cur1; + read_loop: LOOP + + FETCH cur2 INTO vSupplyResponseFk; FETCH cur1 INTO vFreeId; - - END IF; - - IF done THEN - - UPDATE itemToInsert - SET itemFk = NULL - WHERE itemFk = 999999; - - LEAVE read_loop; - - END IF; - UPDATE itemToInsert - SET itemFk = vFreeId - WHERE srId = vSupplyResponseFk; - -END LOOP; + IF done THEN + LEAVE read_loop; + END IF; + + UPDATE itemToInsert + SET itemFk = vFreeId + WHERE srId = vSupplyResponseFk; + + END LOOP; CLOSE cur1; CLOSE cur2; - -- Insertamos todos los items en Articles de la oferta INSERT INTO vn.item( id, `name`, @@ -9008,7 +9113,10 @@ END LOOP; typeFk, intrastatFk, originFk, - supplyResponseFk) + supplyResponseFk, + numberOfItemsPerCask, + embalageCode, + quality) SELECT itemFk, product_name, product_name, @@ -9017,7 +9125,10 @@ END LOOP; itemTypeFk, intrastatFk, originFk, - `srId` + `srId`, + NumberOfItemsPerCask, + EmbalageCode, + Quality FROM itemToInsert; INSERT IGNORE INTO vn.itemImageQueue(itemFk, url) @@ -9035,10 +9146,16 @@ END LOOP; SET @isTriggerDisabled = TRUE; INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , CONCAT(ii.product_name,IF(ii.Quality != 'A1', CONCAT(' ',ii.Quality),'')), 1 + SELECT i.id, t.id , ii.product_name, 1 FROM itemToInsert ii JOIN vn.tag t ON t.`name` = 'Producto' JOIN vn.item i ON i.supplyResponseFk = ii.`srId`; + + INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) + SELECT i.id, t.id , ii.Quality, 3 + FROM itemToInsert ii + JOIN vn.tag t ON t.`name` = 'Calidad' + JOIN vn.item i ON i.supplyResponseFk = ii.`srId`; INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) SELECT i.id, t.id , ii.company_name, 4 @@ -9051,42 +9168,42 @@ END LOOP; FROM itemToInsert ii JOIN vn.tag t ON t.ediTypeFk = ii.ef1 JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - WHERE s1Value; + WHERE s1Value != ''; INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) SELECT i.id, t.id , s2Value, 6 FROM itemToInsert ii JOIN vn.tag t ON t.ediTypeFk = ii.ef2 JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - WHERE s2Value; + WHERE s2Value != ''; INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) SELECT i.id, t.id , s3Value, 7 FROM itemToInsert ii JOIN vn.tag t ON t.ediTypeFk = ii.ef3 JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - WHERE s3Value; + WHERE s3Value != ''; INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , ii.Quality, 8 + SELECT i.id, t.id , s4Value, 8 FROM itemToInsert ii JOIN vn.tag t ON t.ediTypeFk = ii.ef4 JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - WHERE s4Value; + WHERE s4Value != ''; INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) SELECT i.id, t.id , s5Value, 9 FROM itemToInsert ii JOIN vn.tag t ON t.ediTypeFk = ii.ef5 JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - WHERE s5Value; + WHERE s5Value != ''; INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , s5Value, 10 + SELECT i.id, t.id , s6Value, 10 FROM itemToInsert ii JOIN vn.tag t ON t.ediTypeFk = ii.ef6 JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - WHERE s6Value; + WHERE s6Value != ''; INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) SELECT i.id, t.id, ink.name, 11 @@ -9096,13 +9213,19 @@ END LOOP; JOIN edi.feature f ON f.item_id = ii.Item_ArticleCode JOIN edi.`type` tp ON tp.type_id = f.feature_type_id AND tp.`description` = 'Hoofdkleur 1' JOIN vn.ink ON ink.dutchCode = f.feature_value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , ii.Quality, 12 - FROM itemToInsert ii - JOIN vn.tag t ON t.`name` = 'Calidad' - JOIN vn.item i ON i.supplyResponseFk = ii.`srId`; - + + UPDATE vn.item i + JOIN itemToInsert ii ON i.supplyResponseFk = ii.`srId` + JOIN vn.packaging p ON p.id LIKE ii.EmbalageCode AND hasCompressionVariations + JOIN vn.itemTag diameter ON diameter.itemFk = i.id + JOIN vn.tag tDiameter ON tDiameter.overwrite = 'diameter' AND tDiameter.id = diameter.tagFk + JOIN vn.itemTag size ON size.itemFk = i.id + JOIN vn.tag tSize ON tSize.overwrite = 'size' AND tSize.id = size.tagFk + SET i.`compression` = + (PI() * POW(diameter.`value`/ 2, 2) * size.`value`) + / + ((p.width * p.depth * p.height) / ii.NumberOfItemsPerCask); + DROP TABLE IF EXISTS tmp.item; CREATE TABLE tmp.item (PRIMARY KEY (id)) @@ -9121,11 +9244,15 @@ END LOOP; SET @myEntry := vn.floramondo_getEntry(vLanded); IF @myEntry THEN - -- Inserta la oferta obsoleta + -- Elimina la oferta obsoleta DELETE b FROM vn.buy b JOIN vn.item i ON i.id = b.itemFk LEFT JOIN edi.offer o ON i.supplyResponseFk = o.`srId` - WHERE b.entryFk = @myEntry AND o.`srId` IS NULL; + LEFT JOIN putOrder po ON b.deliveryFk = po.deliveryInformationID + WHERE b.entryFk = @myEntry + AND o.`srId` IS NULL + AND po.id IS NULL; + -- actualiza la oferta existente UPDATE vn.buy b JOIN vn.item i ON i.id = b.itemFk @@ -9161,7 +9288,7 @@ END LOOP; FROM edi.offer o JOIN vn.item i ON i.supplyResponseFk = o.srId LEFT JOIN vn.buy b ON i.id = b.itemFk AND b.entryFk = @myEntry - JOIN vn.packaging p ON p.id like o.embalageCode -- llevar esta linea i mirar de crear els packages a temps real + JOIN vn.packaging p ON p.id LIKE o.embalageCode -- llevar esta linea i mirar de crear els packages a temps real WHERE b.id IS NULL; DROP TEMPORARY TABLE IF EXISTS tmp.buyRecalc; @@ -9175,622 +9302,8 @@ END LOOP; itemToInsert; DROP TABLE tmp.item; - -END ;; -DELIMITER ; -/*!50003 SET sql_mode = @saved_sql_mode */ ; -/*!50003 SET character_set_client = @saved_cs_client */ ; -/*!50003 SET character_set_results = @saved_cs_results */ ; -/*!50003 SET collation_connection = @saved_col_connection */ ; -/*!50003 DROP PROCEDURE IF EXISTS `floramondo_offerRefresh_beta` */; -/*!50003 SET @saved_cs_client = @@character_set_client */ ; -/*!50003 SET @saved_cs_results = @@character_set_results */ ; -/*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8 */ ; -/*!50003 SET character_set_results = utf8 */ ; -/*!50003 SET collation_connection = utf8_general_ci */ ; -/*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; -DELIMITER ;; -CREATE DEFINER=`root`@`%` PROCEDURE `floramondo_offerRefresh_beta`() -BEGIN - DECLARE vLanded DATE; - DECLARE done INT DEFAULT FALSE; - DECLARE vFreeId INT; - DECLARE vSupplyResponseFk INT; - - DECLARE cur1 CURSOR FOR - SELECT newId - FROM vn.item_Free_Id; - - DECLARE cur2 CURSOR FOR - SELECT srId - FROM itemToInsert; - - DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; - - DROP TEMPORARY TABLE IF EXISTS tmp; - CREATE TEMPORARY TABLE tmp ENGINE = MEMORY - SELECT * FROM ( - SELECT * - FROM edi.supplyOffer - JOIN edi.marketPlace mp ON mp.id = MarketPlaceID - WHERE mp.isOffered = TRUE - ORDER BY NumberOfUnits DESC) t - JOIN edi.item_groupToOffer igo ON igo.group_code = t.group_id - GROUP BY Item_ArticleCode, s1, s2, s3, s4, s5, s6, company_name, Price, Quality, NumberOfItemsPerCask, EmbalageCode; - - DROP TEMPORARY TABLE IF EXISTS edi.offer; - CREATE TEMPORARY TABLE edi.offer ENGINE = MEMORY - SELECT so.*, ev1.type_description s1Value, ev2.type_description s2Value, ev3.type_description s3Value, - ev4.type_description s4Value, ev5.type_description s5Value, ev6.type_description s6Value, - eif1.feature ef1, eif2.feature ef2, eif3.feature ef3, eif4.feature ef4, eif5.feature ef5, eif6.feature ef6 - FROM tmp so - LEFT JOIN edi.item_feature eif1 ON eif1.item_id = so.Item_ArticleCode - AND eif1.presentation_order = 1 AND eif1.expiry_date IS NULL - LEFT JOIN edi.item_feature eif2 ON eif2.item_id = so.Item_ArticleCode - AND eif2.presentation_order = 2 AND eif2.expiry_date IS NULL - LEFT JOIN edi.item_feature eif3 ON eif3.item_id = so.Item_ArticleCode - AND eif3.presentation_order = 3 AND eif3.expiry_date IS NULL - LEFT JOIN edi.item_feature eif4 ON eif4.item_id = so.Item_ArticleCode - AND eif4.presentation_order = 4 AND eif4.expiry_date IS NULL - LEFT JOIN edi.item_feature eif5 ON eif5.item_id = so.Item_ArticleCode - AND eif5.presentation_order = 5 AND eif5.expiry_date IS NULL - LEFT JOIN edi.item_feature eif6 ON eif6.item_id = so.Item_ArticleCode - AND eif6.presentation_order = 6 AND eif6.expiry_date IS NULL - LEFT JOIN edi.`value` ev1 ON ev1.type_id = eif1.feature AND so.s1 = ev1.type_value - LEFT JOIN edi.`value` ev2 ON ev2.type_id = eif2.feature AND so.s2 = ev2.type_value - LEFT JOIN edi.`value` ev3 ON ev3.type_id = eif3.feature AND so.s3 = ev3.type_value - LEFT JOIN edi.`value` ev4 ON ev4.type_id = eif4.feature AND so.s4 = ev4.type_value - LEFT JOIN edi.`value` ev5 ON ev5.type_id = eif5.feature AND so.s5 = ev5.type_value - LEFT JOIN edi.`value` ev6 ON ev6.type_id = eif6.feature AND so.s6 = ev6.type_value; - - DROP TEMPORARY TABLE tmp; - - -- Actualizamos el campo supplyResponseFk para aquellos articulos que ya estan creados y reutilizamos - UPDATE IGNORE edi.offer o - LEFT JOIN vn.item iExist ON iExist.supplyResponseFk = o.srID - JOIN vn.item i ON i.name = o.product_name - AND i.subname <=> o.company_name - AND i.value5 <=> o.s1Value - AND i.value6 <=> o.s2Value - AND i.value7 <=> o.s3Value - AND i.value8 <=> o.s4Value - AND i.value9 <=> o.s5Value - AND i.value10 <=> o.s6Value - SET i.supplyResponseFk = o.srID - WHERE iExist.id IS NULL; - - DROP TEMPORARY TABLE IF EXISTS itemToInsert; - CREATE TEMPORARY TABLE itemToInsert ENGINE = MEMORY - SELECT o.*, 999999 as itemFk - FROM edi.offer o - LEFT JOIN vn.item i ON i.supplyResponseFk = o.srId - WHERE i.id IS NULL; - - -- Reciclado de nº de item - - OPEN cur1; - OPEN cur2; - -read_loop: LOOP - - FETCH cur2 INTO vSupplyResponseFk; - - IF done THEN - - LEAVE read_loop; - - END IF; - - FETCH cur1 INTO vFreeId; - - IF done THEN - - CLOSE cur1; - OPEN cur1; - FETCH cur1 INTO vFreeId; - - END IF; - - IF done THEN - - UPDATE itemToInsert - SET itemFk = NULL - WHERE itemFk = 999999; - - LEAVE read_loop; - - END IF; - - UPDATE itemToInsert - SET itemFk = vFreeId - WHERE srId = vSupplyResponseFk; - -END LOOP; - - CLOSE cur1; - CLOSE cur2; - - - -- Insertamos todos los items en Articles de la oferta - INSERT INTO vn.item(`name`, - longName, - subName, - expenceFk, - typeFk, - intrastatFk, - originFk, - supplyResponseFk) - SELECT product_name, - product_name, - company_name, - expenseFk, - itemTypeFk, - intrastatFk, - originFk, - srId - FROM itemToInsert; - - INSERT IGNORE INTO vn.itemImageQueue(itemFk, url) - SELECT i.id, PictureReference - FROM itemToInsert ii - JOIN vn.item i ON i.supplyResponseFk = ii.srId; - - -- Inserta si se añadiesen tags nuevos - INSERT IGNORE INTO vn.tag (name, ediTypeFk) - SELECT description, type_id FROM edi.type; - - -- Inserta los tags sólo en los articulos nuevos - - -- desabilita el trigger para recalcular los tags al final - SET @isTriggerDisabled = TRUE; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , CONCAT(ii.product_name,IF(ii.Quality != 'A1', CONCAT(' ',ii.Quality),'')), 1 - FROM itemToInsert ii - JOIN vn.tag t ON t.`name` = 'Producto' - JOIN vn.item i ON i.supplyResponseFk = ii.srId; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , ii.company_name, 4 - FROM itemToInsert ii - JOIN vn.tag t ON t.`name` = 'Productor' - JOIN vn.item i ON i.supplyResponseFk = ii.srId; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , s1Value, 5 - FROM itemToInsert ii - JOIN vn.tag t ON t.ediTypeFk = ii.ef1 - JOIN vn.item i ON i.supplyResponseFk = ii.srId - WHERE s1Value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , s2Value, 6 - FROM itemToInsert ii - JOIN vn.tag t ON t.ediTypeFk = ii.ef2 - JOIN vn.item i ON i.supplyResponseFk = ii.srId - WHERE s2Value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , s3Value, 7 - FROM itemToInsert ii - JOIN vn.tag t ON t.ediTypeFk = ii.ef3 - JOIN vn.item i ON i.supplyResponseFk = ii.srId - WHERE s3Value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , ii.Quality, 8 - FROM itemToInsert ii - JOIN vn.tag t ON t.ediTypeFk = ii.ef4 - JOIN vn.item i ON i.supplyResponseFk = ii.srId - WHERE s4Value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , s5Value, 9 - FROM itemToInsert ii - JOIN vn.tag t ON t.ediTypeFk = ii.ef5 - JOIN vn.item i ON i.supplyResponseFk = ii.srId - WHERE s5Value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , s5Value, 10 - FROM itemToInsert ii - JOIN vn.tag t ON t.ediTypeFk = ii.ef6 - JOIN vn.item i ON i.supplyResponseFk = ii.srId - WHERE s6Value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id, ink.name, 11 - FROM itemToInsert ii - JOIN vn.item i ON i.supplyResponseFk = ii.srId - JOIN vn.tag t ON t.`name` = 'Color' - JOIN edi.feature f ON f.item_id = ii.Item_ArticleCode - JOIN edi.`type` tp ON tp.type_id = f.feature_type_id AND tp.`description` = 'Hoofdkleur 1' - JOIN vn.ink ON ink.dutchCode = f.feature_value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , ii.Quality, 12 - FROM itemToInsert ii - JOIN vn.tag t ON t.`name` = 'Calidad' - JOIN vn.item i ON i.supplyResponseFk = ii.srId; - - DROP TABLE IF EXISTS tmp.item; - CREATE TABLE tmp.item - (PRIMARY KEY (id)) - SELECT i.id FROM vn.item i - JOIN itemToInsert ii ON i.supplyResponseFk = ii.srId; - - CALL vn.item_refreshTags(); - - SET @isTriggerDisabled = FALSE; - - SELECT LatestOrderDateTime INTO vLanded - FROM edi.offer - ORDER BY LatestOrderDateTime ASC - LIMIT 1; - SET @myEntry := vn.floramondo_getEntry(vLanded); - IF @myEntry THEN - -- Inserta la oferta obsoleta - DELETE b FROM vn.buy b - JOIN vn.item i ON i.id = b.itemFk - LEFT JOIN edi.offer o ON i.supplyResponseFk = o.srId - WHERE b.entryFk = @myEntry AND o.id IS NULL; - -- actualiza la oferta existente - UPDATE vn.buy b - JOIN vn.item i ON i.id = b.itemFk - JOIN edi.offer o ON i.supplyResponseFk = o.srId - SET b.quantity = o.NumberOfUnits * o.NumberOfItemsPerCask, - b.buyingValue = o.price - WHERE b.entryFk = @myEntry; - - -- Inserta la oferta - INSERT INTO vn.buy(entryFk, - itemFk, - quantity, - buyingValue, - stickers, - packing, - `grouping`, - groupingMode, - packageFk, - deliveryFk) - - SELECT @myEntry, - i.id, - o.NumberOfUnits * o.NumberOfItemsPerCask as quantity, - o.Price, - o.NumberOfUnits as etiquetas, - o.NumberOfItemsPerCask as packing, - o.MinimumQuantity * o.NumberOfItemsPerCask as `grouping`, - 1, -- Obliga al Packing - o.embalageCode, - o.diId - FROM edi.offer o - JOIN vn.item i ON i.supplyResponseFk = o.srId - LEFT JOIN vn.buy b ON i.id = b.itemFk - JOIN vn.packaging p ON p.id = o.embalageCode -- llevar esta linea i mirar de crear els packages a temps real - WHERE b.id IS NULL AND NOT b.entryFk <=> @myEntry; - - CALL vn2008.buy_tarifas_entry(@myEntry); - END IF; - DROP TEMPORARY TABLE - edi.offer, - itemToInsert; - - DROP TABLE tmp.item; - -END ;; -DELIMITER ; -/*!50003 SET sql_mode = @saved_sql_mode */ ; -/*!50003 SET character_set_client = @saved_cs_client */ ; -/*!50003 SET character_set_results = @saved_cs_results */ ; -/*!50003 SET collation_connection = @saved_col_connection */ ; -/*!50003 DROP PROCEDURE IF EXISTS `floramondo_offerRefresh_gamma` */; -/*!50003 SET @saved_cs_client = @@character_set_client */ ; -/*!50003 SET @saved_cs_results = @@character_set_results */ ; -/*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8 */ ; -/*!50003 SET character_set_results = utf8 */ ; -/*!50003 SET collation_connection = utf8_general_ci */ ; -/*!50003 SET @saved_sql_mode = @@sql_mode */ ; -/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; -DELIMITER ;; -CREATE DEFINER=`root`@`%` PROCEDURE `floramondo_offerRefresh_gamma`() -BEGIN - DECLARE vLanded DATETIME; - DECLARE done INT DEFAULT FALSE; - DECLARE vFreeId INT; - DECLARE vSupplyResponseFk INT; - - DECLARE cur1 CURSOR FOR - SELECT newId - FROM vn.item_Free_Id; - - DECLARE cur2 CURSOR FOR - SELECT srId - FROM itemToInsert; - - DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; - - DROP TEMPORARY TABLE IF EXISTS tmp; - CREATE TEMPORARY TABLE tmp (INDEX (`srID`), INDEX (`EmbalageCode`)) ENGINE = MEMORY - SELECT * FROM ( - SELECT * - FROM edi.supplyOffer - JOIN edi.marketPlace mp ON mp.id = MarketPlaceID - WHERE mp.isOffered = TRUE - ORDER BY NumberOfUnits DESC) t - JOIN edi.item_groupToOffer igo ON igo.group_code = t.group_id - GROUP BY Item_ArticleCode, s1, s2, s3, s4, s5, s6, company_name, Price, Quality, NumberOfItemsPerCask, EmbalageCode; - - DROP TEMPORARY TABLE IF EXISTS edi.offer; - CREATE TEMPORARY TABLE edi.offer (INDEX (`srID`), INDEX (`EmbalageCode`)) ENGINE = MEMORY - SELECT so.*, ev1.type_description s1Value, ev2.type_description s2Value, ev3.type_description s3Value, - ev4.type_description s4Value, ev5.type_description s5Value, ev6.type_description s6Value, - eif1.feature ef1, eif2.feature ef2, eif3.feature ef3, eif4.feature ef4, eif5.feature ef5, eif6.feature ef6 - FROM tmp so - LEFT JOIN edi.item_feature eif1 ON eif1.item_id = so.Item_ArticleCode - AND eif1.presentation_order = 1 AND eif1.expiry_date IS NULL - LEFT JOIN edi.item_feature eif2 ON eif2.item_id = so.Item_ArticleCode - AND eif2.presentation_order = 2 AND eif2.expiry_date IS NULL - LEFT JOIN edi.item_feature eif3 ON eif3.item_id = so.Item_ArticleCode - AND eif3.presentation_order = 3 AND eif3.expiry_date IS NULL - LEFT JOIN edi.item_feature eif4 ON eif4.item_id = so.Item_ArticleCode - AND eif4.presentation_order = 4 AND eif4.expiry_date IS NULL - LEFT JOIN edi.item_feature eif5 ON eif5.item_id = so.Item_ArticleCode - AND eif5.presentation_order = 5 AND eif5.expiry_date IS NULL - LEFT JOIN edi.item_feature eif6 ON eif6.item_id = so.Item_ArticleCode - AND eif6.presentation_order = 6 AND eif6.expiry_date IS NULL - LEFT JOIN edi.`value` ev1 ON ev1.type_id = eif1.feature AND so.s1 = ev1.type_value - LEFT JOIN edi.`value` ev2 ON ev2.type_id = eif2.feature AND so.s2 = ev2.type_value - LEFT JOIN edi.`value` ev3 ON ev3.type_id = eif3.feature AND so.s3 = ev3.type_value - LEFT JOIN edi.`value` ev4 ON ev4.type_id = eif4.feature AND so.s4 = ev4.type_value - LEFT JOIN edi.`value` ev5 ON ev5.type_id = eif5.feature AND so.s5 = ev5.type_value - LEFT JOIN edi.`value` ev6 ON ev6.type_id = eif6.feature AND so.s6 = ev6.type_value; - - DROP TEMPORARY TABLE tmp; - - -- Actualizamos el campo supplyResponseFk para aquellos articulos que ya estan creados y reutilizamos - UPDATE IGNORE edi.offer o - LEFT JOIN vn.item iExist ON iExist.supplyResponseFk = o.srID - JOIN vn.item i ON i.name = o.product_name - AND i.subname <=> o.company_name - AND i.value5 <=> o.s1Value - AND i.value6 <=> o.s2Value - AND i.value7 <=> o.s3Value - AND i.value8 <=> o.s4Value - AND i.value9 <=> o.s5Value - AND i.value10 <=> o.s6Value - SET i.supplyResponseFk = o.srID - WHERE iExist.id IS NULL; - - DROP TEMPORARY TABLE IF EXISTS itemToInsert; - CREATE TEMPORARY TABLE itemToInsert ENGINE = MEMORY - SELECT o.*, 999999 as itemFk - FROM edi.offer o - LEFT JOIN vn.item i ON i.supplyResponseFk = o.srId - WHERE i.id IS NULL; - - -- Reciclado de nº de item - - OPEN cur1; - OPEN cur2; - -read_loop: LOOP - - FETCH cur2 INTO vSupplyResponseFk; - - IF done THEN - - LEAVE read_loop; - - END IF; - - FETCH cur1 INTO vFreeId; - - IF done THEN - - CLOSE cur1; - OPEN cur1; - FETCH cur1 INTO vFreeId; - - END IF; - - IF done THEN - - UPDATE itemToInsert - SET itemFk = NULL - WHERE itemFk = 999999; - - LEAVE read_loop; - - END IF; - - UPDATE itemToInsert - SET itemFk = vFreeId - WHERE srId = vSupplyResponseFk; - -END LOOP; - - CLOSE cur1; - CLOSE cur2; - - - -- Insertamos todos los items en Articles de la oferta - INSERT INTO vn.item( id, - `name`, - longName, - subName, - expenceFk, - typeFk, - intrastatFk, - originFk, - supplyResponseFk, - compression) - SELECT iti.itemFk, - iti.product_name, - iti.product_name, - iti.company_name, - iti.expenseFk, - iti.itemTypeFk, - iti.intrastatFk, - iti.originFk, - iti.srId, - IF(it.categoryFk = 1, 0.7, 1) -- Flor cortada. Eliminar en 2021 - FROM itemToInsert iti - JOIN vn.itemType it ON it.id = iti.itemTypeFk; - - INSERT IGNORE INTO vn.itemImageQueue(itemFk, url) - SELECT i.id, PictureReference - FROM itemToInsert ii - JOIN vn.item i ON i.supplyResponseFk = ii.srId; - - -- Inserta si se añadiesen tags nuevos - INSERT IGNORE INTO vn.tag (name, ediTypeFk) - SELECT description, type_id FROM edi.type; - - -- Inserta los tags sólo en los articulos nuevos - - -- desabilita el trigger para recalcular los tags al final - SET @isTriggerDisabled = TRUE; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , CONCAT(ii.product_name,IF(ii.Quality != 'A1', CONCAT(' ',ii.Quality),'')), 1 - FROM itemToInsert ii - JOIN vn.tag t ON t.`name` = 'Producto' - JOIN vn.item i ON i.supplyResponseFk = ii.`srId`; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , ii.company_name, 4 - FROM itemToInsert ii - JOIN vn.tag t ON t.`name` = 'Productor' - JOIN vn.item i ON i.supplyResponseFk = ii.`srId`; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , s1Value, 5 - FROM itemToInsert ii - JOIN vn.tag t ON t.ediTypeFk = ii.ef1 - JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - WHERE s1Value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , s2Value, 6 - FROM itemToInsert ii - JOIN vn.tag t ON t.ediTypeFk = ii.ef2 - JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - WHERE s2Value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , s3Value, 7 - FROM itemToInsert ii - JOIN vn.tag t ON t.ediTypeFk = ii.ef3 - JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - WHERE s3Value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , ii.Quality, 8 - FROM itemToInsert ii - JOIN vn.tag t ON t.ediTypeFk = ii.ef4 - JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - WHERE s4Value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , s5Value, 9 - FROM itemToInsert ii - JOIN vn.tag t ON t.ediTypeFk = ii.ef5 - JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - WHERE s5Value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , s5Value, 10 - FROM itemToInsert ii - JOIN vn.tag t ON t.ediTypeFk = ii.ef6 - JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - WHERE s6Value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id, ink.name, 11 - FROM itemToInsert ii - JOIN vn.item i ON i.supplyResponseFk = ii.`srId` - JOIN vn.tag t ON t.`name` = 'Color' - JOIN edi.feature f ON f.item_id = ii.Item_ArticleCode - JOIN edi.`type` tp ON tp.type_id = f.feature_type_id AND tp.`description` = 'Hoofdkleur 1' - JOIN vn.ink ON ink.dutchCode = f.feature_value; - - INSERT INTO vn.itemTag(itemFk, tagFk, value, priority) - SELECT i.id, t.id , ii.Quality, 12 - FROM itemToInsert ii - JOIN vn.tag t ON t.`name` = 'Calidad' - JOIN vn.item i ON i.supplyResponseFk = ii.`srId`; - - DROP TABLE IF EXISTS tmp.item; - CREATE TABLE tmp.item - (PRIMARY KEY (id)) - SELECT i.id FROM vn.item i - JOIN itemToInsert ii ON i.supplyResponseFk = ii.`srId`; - - CALL vn.item_refreshTags(); - - SET @isTriggerDisabled = FALSE; - - SELECT MIN(LatestOrderDateTime) INTO vLanded - FROM edi.offer o - JOIN marketPlace mp ON mp.id = o.MarketPlaceID - WHERE mp.isLatestOrderDateTimeRelevant; - - SET @myEntry := vn.floramondo_getEntry(vLanded); - IF @myEntry THEN - -- Inserta la oferta obsoleta - DELETE b FROM vn.buy b - JOIN vn.item i ON i.id = b.itemFk - LEFT JOIN edi.offer o ON i.supplyResponseFk = o.srId - WHERE b.entryFk = @myEntry AND o.id IS NULL; - -- actualiza la oferta existente - UPDATE vn.buy b - JOIN vn.item i ON i.id = b.itemFk - JOIN edi.offer o ON i.supplyResponseFk = o.srId - SET b.quantity = o.NumberOfUnits * o.NumberOfItemsPerCask, - b.buyingValue = o.price - WHERE b.entryFk = @myEntry - AND (b.quantity <> o.NumberOfUnits * o.NumberOfItemsPerCask OR b.buyingValue <> o.price); - - -- Inserta la oferta - INSERT INTO vn.buy(entryFk, - itemFk, - quantity, - buyingValue, - stickers, - packing, - `grouping`, - groupingMode, - packageFk, - deliveryFk) - - SELECT @myEntry, - i.id, - o.NumberOfUnits * o.NumberOfItemsPerCask as quantity, - o.Price, - o.NumberOfUnits as etiquetas, - o.NumberOfItemsPerCask as packing, - o.MinimumQuantity * o.NumberOfItemsPerCask as `grouping`, - 1, -- Obliga al Packing - o.embalageCode, - o.diId - FROM edi.offer o - JOIN vn.item i ON i.supplyResponseFk = o.srId - LEFT JOIN vn.buy b ON i.id = b.itemFk - JOIN vn.packaging p ON p.id = o.embalageCode -- llevar esta linea i mirar de crear els packages a temps real - WHERE b.id IS NULL AND NOT b.entryFk <=> @myEntry; - - CALL vn2008.buy_tarifas_entry(@myEntry); - END IF; - DROP TEMPORARY TABLE - edi.offer, - itemToInsert; - - DROP TABLE tmp.item; - + -- select now(),'FINAL'; + COMMIT; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -9801,30 +9314,45 @@ DELIMITER ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8mb4 */ ; -/*!50003 SET character_set_results = utf8mb4 */ ; -/*!50003 SET collation_connection = utf8mb4_general_ci */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `floramondo_offerRefresh__`() BEGIN DECLARE vLanded DATETIME; - DECLARE done INT DEFAULT FALSE; + DECLARE done INT DEFAULT FALSE; DECLARE vFreeId INT; - DECLARE vSupplyResponseFk INT; + DECLARE vSupplyResponseFk INT; + DECLARE vLastInserted DATETIME; + DECLARE vCounter INT DEFAULT 400000; + DECLARE vExistingItemFk INT; DECLARE cur1 CURSOR FOR - SELECT newId - FROM vn.item_Free_Id; - + SELECT id + FROM edi.item_free; + DECLARE cur2 CURSOR FOR SELECT srId FROM itemToInsert; - + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + DECLARE EXIT HANDLER FOR SQLSTATE '45000' + BEGIN + ROLLBACK; + RESIGNAL; + END; - DROP TEMPORARY TABLE IF EXISTS tmp; + START TRANSACTION; + -- select now(),'Antes de borrar'; + DELETE itf.* + FROM edi.item_free itf + JOIN vn.item i ON i.id = itf.id; + + -- -- select now(),'Tras borrar'; + DROP TEMPORARY TABLE IF EXISTS tmp; CREATE TEMPORARY TABLE tmp (INDEX (`Item_ArticleCode`)) ENGINE = MEMORY SELECT * FROM ( SELECT * @@ -9832,7 +9360,8 @@ BEGIN ORDER BY NumberOfUnits DESC) t JOIN edi.item_groupToOffer igo ON igo.group_code = t.group_id GROUP BY Item_ArticleCode, s1, s2, s3, s4, s5, s6, company_name, Price, Quality, NumberOfItemsPerCask, EmbalageCode; - + + -- -- select now(),'Antes de crear edi.offer'; DROP TEMPORARY TABLE IF EXISTS edi.offer; CREATE TEMPORARY TABLE edi.offer (INDEX (`srID`), INDEX (`EmbalageCode`)) ENGINE = MEMORY SELECT so.*, ev1.type_description s1Value, ev2.type_description s2Value, ev3.type_description s3Value, @@ -9859,7 +9388,7 @@ BEGIN LEFT JOIN edi.`value` ev6 ON ev6.type_id = eif6.feature AND so.s6 = ev6.type_value; DROP TEMPORARY TABLE tmp; - + -- select now(),'Antes de actualizar srID'; -- Actualizamos el campo supplyResponseFk para aquellos articulos que ya estan creados y reutilizamos UPDATE IGNORE edi.offer o LEFT JOIN vn.item iExist ON iExist.supplyResponseFk = o.srID @@ -9872,60 +9401,38 @@ BEGIN AND i.value9 <=> o.s5Value AND i.value10 <=> o.s6Value SET i.supplyResponseFk = o.srID - WHERE iExist.id IS NULL; - + WHERE iExist.id IS NULL + AND i.id > 400000; + -- select now(),'Antes de crear ITO'; DROP TEMPORARY TABLE IF EXISTS itemToInsert; CREATE TEMPORARY TABLE itemToInsert ENGINE = MEMORY - SELECT o.*, 999999 as itemFk + SELECT o.*, CAST(NULL AS DECIMAL(6,0)) as itemFk FROM edi.offer o LEFT JOIN vn.item i ON i.supplyResponseFk = o.srId WHERE i.id IS NULL; - + -- select now(),'Tras crear itemToInsert'; -- Reciclado de nº de item - OPEN cur1; OPEN cur2; -read_loop: LOOP - - FETCH cur2 INTO vSupplyResponseFk; - - IF done THEN - - LEAVE read_loop; - - END IF; - - FETCH cur1 INTO vFreeId; - - IF done THEN - - CLOSE cur1; - OPEN cur1; + read_loop: LOOP + + FETCH cur2 INTO vSupplyResponseFk; FETCH cur1 INTO vFreeId; - - END IF; - - IF done THEN - - UPDATE itemToInsert - SET itemFk = NULL - WHERE itemFk = 999999; - - LEAVE read_loop; - - END IF; - UPDATE itemToInsert - SET itemFk = vFreeId - WHERE srId = vSupplyResponseFk; - -END LOOP; + IF done THEN + LEAVE read_loop; + END IF; + + UPDATE itemToInsert + SET itemFk = vFreeId + WHERE srId = vSupplyResponseFk; + + END LOOP; CLOSE cur1; CLOSE cur2; - -- Insertamos todos los items en Articles de la oferta INSERT INTO vn.item( id, `name`, @@ -10029,7 +9536,19 @@ END LOOP; FROM itemToInsert ii JOIN vn.tag t ON t.`name` = 'Calidad' JOIN vn.item i ON i.supplyResponseFk = ii.`srId`; - + + UPDATE vn.item i + JOIN itemToInsert ii ON i.supplyResponseFk = ii.`srId` + JOIN vn.packaging p ON p.id LIKE ii.EmbalageCode AND hasCompressionVariations + JOIN vn.itemTag diameter ON diameter.itemFk = i.id + JOIN vn.tag tDiameter ON tDiameter.overwrite = 'diameter' AND tDiameter.id = diameter.tagFk + JOIN vn.itemTag size ON size.itemFk = i.id + JOIN vn.tag tSize ON tSize.overwrite = 'size' AND tSize.id = size.tagFk + SET i.compression = + (PI() * POW(diameter.`value`/ 2, 2) * size.`value`) + / + ((p.width * p.depth * p.height) / ii.NumberOfItemsPerCask); + DROP TABLE IF EXISTS tmp.item; CREATE TABLE tmp.item (PRIMARY KEY (id)) @@ -10053,6 +9572,7 @@ END LOOP; JOIN vn.item i ON i.id = b.itemFk LEFT JOIN edi.offer o ON i.supplyResponseFk = o.`srId` WHERE b.entryFk = @myEntry AND o.`srId` IS NULL; + -- actualiza la oferta existente UPDATE vn.buy b JOIN vn.item i ON i.id = b.itemFk @@ -10062,6 +9582,7 @@ END LOOP; WHERE b.entryFk = @myEntry AND (b.quantity <> o.NumberOfUnits * o.NumberOfItemsPerCask OR b.buyingValue <> o.price); + SET vLastInserted := NOW(); -- Inserta la oferta INSERT INTO vn.buy(entryFk, itemFk, @@ -10086,18 +9607,23 @@ END LOOP; o.diId FROM edi.offer o JOIN vn.item i ON i.supplyResponseFk = o.srId - LEFT JOIN vn.buy b ON i.id = b.itemFk - JOIN vn.packaging p ON p.id = o.embalageCode -- llevar esta linea i mirar de crear els packages a temps real - WHERE b.id IS NULL AND NOT b.entryFk <=> @myEntry; - - CALL vn2008.buy_tarifas_entry(@myEntry); + LEFT JOIN vn.buy b ON i.id = b.itemFk AND b.entryFk = @myEntry + JOIN vn.packaging p ON p.id LIKE o.embalageCode -- llevar esta linea i mirar de crear els packages a temps real + WHERE b.id IS NULL; + + DROP TEMPORARY TABLE IF EXISTS tmp.buyRecalc; + CREATE TEMPORARY TABLE tmp.buyRecalc + SELECT id from vn.buy where entryFk = @myEntry AND created >= vLastInserted; + + CALL vn.buy_recalcPrices(); END IF; DROP TEMPORARY TABLE edi.offer, itemToInsert; DROP TABLE tmp.item; - + -- select now(),'FINAL'; + COMMIT; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -10265,7 +9791,7 @@ CREATE TABLE `image` ( `collectionFk` varchar(50) COLLATE utf8_unicode_ci NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `updated` int(11) DEFAULT NULL, - `nRefs` int(10) unsigned NOT NULL DEFAULT '0', + `nRefs` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Number of references, don''t modify this column manually', PRIMARY KEY (`id`), UNIQUE KEY `collection` (`collectionFk`,`name`), CONSTRAINT `image_ibfk_1` FOREIGN KEY (`collectionFk`) REFERENCES `imageCollection` (`name`) ON UPDATE CASCADE @@ -12174,30 +11700,30 @@ DELIMITER ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `item_listAllocation`(IN `vWh` TINYINT, IN `vDate` DATE, IN `vType` INT, IN `vPrefix` VARCHAR(255), IN `vUseIds` BOOLEAN) -BEGIN -/** - * Lists visible items and it's box sizes of the specified - * type at specified date. - * - * @param vWh The warehouse id - * @param vDate The visible date - * @param vType The type id - * @param vPrefix The article prefix to filter or %NULL for all - * @param vUseIds Whether to order the result by item id - * @select List of visible items with it's box sizes - */ - CALL item_getVisible(vWh, vDate, vType, vPrefix); - - IF vUseIds - THEN - SELECT * FROM tmp.itemVisible - ORDER BY Id_Article; - ELSE - SELECT * FROM tmp.itemVisible - ORDER BY Article, packing; - END IF; - - DROP TEMPORARY TABLE tmp.itemVisible; +BEGIN +/** + * Lists visible items and it's box sizes of the specified + * type at specified date. + * + * @param vWh The warehouse id + * @param vDate The visible date + * @param vType The type id + * @param vPrefix The article prefix to filter or %NULL for all + * @param vUseIds Whether to order the result by item id + * @select List of visible items with it's box sizes + */ + CALL item_getVisible(vWh, vDate, vType, vPrefix); + + IF vUseIds + THEN + SELECT * FROM tmp.itemVisible + ORDER BY Id_Article; + ELSE + SELECT * FROM tmp.itemVisible + ORDER BY Article, packing; + END IF; + + DROP TEMPORARY TABLE tmp.itemVisible; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -13672,11 +13198,12 @@ BEGIN quantity, EndUserPartyId, EndUserPartyGLN) - SELECT di.ID, i.supplyResponseFk, vAmount / NumberOfItemsPerCask, FALSE, vClientId + SELECT di.ID, i.supplyResponseFk, vAmount / sr.NumberOfItemsPerCask, FALSE, vClientId FROM edi.deliveryInformation di JOIN vn.item i ON i.supplyResponseFk = di.supplyResponseID JOIN edi.supplyResponse sr ON sr.ID = i.supplyResponseFk WHERE i.id = vItem AND di.LatestDeliveryDateTime > NOW() + AND vAmount / sr.NumberOfItemsPerCask LIMIT 1; END LOOP; @@ -17608,8 +17135,8 @@ DELIMITER ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `log_add_beta`(IN `vTableName` VARCHAR(255), IN `vNewId` VARCHAR(255), IN `vOldId` VARCHAR(255)) -proc: BEGIN - -- XXX: Disabled while testing +proc: BEGIN + -- XXX: Disabled while testing DECLARE vLanded DATE; DECLARE vWarehouseFk INT; DECLARE vBuyerFk INT; @@ -17617,20 +17144,20 @@ proc: BEGIN DECLARE vItemFk INT; DECLARE vItemName VARCHAR(50); - -- LEAVE proc; + -- LEAVE proc; - IF vOldId IS NOT NULL AND !(vOldId <=> vNewId) THEN - INSERT IGNORE INTO `log` SET - tableName = vTableName, - tableId = vOldId, - operation = 'delete'; - END IF; - - IF vNewId IS NOT NULL THEN - INSERT IGNORE INTO `log` SET - tableName = vTableName, - tableId = vNewId, - operation = 'insert'; + IF vOldId IS NOT NULL AND !(vOldId <=> vNewId) THEN + INSERT IGNORE INTO `log` SET + tableName = vTableName, + tableId = vOldId, + operation = 'delete'; + END IF; + + IF vNewId IS NOT NULL THEN + INSERT IGNORE INTO `log` SET + tableName = vTableName, + tableId = vNewId, + operation = 'insert'; END IF; IF vTableName = 'buy' THEN @@ -17660,7 +17187,7 @@ proc: BEGIN END IF; END IF; - + END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -17928,29 +17455,29 @@ CREATE DEFINER=`root`@`%` PROCEDURE `log_refreshSale`( BEGIN DROP TEMPORARY TABLE IF EXISTS tValues; CREATE TEMPORARY TABLE tValues - ENGINE = MEMORY - SELECT - m.id saleFk, - m.ticketFk, - m.itemFk, - t.warehouseFk, - t.shipped, + ENGINE = MEMORY + SELECT + m.id saleFk, + m.ticketFk, + m.itemFk, + t.warehouseFk, + t.shipped, ABS(m.quantity) quantity, m.created, TIMESTAMPADD(DAY, tp.life, t.shipped) expired, m.quantity < 0 isIn, - m.isPicked OR s.alertLevel > 1 isPicked - FROM vn.sale m - JOIN vn.ticket t ON t.id = m.ticketFk + m.isPicked OR s.alertLevel > 1 isPicked + FROM vn.sale m + JOIN vn.ticket t ON t.id = m.ticketFk JOIN vn.ticketState s ON s.ticketFk = t.id JOIN vn.item i ON i.id = m.itemFk - JOIN vn.itemType tp ON tp.id = i.typeFk + JOIN vn.itemType tp ON tp.id = i.typeFk WHERE ( - vTableId IS NULL - OR (vTableName = 'ticket' AND t.id = vTableId) - OR (vTableName = 'sale' AND m.id = vTableId) - ) - AND t.shipped >= vn.getInventoryDate() + vTableId IS NULL + OR (vTableName = 'ticket' AND t.id = vTableId) + OR (vTableName = 'sale' AND m.id = vTableId) + ) + AND t.shipped >= vn.getInventoryDate() AND m.quantity != 0; REPLACE INTO inbound ( @@ -17983,7 +17510,7 @@ BEGIN FROM tValues WHERE !isIn; - DROP TEMPORARY TABLE tValues; + DROP TEMPORARY TABLE tValues; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -19928,7 +19455,7 @@ CREATE TABLE `agencyMode` ( `description` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `deliveryMethodFk` int(11) DEFAULT NULL, `m3` double DEFAULT '0', - `cod71` tinyint(3) unsigned DEFAULT '0', + `cod71__` tinyint(3) unsigned DEFAULT '0', `web` smallint(1) unsigned zerofill NOT NULL DEFAULT '0', `agencyFk` smallint(5) unsigned NOT NULL, `inflation` decimal(5,2) NOT NULL DEFAULT '0.00' COMMENT 'Este valor se utiliza para aumentar el valor del componente porte.', @@ -20142,6 +19669,23 @@ CREATE TABLE `bankEntity` ( ) ENGINE=InnoDBDEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Entidades bancarias '; /*!40101 SET character_set_client = @saved_cs_client */; +-- +-- Table structure for table `beach` +-- + +DROP TABLE IF EXISTS `beach`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `beach` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `warehouseFk` smallint(6) NOT NULL, + `x` int(11) NOT NULL, + `y` int(11) NOT NULL, + `name` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDBDEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Ubicaciones respecto a la playa del almacén'; +/*!40101 SET character_set_client = @saved_cs_client */; + -- -- Table structure for table `bionicConfig` -- @@ -23065,6 +22609,20 @@ SET character_set_client = utf8; 1 AS `modified`*/; SET character_set_client = @saved_cs_client; +-- +-- Table structure for table `educationLevel` +-- + +DROP TABLE IF EXISTS `educationLevel`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `educationLevel` ( + `id` smallint(6) NOT NULL, + `name` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Nivel de formación mismo de a3'; +/*!40101 SET character_set_client = @saved_cs_client */; + -- -- Table structure for table `emergencyMedia` -- @@ -23714,6 +23272,26 @@ CREATE TABLE `expeditionBoxVol` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Establece el volumen de cada servicio para poder comparar el teorico y el real en el control de portes'; /*!40101 SET character_set_client = @saved_cs_client */; +-- +-- Temporary table structure for view `expeditionCommon` +-- + +DROP TABLE IF EXISTS `expeditionCommon`; +/*!50001 DROP VIEW IF EXISTS `expeditionCommon`*/; +SET @saved_cs_client = @@character_set_client; +SET character_set_client = utf8; +/*!50001 CREATE VIEW `expeditionCommon` AS SELECT + 1 AS `truckFk`, + 1 AS `etd`, + 1 AS `description`, + 1 AS `palletFk`, + 1 AS `routeFk`, + 1 AS `scanFk`, + 1 AS `expeditionFk`, + 1 AS `expeditionTruckFk`, + 1 AS `warehouseFk`*/; +SET character_set_client = @saved_cs_client; + -- -- Table structure for table `expeditionPallet` -- @@ -23972,6 +23550,64 @@ SET character_set_client = utf8; 1 AS `expeditionTruckFk`*/; SET character_set_client = @saved_cs_client; +-- +-- Temporary table structure for view `expeditionTruck_Control_Detail_Pallet__` +-- + +DROP TABLE IF EXISTS `expeditionTruck_Control_Detail_Pallet__`; +/*!50001 DROP VIEW IF EXISTS `expeditionTruck_Control_Detail_Pallet__`*/; +SET @saved_cs_client = @@character_set_client; +SET character_set_client = utf8; +/*!50001 CREATE VIEW `expeditionTruck_Control_Detail_Pallet__` AS SELECT + 1 AS `id`, + 1 AS `ETD`, + 1 AS `destino`, + 1 AS `pallet`, + 1 AS `route`, + 1 AS `scans`, + 1 AS `destinos`, + 1 AS `fallos`, + 1 AS `expeditionTruckFk`*/; +SET character_set_client = @saved_cs_client; + +-- +-- Temporary table structure for view `expeditionTruck_Control_Detail__` +-- + +DROP TABLE IF EXISTS `expeditionTruck_Control_Detail__`; +/*!50001 DROP VIEW IF EXISTS `expeditionTruck_Control_Detail__`*/; +SET @saved_cs_client = @@character_set_client; +SET character_set_client = utf8; +/*!50001 CREATE VIEW `expeditionTruck_Control_Detail__` AS SELECT + 1 AS `id`, + 1 AS `ETD`, + 1 AS `destino`, + 1 AS `pallet`, + 1 AS `routes`, + 1 AS `scans`, + 1 AS `destinos`, + 1 AS `fallos`*/; +SET character_set_client = @saved_cs_client; + +-- +-- Temporary table structure for view `expeditionTruck_Control__` +-- + +DROP TABLE IF EXISTS `expeditionTruck_Control__`; +/*!50001 DROP VIEW IF EXISTS `expeditionTruck_Control__`*/; +SET @saved_cs_client = @@character_set_client; +SET character_set_client = utf8; +/*!50001 CREATE VIEW `expeditionTruck_Control__` AS SELECT + 1 AS `id`, + 1 AS `ETD`, + 1 AS `description`, + 1 AS `pallets`, + 1 AS `routes`, + 1 AS `scans`, + 1 AS `expeditions`, + 1 AS `fallos`*/; +SET character_set_client = @saved_cs_client; + -- -- Table structure for table `expence` -- @@ -24745,6 +24381,9 @@ CREATE TABLE `item` ( `sectorFk` int(11) DEFAULT '2', `isFloramondo` tinyint(1) NOT NULL DEFAULT '0', `isFragile` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'articulos solo para recogidas por su fragilidad', + `numberOfItemsPerCask` int(11) DEFAULT NULL COMMENT 'Campo para Floramondo', + `embalageCode` int(11) DEFAULT NULL COMMENT 'Campo para Floramondo', + `quality` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Campo para Floramondo', PRIMARY KEY (`id`), UNIQUE KEY `item_supplyResponseFk_idx` (`supplyResponseFk`), KEY `Color` (`inkFk`), @@ -24757,6 +24396,9 @@ CREATE TABLE `item` ( KEY `item_ibfk_6_idx` (`sectorFk`), KEY `item_expenceFk` (`expenceFk`), KEY `Article` (`name`,`subName`,`value5`,`value6`,`value7`,`value8`,`value9`,`value10`), + KEY `item_id10` (`embalageCode`), + KEY `item_id11` (`numberOfItemsPerCask`), + KEY `item_id12` (`quality`), CONSTRAINT `item_expenceFk` FOREIGN KEY (`expenceFk`) REFERENCES `expence` (`id`) ON UPDATE CASCADE, CONSTRAINT `item_ibfk_1` FOREIGN KEY (`originFk`) REFERENCES `origin` (`id`) ON UPDATE CASCADE, CONSTRAINT `item_ibfk_2` FOREIGN KEY (`intrastatFk`) REFERENCES `intrastat` (`id`) ON UPDATE CASCADE, @@ -24876,7 +24518,10 @@ DELIMITER ;; AFTER DELETE ON `item` FOR EACH ROW BEGIN CALL hedera.image_unref('catalog', OLD.image); - + IF OLD.id > 400000 THEN + INSERT IGNORE edi.item_free (id) + VALUES (OLD.id); + END IF; END */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -24917,7 +24562,8 @@ CREATE TABLE `itemBotanical` ( `specieFk` mediumint(8) unsigned DEFAULT NULL, PRIMARY KEY (`itemFk`), KEY `genusFgn_idx` (`genusFk`), - KEY `specieFgn_idx` (`specieFk`) + KEY `specieFgn_idx` (`specieFk`), + CONSTRAINT `itemBotanicalItemFkFk` FOREIGN KEY (`itemFk`) REFERENCES `item` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Sustituye a antiguo NomBotanic de Articles'; /*!40101 SET character_set_client = @saved_cs_client */; /*!50003 SET @saved_cs_client = @@character_set_client */ ; @@ -24996,7 +24642,8 @@ CREATE TABLE `itemCategory` ( `isReclining` tinyint(4) NOT NULL DEFAULT '1', PRIMARY KEY (`id`), UNIQUE KEY `reino_UNIQUE` (`name`), - KEY `itemCategory_idx3` (`merchandise`) + KEY `itemCategory_idx3` (`merchandise`), + KEY `itemCategoryDisplayIdx` (`display`) ) ENGINE=InnoDBDEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -25160,13 +24807,13 @@ SET character_set_client = utf8; SET character_set_client = @saved_cs_client; -- --- Table structure for table `itemFreeNumber` +-- Table structure for table `itemFreeNumber__` -- -DROP TABLE IF EXISTS `itemFreeNumber`; +DROP TABLE IF EXISTS `itemFreeNumber__`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `itemFreeNumber` ( +CREATE TABLE `itemFreeNumber__` ( `itemFk` int(11) NOT NULL, PRIMARY KEY (`itemFk`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; @@ -26457,7 +26104,7 @@ CREATE TABLE `mrw` ( `shipped` date DEFAULT NULL, `price` decimal(10,2) DEFAULT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDBDEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -27343,7 +26990,7 @@ CREATE TABLE `printServerQueue` ( `started` datetime DEFAULT NULL, `finished` datetime DEFAULT NULL, `param1` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, - `workerFk` int(11) DEFAULT '20', + `workerFk` int(11) DEFAULT NULL, `param2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `param3` text COLLATE utf8_unicode_ci, `error` text COLLATE utf8_unicode_ci, @@ -27375,7 +27022,7 @@ CREATE TABLE `printServerQueue2` ( `started` datetime DEFAULT NULL, `finished` datetime DEFAULT NULL, `param1` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, - `workerFk` int(11) DEFAULT '20', + `workerFk` int(11) DEFAULT NULL, `param2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `param3` text COLLATE utf8_unicode_ci, `error` text COLLATE utf8_unicode_ci, @@ -27889,6 +27536,7 @@ CREATE TABLE `route` ( `zoneFk` int(11) DEFAULT NULL, `priority` int(11) NOT NULL DEFAULT '0', `invoiceInFk` mediumint(8) unsigned DEFAULT NULL, + `beachFk` int(11) DEFAULT NULL, PRIMARY KEY (`id`), KEY `Id_Agencia` (`agencyModeFk`), KEY `Fecha` (`created`), @@ -27897,6 +27545,7 @@ CREATE TABLE `route` ( KEY `fk_route_1_idx` (`zoneFk`), KEY `asdfasdf_idx` (`invoiceInFk`), CONSTRAINT `fk_route_1` FOREIGN KEY (`zoneFk`) REFERENCES `zone` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, + CONSTRAINT `route_fk5` FOREIGN KEY (`agencyModeFk`) REFERENCES `agencyMode` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, CONSTRAINT `route_ibfk_1` FOREIGN KEY (`gestdocFk`) REFERENCES `dms` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, CONSTRAINT `route_ibfk_2` FOREIGN KEY (`workerFk`) REFERENCES `worker` (`id`) ON UPDATE CASCADE, CONSTRAINT `route_invoiceInFk` FOREIGN KEY (`invoiceInFk`) REFERENCES `vn2008`.`recibida` (`id`) ON DELETE SET NULL ON UPDATE CASCADE @@ -27925,9 +27574,9 @@ DELIMITER ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8mb4 */ ; -/*!50003 SET character_set_results = utf8mb4 */ ; -/*!50003 SET collation_connection = utf8mb4_general_ci */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; @@ -27940,7 +27589,7 @@ BEGIN JOIN vn.ticket t ON s.ticketFk = t.id WHERE t.routeFk = NEW.id); END IF; - + IF NEW.kmEnd < NEW.kmStart AND NEW.kmEnd <> 0 THEN CALL util.throw ('KmEnd menor que kmStart'); END IF; @@ -28161,6 +27810,31 @@ CREATE TABLE `routeUserPercentage` ( ) ENGINE=InnoDBDEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; +-- +-- Temporary table structure for view `routesMonitor` +-- + +DROP TABLE IF EXISTS `routesMonitor`; +/*!50001 DROP VIEW IF EXISTS `routesMonitor`*/; +SET @saved_cs_client = @@character_set_client; +SET character_set_client = utf8; +/*!50001 CREATE VIEW `routesMonitor` AS SELECT + 1 AS `routeFk`, + 1 AS `name`, + 1 AS `beachFk`, + 1 AS `ticketPacked`, + 1 AS `ticketFree`, + 1 AS `ticketProduction`, + 1 AS `packages`, + 1 AS `note`, + 1 AS `dated`, + 1 AS `dockFk`, + 1 AS `m3`, + 1 AS `priority`, + 1 AS `etd`, + 1 AS `expeditionTruckFk`*/; +SET character_set_client = @saved_cs_client; + -- -- Table structure for table `sale` -- @@ -28402,7 +28076,7 @@ CREATE TABLE `saleMistake` ( CONSTRAINT `saleMistake_fk1` FOREIGN KEY (`saleFk`) REFERENCES `sale` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `saleMistake_fk2` FOREIGN KEY (`userFk`) REFERENCES `worker` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `saleMistake_fk3` FOREIGN KEY (`typeFk`) REFERENCES `mistakeType` (`id`) ON DELETE CASCADE ON UPDATE CASCADE -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +) ENGINE=InnoDBDEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -28510,6 +28184,7 @@ SET character_set_client = utf8; 1 AS `litros`, 1 AS `routeFk`, 1 AS `shipped`, + 1 AS `landed`, 1 AS `volume`, 1 AS `physicalWeight`, 1 AS `weight`, @@ -28520,6 +28195,21 @@ SET character_set_client = utf8; 1 AS `isPicked`*/; SET character_set_client = @saved_cs_client; +-- +-- Temporary table structure for view `saleVolume_Today_VNH` +-- + +DROP TABLE IF EXISTS `saleVolume_Today_VNH`; +/*!50001 DROP VIEW IF EXISTS `saleVolume_Today_VNH`*/; +SET @saved_cs_client = @@character_set_client; +SET character_set_client = utf8; +/*!50001 CREATE VIEW `saleVolume_Today_VNH` AS SELECT + 1 AS `Cliente`, + 1 AS `Provincia`, + 1 AS `Pais`, + 1 AS `volume`*/; +SET character_set_client = @saved_cs_client; + -- -- Temporary table structure for view `sale_freightComponent` -- @@ -29638,7 +29328,9 @@ BEGIN SELECT NEW.id, ao.observationTypeFk, ao.description FROM addressObservation ao JOIN address a ON a.id = ao.addressFk - WHERE a.id = NEW.addressFk; + JOIN observationType ot ON ot.id = ao.observationTypeFk + WHERE a.id = NEW.addressFk AND + ot.description = 'Repartidor'; END IF; END */;; DELIMITER ; @@ -30151,7 +29843,7 @@ CREATE TABLE `ticketService` ( `description` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, `quantity` int(11) NOT NULL DEFAULT '0', `price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00', - `taxClassFk` tinyint(3) unsigned DEFAULT NULL, + `taxClassFk` tinyint(3) unsigned NOT NULL DEFAULT '2', `ticketFk` int(11) NOT NULL, `ticketServiceTypeFk` int(11) NOT NULL, PRIMARY KEY (`id`), @@ -30174,7 +29866,7 @@ DROP TABLE IF EXISTS `ticketServiceType`; CREATE TABLE `ticketServiceType` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, - `expenceFk` varchar(10) NOT NULL DEFAULT '7001000000', + `expenceFk` varchar(10) NOT NULL DEFAULT '7050000000', PRIMARY KEY (`id`), KEY `ticketServiceType_expenceFk` (`expenceFk`), CONSTRAINT `ticketServiceType_expenceFk` FOREIGN KEY (`expenceFk`) REFERENCES `expence` (`id`) ON UPDATE CASCADE @@ -31445,7 +31137,7 @@ CREATE TABLE `workerRelatives` ( KEY `workerRelatives_workerFk` (`workerFk`), CONSTRAINT `workerRelatives_disabilityGradeFk` FOREIGN KEY (`disabilityGradeFk`) REFERENCES `disabilityGrade` (`id`) ON UPDATE CASCADE, CONSTRAINT `workerRelatives_workerFk` FOREIGN KEY (`workerFk`) REFERENCES `workerIrpf` (`workerFk`) ON DELETE CASCADE ON UPDATE CASCADE -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Modelo 145 IRPF apartado 2 y 3'; +) ENGINE=InnoDBDEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Modelo 145 IRPF apartado 2 y 3'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -31586,8 +31278,10 @@ CREATE TABLE `workerTimeControlMail` ( `workerFk` int(10) NOT NULL, `year` int(4) NOT NULL, `week` int(2) NOT NULL, - `state` enum('SENDED','CONFIRMED','ANSWERED') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'SENDED', + `state` enum('SENDED','CONFIRMED','REVISE') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'SENDED', `updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Fecha/hora último cambio de estado', + `sendedCounter` int(3) NOT NULL DEFAULT '1' COMMENT 'Número de veces que se ha enviado el correo', + `emailResponse` text COLLATE utf8_unicode_ci, PRIMARY KEY (`id`), UNIQUE KEY `workerFk_UNIQUE` (`workerFk`,`year`,`week`), KEY `workerFk_idx` (`workerFk`), @@ -31612,6 +31306,11 @@ CREATE TABLE `workerTimeControlParams` ( `weekMaxBreak` int(11) NOT NULL, `weekMaxScope` int(11) NOT NULL, `askInOut` int(11) NOT NULL COMMENT 'Tiempo desde la última fichada que determinará si se pregunta al usuario por la dirección de la fichada', + `mailPass` varchar(45) COLLATE utf8_bin NOT NULL, + `mailHost` varchar(45) COLLATE utf8_bin NOT NULL, + `mailSuccessFolder` varchar(45) COLLATE utf8_bin NOT NULL, + `mailErrorFolder` varchar(45) COLLATE utf8_bin NOT NULL, + `mailUser` varchar(45) COLLATE utf8_bin NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDBDEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='All values in seconds'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -32268,90 +31967,90 @@ DELIMITER ;; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ;; /*!50003 SET @saved_time_zone = @@time_zone */ ;; /*!50003 SET time_zone = 'SYSTEM' */ ;; -/*!50106 CREATE*/ /*!50117 DEFINER=`z-sysadmin`@`%`*/ /*!50106 EVENT `printQueue_check` ON SCHEDULE EVERY 10 MINUTE STARTS '2019-11-08 00:00:00' ON COMPLETION PRESERVE ENABLE COMMENT 'Notifica en caso de que el servidor de impresión este parado' DO BEGIN - - DECLARE vCurrentCount INT; - DECLARE vCheckSum INT; - DECLARE vIsAlreadyNotified BOOLEAN; - DECLARE vTableQueue TEXT; - DECLARE vLineQueue TEXT; - DECLARE vDone BOOL DEFAULT FALSE; - DECLARE vCur CURSOR FOR - SELECT CONCAT(' - ', IFNULL(pq.id, ''), ' - ', IFNULL(p.path, ''),' - ', IFNULL(i.Informe, ''),' - ', IFNULL(e.Estado, ''),' - ', IFNULL(w.firstname, ''), " ", IFNULL(w.lastName, ''),' - ', IFNULL(pq.`error`, ''),' - ') - FROM vn.printingQueue pq - LEFT JOIN vn.worker w ON w.id = pq.worker - LEFT JOIN vn.printer p ON p.id = pq.printer - LEFT JOIN vn2008.Informes i ON i.Id_Informe = pq.report - JOIN vn2008.Estados e ON e.Id_Estado = pq.state - LIMIT 30; - - DECLARE CONTINUE HANDLER FOR NOT FOUND - SET vDone = TRUE; - - SELECT COUNT(*), IFNULL(SUM(id),0) INTO vCurrentCount, vCheckSum - FROM vn.printingQueue WHERE state = 1; - - SELECT isAlreadyNotified INTO vIsAlreadyNotified - FROM printingQueueCheck; - - IF (SELECT lastCount FROM printingQueueCheck) = vCurrentCount AND - (SELECT lastCheckSum FROM printingQueueCheck) = vCheckSum AND - vIsAlreadyNotified = FALSE AND vCurrentCount > 0 - THEN - - SELECT ' - - - - - - - - ' INTO vTableQueue; - - OPEN vCur; - - l: LOOP - - SET vDone = FALSE; - - FETCH vCur INTO vLineQueue; - - IF vDone THEN - LEAVE l; - END IF; - - SELECT CONCAT(vTableQueue, vLineQueue) INTO vTableQueue; - - END LOOP; - - CLOSE vCur; - - INSERT INTO vn2008.mail (`to`, subject, text) - VALUES ('cau@verdnatura.es, sysadmin@verdnatura.es', - 'servidor de impresion parado', - CONCAT('Hay ', vCurrentCount, ' lineas bloqueadas', vTableQueue, '
Id ColaRuta ImpresoraInformeEstadoTrabajadorError
')); - - UPDATE printingQueueCheck SET isAlreadyNotified = TRUE; - END IF; - - IF (SELECT lastCount FROM printingQueueCheck) > vCurrentCount AND - vIsAlreadyNotified = TRUE - THEN - UPDATE printingQueueCheck SET isAlreadyNotified = FALSE; - END IF; - - UPDATE printingQueueCheck - SET lastCount = vCurrentCount, - lastCheckSum = vCheckSum; - +/*!50106 CREATE*/ /*!50117 DEFINER=`z-sysadmin`@`%`*/ /*!50106 EVENT `printQueue_check` ON SCHEDULE EVERY 10 MINUTE STARTS '2019-11-08 00:00:00' ON COMPLETION PRESERVE ENABLE COMMENT 'Notifica en caso de que el servidor de impresión este parado' DO BEGIN + + DECLARE vCurrentCount INT; + DECLARE vCheckSum INT; + DECLARE vIsAlreadyNotified BOOLEAN; + DECLARE vTableQueue TEXT; + DECLARE vLineQueue TEXT; + DECLARE vDone BOOL DEFAULT FALSE; + DECLARE vCur CURSOR FOR + SELECT CONCAT(' + ', IFNULL(pq.id, ''), ' + ', IFNULL(p.path, ''),' + ', IFNULL(i.Informe, ''),' + ', IFNULL(e.Estado, ''),' + ', IFNULL(w.firstname, ''), " ", IFNULL(w.lastName, ''),' + ', IFNULL(pq.`error`, ''),' + ') + FROM vn.printingQueue pq + LEFT JOIN vn.worker w ON w.id = pq.worker + LEFT JOIN vn.printer p ON p.id = pq.printer + LEFT JOIN vn2008.Informes i ON i.Id_Informe = pq.report + JOIN vn2008.Estados e ON e.Id_Estado = pq.state + LIMIT 30; + + DECLARE CONTINUE HANDLER FOR NOT FOUND + SET vDone = TRUE; + + SELECT COUNT(*), IFNULL(SUM(id),0) INTO vCurrentCount, vCheckSum + FROM vn.printingQueue WHERE state = 1; + + SELECT isAlreadyNotified INTO vIsAlreadyNotified + FROM printingQueueCheck; + + IF (SELECT lastCount FROM printingQueueCheck) = vCurrentCount AND + (SELECT lastCheckSum FROM printingQueueCheck) = vCheckSum AND + vIsAlreadyNotified = FALSE AND vCurrentCount > 0 + THEN + + SELECT ' + + + + + + + + ' INTO vTableQueue; + + OPEN vCur; + + l: LOOP + + SET vDone = FALSE; + + FETCH vCur INTO vLineQueue; + + IF vDone THEN + LEAVE l; + END IF; + + SELECT CONCAT(vTableQueue, vLineQueue) INTO vTableQueue; + + END LOOP; + + CLOSE vCur; + + INSERT INTO vn2008.mail (`to`, subject, text) + VALUES ('cau@verdnatura.es, sysadmin@verdnatura.es', + 'servidor de impresion parado', + CONCAT('Hay ', vCurrentCount, ' lineas bloqueadas', vTableQueue, '
Id ColaRuta ImpresoraInformeEstadoTrabajadorError
')); + + UPDATE printingQueueCheck SET isAlreadyNotified = TRUE; + END IF; + + IF (SELECT lastCount FROM printingQueueCheck) > vCurrentCount AND + vIsAlreadyNotified = TRUE + THEN + UPDATE printingQueueCheck SET isAlreadyNotified = FALSE; + END IF; + + UPDATE printingQueueCheck + SET lastCount = vCurrentCount, + lastCheckSum = vCheckSum; + END */ ;; /*!50003 SET time_zone = @saved_time_zone */ ;; /*!50003 SET sql_mode = @saved_sql_mode */ ;; @@ -35449,6 +35148,179 @@ DELIMITER ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; +/*!50003 DROP FUNCTION IF EXISTS `routeProposal` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`root`@`%` FUNCTION `routeProposal`(vTicketFk INT) RETURNS int(11) + READS SQL DATA +BEGIN + + DECLARE vRouteFk INT; + DECLARE vAddressFk INT; + + DECLARE vLanded DATE; + DECLARE vZoneFk INT; + DECLARE vSignificativeFriendship INT DEFAULT 6; + DECLARE vVolumeMax DECIMAL(5,1) DEFAULT 10; + + SELECT addressFk, zoneFk, landed INTO vAddressFk, vZoneFk, vLanded + FROM vn.ticket + WHERE id = vTicketFk; + + -- Se inicia la selección de rutas posibles con aquellas cuyas agencias alguna vez han estado asociadas con nuestra zona + DROP TEMPORARY TABLE IF EXISTS tmp.route; + CREATE TEMPORARY TABLE tmp.route + SELECT r.id routeFk, + zf.friendship zoneFriendship + FROM vn.route r + JOIN cache.zoneAgencyFriendship zf ON zf.agencyModeFk = r.agencyModeFk + WHERE friendship >= vSignificativeFriendship + AND zf.zoneFk = vZoneFk + AND r.created = vLanded + ORDER BY friendship; + + -- Se eliminan aquellas que superan el volumen máximo + DELETE r.* + FROM tmp.route r + JOIN (SELECT routeFk, sum(volume) volume + FROM vn.saleVolume + WHERE landed = vLanded + GROUP BY routeFk) sub ON sub.routeFk = r.routeFk + WHERE sub.volume > vVolumeMax; + + -- Se ordenan las que quedan en función con la afinidad del resto de consignatarios de cada ruta + SELECT routeFk INTO vRouteFk + FROM + (SELECT r.routeFk, r.zoneFriendship, sum(af.friendship) friendshipSum + FROM tmp.route r + LEFT JOIN vn.ticket t ON t.routeFk = r.routeFk + LEFT JOIN cache.addressFriendship af ON af.addressFk2 = t.addressFk AND af.addressFk1 = vAddressFk + GROUP BY routeFk + ORDER BY zoneFriendship DESC, friendshipSum DESC + ) sub + LIMIT 1; + + RETURN vRouteFk; +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; +/*!50003 DROP FUNCTION IF EXISTS `routeProposal_` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`root`@`%` FUNCTION `routeProposal_`(vTicketFk INT) RETURNS int(11) + READS SQL DATA +BEGIN + + DECLARE vRouteFk INT; + DECLARE vAddressFk INT; + DECLARE vShipped DATETIME; + + SELECT addressFk, date(shipped) INTO vAddressFk, vShipped + FROM vn.ticket + WHERE id = vTicketFk; + + SELECT routeFk INTO vRouteFk + FROM + (SELECT t.routeFk, sum(af.friendship) friendshipSum + FROM vn.ticket t + JOIN cache.addressFriendship af ON af.addressFk2 = t.addressFk AND af.addressFk1 = vAddressFk + WHERE t.shipped BETWEEN vShipped and MIDNIGHT(vShipped) + AND t.routeFk + GROUP BY routeFk + ORDER BY friendshipSum DESC + ) sub + LIMIT 1; + + RETURN vRouteFk; +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; +/*!50003 DROP FUNCTION IF EXISTS `routeProposal_beta` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`root`@`%` FUNCTION `routeProposal_beta`(vTicketFk INT) RETURNS int(11) + READS SQL DATA +BEGIN + + DECLARE vRouteFk INT; + DECLARE vAddressFk INT; + + DECLARE vLanded DATE; + DECLARE vZoneFk INT; + DECLARE vSignificativeFriendship INT DEFAULT 6; + DECLARE vVolumeMax DECIMAL(5,1) DEFAULT 10; + + SELECT addressFk, zoneFk, landed INTO vAddressFk, vZoneFk, vLanded + FROM vn.ticket + WHERE id = vTicketFk; + + -- Se inicia la selección de rutas posibles con aquellas cuyas agencias alguna vez han estado asociadas con nuestra zona + DROP TEMPORARY TABLE IF EXISTS tmp.route; + CREATE TEMPORARY TABLE tmp.route + SELECT r.id routeFk, + zf.friendship zoneFriendship + FROM vn.route r + JOIN cache.zoneAgencyFriendship zf ON zf.agencyModeFk = r.agencyModeFk + WHERE friendship >= vSignificativeFriendship + AND zf.zoneFk = vZoneFk + AND r.created = vLanded + ORDER BY friendship; + + -- Se eliminan aquellas que superan el volumen máximo + DELETE r.* + FROM tmp.route r + JOIN (SELECT routeFk, sum(volume) volume + FROM vn.saleVolume + WHERE landed = vLanded + GROUP BY routeFk) sub ON sub.routeFk = r.routeFk + WHERE sub.volume > vVolumeMax; + + -- Se ordenan las que quedan en función con la afinidad del resto de consignatarios de cada ruta + SELECT routeFk INTO vRouteFk + FROM + (SELECT r.routeFk, r.zoneFriendship, sum(af.friendship) friendshipSum + FROM tmp.route r + LEFT JOIN vn.ticket t ON t.routeFk = r.routeFk + LEFT JOIN cache.addressFriendship af ON af.addressFk2 = t.addressFk AND af.addressFk1 = vAddressFk + GROUP BY routeFk + ORDER BY zoneFriendship DESC, friendshipSum DESC + ) sub + LIMIT 1; + + RETURN vRouteFk; +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 DROP FUNCTION IF EXISTS `ticketGetTotal` */; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; @@ -36812,9 +36684,9 @@ DELIMITER ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8 */ ; -/*!50003 SET character_set_results = utf8 */ ; -/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET character_set_client = utf8mb4 */ ; +/*!50003 SET character_set_results = utf8mb4 */ ; +/*!50003 SET collation_connection = utf8mb4_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; @@ -36824,7 +36696,7 @@ BEGIN * Calcula las últimas compras realizadas * desde un rango de fechas. * - * @param vWarehouseFk Id del almacén + * @param vWarehouseFk Id del almacén si es NULL se actualizan todos * @param vStarted Fecha inicial * @param vEnded Fecha fin * @return tmp.buyUltimateFromInterval @@ -37080,7 +36952,7 @@ CREATE DEFINER=`root`@`%` PROCEDURE `buy_notifyPassport`( IN vPacking SMALLINT ) BEGIN - INSERT INTO vn.mail(`subject`,`body`,`sender`) + /*INSERT INTO vn.mail(`subject`,`body`,`sender`) SELECT 'Solicitar pasaporte', CONCAT( 'Etiquetas: ', IFNULL(vStickers, 0), @@ -37099,7 +36971,7 @@ BEGIN LEFT JOIN buy b ON b.id = vBuyFk LEFT JOIN edi.ekt e ON b.ektFk = e.id LEFT JOIN edi.supplier es ON es.supplier_id = e.pro - WHERE i.id = vItemFk; + WHERE i.id = vItemFk; */ END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -37164,9 +37036,9 @@ DELIMITER ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8mb4 */ ; -/*!50003 SET character_set_results = utf8mb4 */ ; -/*!50003 SET collation_connection = utf8mb4_general_ci */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; @@ -38428,9 +38300,9 @@ DELIMITER ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8 */ ; -/*!50003 SET character_set_results = utf8 */ ; -/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET character_set_client = utf8mb4 */ ; +/*!50003 SET character_set_results = utf8mb4 */ ; +/*!50003 SET collation_connection = utf8mb4_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; @@ -38506,8 +38378,8 @@ BEGIN DELETE FROM vn.expeditionTruck WHERE ETD < v3Month; - - CALL shelving_clean; + + CALL shelving_clean; CALL ticketPackagingRecovery; END ;; DELIMITER ; @@ -39448,54 +39320,54 @@ DELIMITER ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `clientRemoveWorker__`() -BEGIN - DECLARE done BOOL DEFAULT FALSE; - DECLARE vClientFk INT; - - DECLARE rs CURSOR FOR - SELECT c.clientFk - FROM tmp.clientGetDebt c - LEFT JOIN tmp.risk r ON r.clientFk = c.clientFk - WHERE IFNULL(r.risk,0) = 0; - - DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; - - DROP TEMPORARY TABLE IF EXISTS tmp.clientGetDebt; - CREATE TEMPORARY TABLE tmp.clientGetDebt - SELECT cd.id as clientFk - FROM bs.clientDied cd - LEFT JOIN vn.clientProtected cp ON cp.clientFk = cd.id - JOIN vn.client c ON c.id = cd.id - JOIN vn.province p ON p.id = c.provinceFk - JOIN vn.country co ON co.id = p.countryFk - WHERE cd.Aviso = 'TERCER AVISO' - AND cp.clientFk IS NULL - AND co.country NOT IN ('Portugal','Francia','España exento') - AND c.salesPersonFk IS NOT NULL; - - CALL vn.clientGetDebt(curdate()); - - DROP TEMPORARY TABLE IF EXISTS tmp.contador; - CREATE TEMPORARY TABLE tmp.contador (id INT) - ENGINE = MEMORY; - - OPEN rs; - FETCH rs INTO vClientFk; - - WHILE NOT done DO - INSERT INTO tmp.contador SET id = vClientFk; - CALL vn.clientGreugeSpray(vClientFk, TRUE, '',TRUE); +BEGIN + DECLARE done BOOL DEFAULT FALSE; + DECLARE vClientFk INT; + + DECLARE rs CURSOR FOR + SELECT c.clientFk + FROM tmp.clientGetDebt c + LEFT JOIN tmp.risk r ON r.clientFk = c.clientFk + WHERE IFNULL(r.risk,0) = 0; + + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + DROP TEMPORARY TABLE IF EXISTS tmp.clientGetDebt; + CREATE TEMPORARY TABLE tmp.clientGetDebt + SELECT cd.id as clientFk + FROM bs.clientDied cd + LEFT JOIN vn.clientProtected cp ON cp.clientFk = cd.id + JOIN vn.client c ON c.id = cd.id + JOIN vn.province p ON p.id = c.provinceFk + JOIN vn.country co ON co.id = p.countryFk + WHERE cd.Aviso = 'TERCER AVISO' + AND cp.clientFk IS NULL + AND co.country NOT IN ('Portugal','Francia','España exento') + AND c.salesPersonFk IS NOT NULL; + + CALL vn.clientGetDebt(curdate()); + + DROP TEMPORARY TABLE IF EXISTS tmp.contador; + CREATE TEMPORARY TABLE tmp.contador (id INT) + ENGINE = MEMORY; + + OPEN rs; + FETCH rs INTO vClientFk; + + WHILE NOT done DO + INSERT INTO tmp.contador SET id = vClientFk; + CALL vn.clientGreugeSpray(vClientFk, TRUE, '',TRUE); UPDATE vn.client SET salesPersonFk = NULL WHERE id = vClientFk; INSERT INTO vn.clientLog (originFk, userFk, `action`, description) VALUES (vClientFk, account.userGetId(), 'update', CONCAT('Se ha desasignado el cliente por que no ha comprado en 3 meses')); - + REPLACE bs.clientNewBorn(clientFk, shipped) - VALUES(vClientFk, CURDATE()); - FETCH rs INTO vClientFk; - END WHILE; - - CLOSE rs; + VALUES(vClientFk, CURDATE()); + FETCH rs INTO vClientFk; + END WHILE; + + CLOSE rs; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -40757,9 +40629,9 @@ DELIMITER ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8mb4 */ ; -/*!50003 SET character_set_results = utf8mb4 */ ; -/*!50003 SET collation_connection = utf8mb4_general_ci */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; @@ -40768,7 +40640,7 @@ BEGIN SELECT c.id AS collectionFk, date(c.created) AS created FROM vn.collection c - JOIN vn.state s ON c.stateFk = s.id + LEFT JOIN vn.state s ON c.stateFk = s.id WHERE c.workerFk = vWorkerFk AND s.code = 'ON_PREPARATION'; END ;; @@ -42815,216 +42687,216 @@ DELIMITER ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `entryConverter`(IN `vEntry` INT) -BEGIN - - DECLARE vWarehouseIn INT; - DECLARE vWarehouseOut INT; - DECLARE vTravel INT; - - DECLARE done BOOL DEFAULT FALSE; - - DECLARE vId_Entrada INT; - DECLARE vId_Article INT; - DECLARE vEtiquetas INT; - DECLARE vId_Cubo VARCHAR(10); - DECLARE vPacking INT; - DECLARE vGrouping INT; - DECLARE vCantidad INT; - DECLARE vCostefijo DECIMAL(10,3); - DECLARE vPortefijo DECIMAL(10,3); - DECLARE vEmbalajefijo DECIMAL(10); - DECLARE vComisionfija DECIMAL(10,3); - DECLARE vCaja INT; - DECLARE vNicho VARCHAR(5); - DECLARE vTarifa1 DECIMAL(10,2); - DECLARE vTarifa2 DECIMAL(10,2); - DECLARE vTarifa3 DECIMAL(10,2); - DECLARE vPVP DECIMAL(10,2); - DECLARE vCompra INT; - - DECLARE rs CURSOR FOR - SELECT - b.Id_Entrada, - b.Id_Article, - b.Etiquetas, - b.Id_Cubo, - b.Packing, - b.`grouping`, - b.Cantidad, - b.Costefijo, - b.Portefijo, - b.Embalajefijo, - b.Comisionfija, - b.caja, - b.Nicho, - b.Tarifa1, - b.Tarifa2, - b.Tarifa3, - b.PVP - FROM vn2008.Compres b - JOIN vn.itemConversor ic ON ic.espItemFk = b.Id_Article - WHERE Id_Entrada = vEntry; - - DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; - - SELECT warehouseInFk, warehouseOutFk, tr.id - INTO vWarehouseIn, vWarehouseOut, vTravel - FROM travel tr - JOIN entry e ON e.travelFk = tr.id - WHERE e.id = vEntry; - - UPDATE travel - SET warehouseInFk = vWarehouseOut, - warehouseOutFk = vWarehouseIn - WHERE id = vTravel; - - UPDATE vn2008.Compres c - LEFT JOIN vn.itemConversor ic ON ic.espItemFk = c.Id_Article - SET Etiquetas = 0, Cantidad = 0 - WHERE c.Id_Entrada = vEntry - AND ic.espItemFk IS NULL; - - OPEN rs; - - DELETE FROM vn2008.Compres WHERE Id_Entrada = vEntry; - - FETCH rs INTO - vId_Entrada, - vId_Article, - vEtiquetas, - vId_Cubo, - vPacking, - vGrouping, - vCantidad, - vCostefijo, - vPortefijo, - vEmbalajefijo, - vComisionfija, - vCaja, - vNicho, - vTarifa1, - vTarifa2, - vTarifa3, - vPVP; - - WHILE NOT done DO - - -- Primero la linea original con las cantidades invertidas - INSERT INTO vn2008.Compres - ( - Id_Entrada, - Id_Article, - Etiquetas, - Id_Cubo, - Packing, - `grouping`, - Cantidad, - Costefijo, - Portefijo, - Embalajefijo, - Comisionfija, - caja, - Nicho, - Tarifa1, - Tarifa2, - Tarifa3, - PVP - ) - VALUES - ( - vId_Entrada, - vId_Article, - - vEtiquetas, - vId_Cubo, - vPacking, - vGrouping, - - vCantidad, - vCostefijo, - vPortefijo, - vEmbalajefijo, - vComisionfija, - vCaja, - vNicho, - vTarifa1, - vTarifa2, - vTarifa3, - vPVP); - - -- Ahora la linea nueva, con el item genérico - INSERT INTO vn2008.Compres - ( - Id_Entrada, - Id_Article, - Etiquetas, - Id_Cubo, - Packing, - `grouping`, - Cantidad, - Costefijo, - Portefijo, - Embalajefijo, - Comisionfija, - caja, - Nicho, - Tarifa1, - Tarifa2, - Tarifa3, - PVP - ) - SELECT - vId_Entrada, - genItemFk as Id_Article, - vEtiquetas, - vId_Cubo, - vPacking, - vGrouping, - vCantidad, - vCostefijo, - vPortefijo, - vEmbalajefijo, - vComisionfija, - vCaja, - vNicho, - vTarifa1, - vTarifa2, - vTarifa3, - vPVP - FROM itemConversor - WHERE espItemFk = vId_Article; - - SELECT LAST_INSERT_ID() - INTO vCompra; - - REPLACE vn2008.Compres_mark(Id_Compra,`comment`) - SELECT vCompra, vId_Article; - - - FETCH rs INTO - vId_Entrada, - vId_Article, - vEtiquetas, - vId_Cubo, - vPacking, - vGrouping, - vCantidad, - vCostefijo, - vPortefijo, - vEmbalajefijo, - vComisionfija, - vCaja, - vNicho, - vTarifa1, - vTarifa2, - vTarifa3, - vPVP; - - END WHILE; - - - CLOSE rs; - - - +BEGIN + + DECLARE vWarehouseIn INT; + DECLARE vWarehouseOut INT; + DECLARE vTravel INT; + + DECLARE done BOOL DEFAULT FALSE; + + DECLARE vId_Entrada INT; + DECLARE vId_Article INT; + DECLARE vEtiquetas INT; + DECLARE vId_Cubo VARCHAR(10); + DECLARE vPacking INT; + DECLARE vGrouping INT; + DECLARE vCantidad INT; + DECLARE vCostefijo DECIMAL(10,3); + DECLARE vPortefijo DECIMAL(10,3); + DECLARE vEmbalajefijo DECIMAL(10); + DECLARE vComisionfija DECIMAL(10,3); + DECLARE vCaja INT; + DECLARE vNicho VARCHAR(5); + DECLARE vTarifa1 DECIMAL(10,2); + DECLARE vTarifa2 DECIMAL(10,2); + DECLARE vTarifa3 DECIMAL(10,2); + DECLARE vPVP DECIMAL(10,2); + DECLARE vCompra INT; + + DECLARE rs CURSOR FOR + SELECT + b.Id_Entrada, + b.Id_Article, + b.Etiquetas, + b.Id_Cubo, + b.Packing, + b.`grouping`, + b.Cantidad, + b.Costefijo, + b.Portefijo, + b.Embalajefijo, + b.Comisionfija, + b.caja, + b.Nicho, + b.Tarifa1, + b.Tarifa2, + b.Tarifa3, + b.PVP + FROM vn2008.Compres b + JOIN vn.itemConversor ic ON ic.espItemFk = b.Id_Article + WHERE Id_Entrada = vEntry; + + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + SELECT warehouseInFk, warehouseOutFk, tr.id + INTO vWarehouseIn, vWarehouseOut, vTravel + FROM travel tr + JOIN entry e ON e.travelFk = tr.id + WHERE e.id = vEntry; + + UPDATE travel + SET warehouseInFk = vWarehouseOut, + warehouseOutFk = vWarehouseIn + WHERE id = vTravel; + + UPDATE vn2008.Compres c + LEFT JOIN vn.itemConversor ic ON ic.espItemFk = c.Id_Article + SET Etiquetas = 0, Cantidad = 0 + WHERE c.Id_Entrada = vEntry + AND ic.espItemFk IS NULL; + + OPEN rs; + + DELETE FROM vn2008.Compres WHERE Id_Entrada = vEntry; + + FETCH rs INTO + vId_Entrada, + vId_Article, + vEtiquetas, + vId_Cubo, + vPacking, + vGrouping, + vCantidad, + vCostefijo, + vPortefijo, + vEmbalajefijo, + vComisionfija, + vCaja, + vNicho, + vTarifa1, + vTarifa2, + vTarifa3, + vPVP; + + WHILE NOT done DO + + -- Primero la linea original con las cantidades invertidas + INSERT INTO vn2008.Compres + ( + Id_Entrada, + Id_Article, + Etiquetas, + Id_Cubo, + Packing, + `grouping`, + Cantidad, + Costefijo, + Portefijo, + Embalajefijo, + Comisionfija, + caja, + Nicho, + Tarifa1, + Tarifa2, + Tarifa3, + PVP + ) + VALUES + ( + vId_Entrada, + vId_Article, + - vEtiquetas, + vId_Cubo, + vPacking, + vGrouping, + - vCantidad, + vCostefijo, + vPortefijo, + vEmbalajefijo, + vComisionfija, + vCaja, + vNicho, + vTarifa1, + vTarifa2, + vTarifa3, + vPVP); + + -- Ahora la linea nueva, con el item genérico + INSERT INTO vn2008.Compres + ( + Id_Entrada, + Id_Article, + Etiquetas, + Id_Cubo, + Packing, + `grouping`, + Cantidad, + Costefijo, + Portefijo, + Embalajefijo, + Comisionfija, + caja, + Nicho, + Tarifa1, + Tarifa2, + Tarifa3, + PVP + ) + SELECT + vId_Entrada, + genItemFk as Id_Article, + vEtiquetas, + vId_Cubo, + vPacking, + vGrouping, + vCantidad, + vCostefijo, + vPortefijo, + vEmbalajefijo, + vComisionfija, + vCaja, + vNicho, + vTarifa1, + vTarifa2, + vTarifa3, + vPVP + FROM itemConversor + WHERE espItemFk = vId_Article; + + SELECT LAST_INSERT_ID() + INTO vCompra; + + REPLACE vn2008.Compres_mark(Id_Compra,`comment`) + SELECT vCompra, vId_Article; + + + FETCH rs INTO + vId_Entrada, + vId_Article, + vEtiquetas, + vId_Cubo, + vPacking, + vGrouping, + vCantidad, + vCostefijo, + vPortefijo, + vEmbalajefijo, + vComisionfija, + vCaja, + vNicho, + vTarifa1, + vTarifa2, + vTarifa3, + vPVP; + + END WHILE; + + + CLOSE rs; + + + END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -43086,62 +42958,62 @@ DELIMITER ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `entryPrepare`(IN `idE` BIGINT) -BEGIN - SELECT - b.quantity / b.packing AS Paquetes, - b.packing AS `Grouping`, - barcode, - 'ASEGURADO' AS asegurado, - ic.name, - ic.order, - s.name AS Consignatario, - e.supplierFk AS Id_Cliente, - e.isOrdered, - e.isConfirmed, - 10 AS Calidad, - LPAD(IFNULL(cpd.id, ip.code), - 5, - '0') AS path, - b.entryFk AS Id_Ticket, - t.landed AS Fecha, - b.itemFk, - b.quantity, - i.name AS Concepte, - i.size, - i.inkFk, - i.category, - o.code AS Origen, - 0 AS Bultos, - wIn.`name` AS Tipo, - 0 AS OK, - 0 AS Reservado, - i.stems, - b.id AS Id_Movimiento, - ip.code, - 'PEDIDO ASEGURADO' AS MSG, - 0 AS Seguro, - i.image, - pr.name AS producer - FROM vn.buy b - JOIN vn.entry e ON b.entryFk = e.id - JOIN vn.travel t ON t.id = e.travelFk - JOIN vn.warehouse wIn ON wIn.id = t.warehouseInFk - JOIN vn.warehouse wOut ON wOut.id = t.warehouseOutFk - JOIN vn.item i ON i.id = b.itemFk - JOIN vn.itemType it ON it.id =i.typeFk - JOIN vn.itemCategory ic ON ic.id = it.categoryFk - JOIN vn.packaging pkg ON pkg.id = b.packageFk - LEFT JOIN vn.itemPlacement ip ON i.id = ip.itemFk AND ip.warehouseFk = wIn.id AND ip.warehouseFk = t.warehouseOutFk - LEFT JOIN (SELECT itemFk, code AS barcode FROM vn.itemBarcode GROUP BY itemFk) ib ON ib.itemFk = b.itemFk - LEFT JOIN vn.origin o ON o.id = i.originFk - LEFT JOIN vn.supplier s ON s.id = e.supplierFk - LEFT JOIN vn.producer pr on pr.id = i.producerFk - LEFT JOIN vn.coolerPathDetail cpd ON LEFT(ip.code, 3) = cpd.hallway - WHERE - NOT wIn.isFeedStock AND NOT e.isInventory AND NOT e.isRaid - AND e.id = 158772 - AND i.typeFk IS NOT NULL - AND ic.merchandise IS NOT FALSE; +BEGIN + SELECT + b.quantity / b.packing AS Paquetes, + b.packing AS `Grouping`, + barcode, + 'ASEGURADO' AS asegurado, + ic.name, + ic.order, + s.name AS Consignatario, + e.supplierFk AS Id_Cliente, + e.isOrdered, + e.isConfirmed, + 10 AS Calidad, + LPAD(IFNULL(cpd.id, ip.code), + 5, + '0') AS path, + b.entryFk AS Id_Ticket, + t.landed AS Fecha, + b.itemFk, + b.quantity, + i.name AS Concepte, + i.size, + i.inkFk, + i.category, + o.code AS Origen, + 0 AS Bultos, + wIn.`name` AS Tipo, + 0 AS OK, + 0 AS Reservado, + i.stems, + b.id AS Id_Movimiento, + ip.code, + 'PEDIDO ASEGURADO' AS MSG, + 0 AS Seguro, + i.image, + pr.name AS producer + FROM vn.buy b + JOIN vn.entry e ON b.entryFk = e.id + JOIN vn.travel t ON t.id = e.travelFk + JOIN vn.warehouse wIn ON wIn.id = t.warehouseInFk + JOIN vn.warehouse wOut ON wOut.id = t.warehouseOutFk + JOIN vn.item i ON i.id = b.itemFk + JOIN vn.itemType it ON it.id =i.typeFk + JOIN vn.itemCategory ic ON ic.id = it.categoryFk + JOIN vn.packaging pkg ON pkg.id = b.packageFk + LEFT JOIN vn.itemPlacement ip ON i.id = ip.itemFk AND ip.warehouseFk = wIn.id AND ip.warehouseFk = t.warehouseOutFk + LEFT JOIN (SELECT itemFk, code AS barcode FROM vn.itemBarcode GROUP BY itemFk) ib ON ib.itemFk = b.itemFk + LEFT JOIN vn.origin o ON o.id = i.originFk + LEFT JOIN vn.supplier s ON s.id = e.supplierFk + LEFT JOIN vn.producer pr on pr.id = i.producerFk + LEFT JOIN vn.coolerPathDetail cpd ON LEFT(ip.code, 3) = cpd.hallway + WHERE + NOT wIn.isFeedStock AND NOT e.isInventory AND NOT e.isRaid + AND e.id = 158772 + AND i.typeFk IS NOT NULL + AND ic.merchandise IS NOT FALSE; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -44928,10 +44800,10 @@ BEGIN ) SELECT vBookNumber ASIEN, n.bookEntried FECHA, - IF(e.isWithheld,LPAD(RIGHT(s.supplierAccount,5),10,iit.expenceFk),iit.expenceFk) SUBCTA, + IF(e.isWithheld , LPAD(RIGHT(s.supplierAccount,5),10,iit.expenceFk),iit.expenceFk) SUBCTA, s.supplierAccount CONTRA, - IF(e.isWithheld,NULL,ABS(ROUND(SUM(iit.taxableBase),2))) EURODEBE, - IF(e.isWithheld,ABS(ROUND(SUM(iit.taxableBase),2)),NULL) EUROHABER, + IF(e.isWithheld AND iit.taxableBase < 0, NULL, ROUND(SUM(iit.taxableBase),2)) EURODEBE, + IF(e.isWithheld AND iit.taxableBase < 0,ROUND(SUM(-iit.taxableBase),2),NULL) EUROHABER, n.conceptWithSupplier CONCEPTO, vRate, IF(e.isWithheld,NULL,ABS(ROUND(SUM(iit.foreignValue),2))) DEBEME, @@ -44946,7 +44818,6 @@ BEGIN WHERE iit.expenceFk != 5660000002 GROUP BY iit.expenceFk; - -- -------------------------------------------------------------------- -- ------- Lineas de IVA --------------- -- -------------------------------------------------------------------- @@ -44984,7 +44855,7 @@ BEGIN n.bookEntried FECHA, tc.code SUBCTA, s.supplierAccount CONTRA, - SUM(ROUND(tc.rate/100 * it.taxableBase + 0.0001, 2)) EURODEBE, + SUM(ROUND(tc.rate/100 * it.taxableBase/* + 0.0001*/, 2)) EURODEBE, SUM(it.taxableBase) BASEEURO, GROUP_CONCAT(DISTINCT e.`name` SEPARATOR ', ') CONCEPTO, vSerialNumber FACTURA, @@ -45023,7 +44894,7 @@ BEGIN ) eWithheld ON TRUE WHERE tc.type != '-' AND tc.isActive - GROUP BY tc.rate; + GROUP BY tc.rate, e.id; -- Linea iva inversor sujeto pasivo @@ -46619,9 +46490,9 @@ DELIMITER ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8 */ ; -/*!50003 SET character_set_results = utf8 */ ; -/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET character_set_client = utf8mb4 */ ; +/*!50003 SET character_set_results = utf8mb4 */ ; +/*!50003 SET collation_connection = utf8mb4_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; @@ -46647,7 +46518,9 @@ BEGIN IF vSerial <> 'R' AND NOT ISNULL(vInvoiceId) AND vInvoiceId <> 0 THEN CALL invoiceOutBooking(vInvoiceId); - INSERT INTO printServerQueue(priorityFk, reportFk, param1) VALUES(1, 3, vInvoiceId); + IF account.myUserGetId() IS NOT NULL THEN + INSERT INTO printServerQueue(priorityFk, reportFk, param1, workerFk) VALUES(1, 3, vInvoiceId, account.myUserGetId()); + END IF; END IF; COMMIT; @@ -46798,9 +46671,9 @@ DELIMITER ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8mb4 */ ; -/*!50003 SET character_set_results = utf8mb4 */ ; -/*!50003 SET collation_connection = utf8mb4_general_ci */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; @@ -46829,8 +46702,8 @@ BEGIN - CALL cache.visible_refresh(vCacheVisibleFk, FALSE,vWarehouseFk); - CALL cache.available_refresh(vCacheAvailableFk, FALSE,vWarehouseFk, CURDATE()); + CALL cache.visible_refresh(vCacheVisibleFk, TRUE,vWarehouseFk); + CALL cache.available_refresh(vCacheAvailableFk, TRUE,vWarehouseFk, CURDATE()); /* SELECT max(id) INTO vCacheVisibleFk FROM cache.cache_calc @@ -46922,6 +46795,9 @@ BEGIN DECLARE vDateInventory DATETIME; DECLARE vCurdate DATE DEFAULT CURDATE(); DECLARE vDayEnd DATETIME DEFAULT util.dayEnd(vCurdate); + + SELECT vn.barcodeToItem(vItemId) INTO vItemId; + -- traduccion: date, alertLevel, origin, reference, name, In, Out, Balance SELECT inventoried INTO vDateInventory FROM config; SET @a = 0; @@ -47558,9 +47434,9 @@ DELIMITER ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8mb4 */ ; -/*!50003 SET character_set_results = utf8mb4 */ ; -/*!50003 SET collation_connection = utf8mb4_general_ci */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; @@ -47575,7 +47451,24 @@ BEGIN JOIN vn.warehouse w ON w.id = s.warehouseFk WHERE s.id = vSectorFk; - SELECT shelving, parking, sum(stock) as stockTotal,created,`order` + SELECT ish.shelvingFk shelving, + p.code parking, + sum(ish.visible) as stockTotal, + ish.created, + p.pickingOrder as `order` + FROM vn.itemShelving ish + JOIN vn.shelving sh ON sh.code = ish.shelvingFk + JOIN vn.parking p ON p.id = sh.parkingFk + LEFT JOIN vn.coolerPathDetail cpd ON CAST(cpd.hallway AS DECIMAL(3,0)) = p.column + JOIN vn.sector sc ON sc.id = p.sectorFk + JOIN vn.warehouse w ON w.id = sc.warehouseFk + WHERE w.aliasFk = vWarehouseAliasFk + AND ish.visible > 0 + AND ish.itemFk = vItemFk + GROUP BY ish.id + ORDER BY ish.priority DESC; + /* + SELECT shelving, parking, sum(visible) as stockTotal,created,`order` FROM ( SELECT `ispss`.`itemShelvingFk` AS `itemShelvingFk`, @@ -47609,7 +47502,9 @@ BEGIN ) sub GROUP BY shelving ORDER BY parking ASC; - + */ + + END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -47704,14 +47599,22 @@ DELIMITER ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; -CREATE DEFINER=`root`@`%` PROCEDURE `itemProposal`(vItemFk INT, vTicketFk INT) +CREATE DEFINER=`root`@`%` PROCEDURE `itemProposal`(vItemFk INT, vTicketFk INT,vShowType BOOL) BEGIN - DECLARE vWarehouseFk INT; +/** + * Propone articulos disponible ordenado, con la cantidad de veces usado y segun sus caracteristicas + * + * @param vItemFk item id + * @param vTicketFk ticket id + * @param vShowType mostrar tipos + */ + + DECLARE vWarehouseFk INT; DECLARE vShipped DATE; DECLARE vCalcFk INT; DECLARE vTypeFk INT; - DECLARE vResultsMax INT DEFAULT 10; + DECLARE vTag1 VARCHAR(25); DECLARE vTag5 VARCHAR(25); @@ -47725,29 +47628,29 @@ BEGIN DECLARE vValue7 VARCHAR(50); DECLARE vValue8 VARCHAR(50); - SELECT warehouseFk, shipped INTO vWarehouseFk, vShipped - FROM vn.ticket + SELECT warehouseFk, shipped INTO vWarehouseFk, vShipped + FROM vn.ticket WHERE id = vTicketFk; SELECT typeFk, tag5, value5, tag6, value6, tag7, value7, tag8, value8, t1.name, it1.value - INTO vTypeFk, vTag5, vValue5, vTag6, vValue6, vTag7, vValue7, vTag8, vValue8, vTag1, vValue1 - FROM vn.item i + INTO vTypeFk, vTag5, vValue5, vTag6, vValue6, vTag7, vValue7, vTag8, vValue8, vTag1, vValue1 + FROM vn.item i LEFT JOIN vn.itemTag it1 ON it1.itemFk = i.id AND it1.priority = 1 - LEFT JOIN vn.tag t1 ON t1.id = it1.tagFk + LEFT JOIN vn.tag t1 ON t1.id = it1.tagFk WHERE i.id = vItemFk; - CALL cache.available_refresh(vCalcFk, FALSE, vWarehouseFk, vShipped); - - SELECT i.id itemFk, - i.longName, + CALL cache.available_refresh(vCalcFk, FALSE, vWarehouseFk, vShipped); + + SELECT i.id itemFk, + i.longName, i.subName, i.tag5, i.value5, (i.value5 <=> vValue5 COLLATE utf8_general_ci) match5, - i.tag6, + i.tag6, i.value6, (i.value6 <=> vValue6 COLLATE utf8_general_ci) match6, - i.tag7, + i.tag7, i.value7, (i.value7 <=> vValue7 COLLATE utf8_general_ci) match7, i.tag8, @@ -47755,27 +47658,27 @@ BEGIN (i.value8 <=> vValue8 COLLATE utf8_general_ci) match8, a.available, IFNULL(ip.counter,0) counter - FROM vn.item i - JOIN cache.available a ON a.item_id = i.id + FROM vn.item i + JOIN cache.available a ON a.item_id = i.id LEFT JOIN vn.itemProposal ip ON ip.mateFk = i.id AND ip.itemFk = vItemFk - LEFT JOIN vn.itemTag it1 ON it1.itemFk = i.id AND it1.priority = 1 - LEFT JOIN vn.tag t1 ON t1.id = it1.tagFk - WHERE a.calc_id = vCalcFk - AND available > 0 - AND i.typeFk = vTypeFk + LEFT JOIN vn.itemTag it1 ON it1.itemFk = i.id AND it1.priority = 1 + LEFT JOIN vn.tag t1 ON t1.id = it1.tagFk + WHERE a.calc_id = vCalcFk + AND available > 0 + AND IF(vShowType,i.typeFk = vTypeFk,true) AND i.id != vItemFk - ORDER BY counter DESC, - (t1.name = vTag1 COLLATE utf8_general_ci) DESC, + ORDER BY counter DESC, + (t1.name = vTag1 COLLATE utf8_general_ci) DESC, (it1.value = vValue1 COLLATE utf8_general_ci) DESC, - (i.tag5 = vTag5 COLLATE utf8_general_ci) DESC, - (i.value5 = vValue5 COLLATE utf8_general_ci) DESC, - (i.tag6 = vTag6 COLLATE utf8_general_ci) DESC, - (i.value6 = vValue6 COLLATE utf8_general_ci) DESC, + (i.tag6 = vTag6 COLLATE utf8_general_ci) DESC, + (i.value6 = vValue6 COLLATE utf8_general_ci) DESC, + (i.tag5 = vTag5 COLLATE utf8_general_ci) DESC, + (i.value5 = vValue5 COLLATE utf8_general_ci) DESC, (i.tag7 = vTag7 COLLATE utf8_general_ci) DESC, - (i.value7 = vValue7 COLLATE utf8_general_ci) DESC, + (i.value7 = vValue7 COLLATE utf8_general_ci) DESC, (i.tag8 = vTag8 COLLATE utf8_general_ci) DESC, - (i.value8 = vValue8 COLLATE utf8_general_ci) DESC - LIMIT vResultsMax; + (i.value8 = vValue8 COLLATE utf8_general_ci) DESC; + END ;; DELIMITER ; @@ -48001,6 +47904,95 @@ BEGIN (i.value8 = vValue8 COLLATE utf8_general_ci) DESC LIMIT vResultsMax; +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; +/*!50003 DROP PROCEDURE IF EXISTS `itemProposal__2` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8mb4 */ ; +/*!50003 SET character_set_results = utf8mb4 */ ; +/*!50003 SET collation_connection = utf8mb4_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`root`@`%` PROCEDURE `itemProposal__2`(vItemFk INT, vTicketFk INT) +BEGIN + + DECLARE vWarehouseFk INT; + DECLARE vShipped DATE; + DECLARE vCalcFk INT; + DECLARE vTypeFk INT; + DECLARE vResultsMax INT DEFAULT 10; + + DECLARE vTag1 VARCHAR(25); + DECLARE vTag5 VARCHAR(25); + DECLARE vTag6 VARCHAR(25); + DECLARE vTag7 VARCHAR(25); + DECLARE vTag8 VARCHAR(25); + + DECLARE vValue1 VARCHAR(50); + DECLARE vValue5 VARCHAR(50); + DECLARE vValue6 VARCHAR(50); + DECLARE vValue7 VARCHAR(50); + DECLARE vValue8 VARCHAR(50); + + SELECT warehouseFk, shipped INTO vWarehouseFk, vShipped + FROM vn.ticket + WHERE id = vTicketFk; + + SELECT typeFk, tag5, value5, tag6, value6, tag7, value7, tag8, value8, t1.name, it1.value + INTO vTypeFk, vTag5, vValue5, vTag6, vValue6, vTag7, vValue7, vTag8, vValue8, vTag1, vValue1 + FROM vn.item i + LEFT JOIN vn.itemTag it1 ON it1.itemFk = i.id AND it1.priority = 1 + LEFT JOIN vn.tag t1 ON t1.id = it1.tagFk + WHERE i.id = vItemFk; + + CALL cache.available_refresh(vCalcFk, FALSE, vWarehouseFk, vShipped); + + SELECT i.id itemFk, + i.longName, + i.subName, + i.tag5, + i.value5, + (i.value5 <=> vValue5 COLLATE utf8_general_ci) match5, + i.tag6, + i.value6, + (i.value6 <=> vValue6 COLLATE utf8_general_ci) match6, + i.tag7, + i.value7, + (i.value7 <=> vValue7 COLLATE utf8_general_ci) match7, + i.tag8, + i.value8, + (i.value8 <=> vValue8 COLLATE utf8_general_ci) match8, + a.available, + IFNULL(ip.counter,0) counter + FROM vn.item i + JOIN cache.available a ON a.item_id = i.id + LEFT JOIN vn.itemProposal ip ON ip.mateFk = i.id AND ip.itemFk = vItemFk + LEFT JOIN vn.itemTag it1 ON it1.itemFk = i.id AND it1.priority = 1 + LEFT JOIN vn.tag t1 ON t1.id = it1.tagFk + WHERE a.calc_id = vCalcFk + AND available > 0 + AND i.typeFk = vTypeFk + AND i.id != vItemFk + ORDER BY counter DESC, + (t1.name = vTag1 COLLATE utf8_general_ci) DESC, + (it1.value = vValue1 COLLATE utf8_general_ci) DESC, + (i.tag5 = vTag5 COLLATE utf8_general_ci) DESC, + (i.value5 = vValue5 COLLATE utf8_general_ci) DESC, + (i.tag6 = vTag6 COLLATE utf8_general_ci) DESC, + (i.value6 = vValue6 COLLATE utf8_general_ci) DESC, + (i.tag7 = vTag7 COLLATE utf8_general_ci) DESC, + (i.value7 = vValue7 COLLATE utf8_general_ci) DESC, + (i.tag8 = vTag8 COLLATE utf8_general_ci) DESC, + (i.value8 = vValue8 COLLATE utf8_general_ci) DESC + LIMIT vResultsMax; + END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -48937,9 +48929,9 @@ DELIMITER ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8 */ ; -/*!50003 SET character_set_results = utf8 */ ; -/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET character_set_client = utf8mb4 */ ; +/*!50003 SET character_set_results = utf8mb4 */ ; +/*!50003 SET collation_connection = utf8mb4_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; @@ -48959,6 +48951,8 @@ BEGIN DECLARE vCurrentTime VARCHAR(5); DECLARE vParkedStuff INT; + SELECT vn.barcodeToItem(vItemFk) INTO vItemFk; + CALL cache.visible_refresh(vCalc, TRUE, vWarehouseFk); SELECT IFNULL(visible,0) INTO vVisible @@ -49650,9 +49644,9 @@ DELIMITER ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8mb4 */ ; -/*!50003 SET character_set_results = utf8mb4 */ ; -/*!50003 SET collation_connection = utf8mb4_general_ci */ ; +/*!50003 SET character_set_client = utf8 */ ; +/*!50003 SET character_set_results = utf8 */ ; +/*!50003 SET collation_connection = utf8_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; @@ -49663,7 +49657,7 @@ BEGIN * Para actualizar mas de un registro, la tabla NO tiene que ser en memoria * Error Code: 1137. No puedo reabrir tabla: 'tmpI * - * @param temporary table vItem(id) del articulo + * @param temporary table tmp.item(id) del articulo **/ DROP TEMPORARY TABLE IF EXISTS tmp.itemToRefresh; CREATE TEMPORARY TABLE tmp.itemToRefresh @@ -49675,7 +49669,7 @@ BEGIN LEFT JOIN itemTag it1 ON it1.priority = 1 AND it1.itemFk = i.id LEFT JOIN itemTag it2 ON it2.priority = 2 AND it2.itemFk = i.id LEFT JOIN itemTag it3 ON it3.priority = 3 AND it3.itemFk = i.id - SET i.longName = CONCAT_WS(' ', it1.`value`, it2.`value`, it3.`value`); + SET i.longName = CONCAT_WS(' ', it1.`value`, it2.`value`, IF(it3.`value` = 'A1','',it3.`value`)); UPDATE item i JOIN tmp.itemToRefresh tmpI ON tmpI.id = i.id @@ -49687,8 +49681,8 @@ BEGIN LEFT JOIN tagAbbreviation ta3 ON ta3.`value` = it3.`value` SET i.`name` = CONCAT_WS(' ', IFNULL(ta1.abbreviation,it1.`value`), - IFNULL(ta2.abbreviation,it2.`value`), - IFNULL(ta3.abbreviation,it3.`value`)); + IF(i.id > 400000,'',IFNULL(ta2.abbreviation,it2.`value`)), + IF(i.id > 400000,'',IFNULL(ta3.abbreviation,it3.`value`))); UPDATE item i JOIN tmp.itemToRefresh tmpI ON tmpI.id = i.id @@ -49901,6 +49895,70 @@ DELIMITER ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; +/*!50003 DROP PROCEDURE IF EXISTS `item_setCompression` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8mb4 */ ; +/*!50003 SET character_set_results = utf8mb4 */ ; +/*!50003 SET collation_connection = utf8mb4_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`root`@`%` PROCEDURE `item_setCompression`() +BEGIN + /** + * Actualiza la compression de los articulos con un packing.hasCompressionVariations = TRUE + * + */ + DECLARE done INT DEFAULT FALSE; + DECLARE vBuyFk INT; + DECLARE cur1 CURSOR FOR SELECT b.id + FROM vn.item i + JOIN edi.supplyResponse ii ON i.supplyResponseFk = ii.ID + JOIN vn.packaging p ON p.id = ii.EmbalageCode AND hasCompressionVariations + JOIN vn.itemTag diameter ON diameter.itemFk = i.id + JOIN vn.tag tDiameter ON tDiameter.overwrite = 'diameter' AND tDiameter.id = diameter.tagFk + JOIN vn.itemTag size ON size.itemFk = i.id + JOIN vn.tag tSize ON tSize.overwrite = 'size' AND tSize.id = size.tagFk + JOIN vn.buy b ON b.itemFk = i.id; + + DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; + + UPDATE vn.item i + JOIN edi.supplyResponse ii ON i.supplyResponseFk = ii.ID + JOIN vn.packaging p ON p.id = ii.EmbalageCode AND hasCompressionVariations + JOIN vn.itemTag diameter ON diameter.itemFk = i.id + JOIN vn.tag tDiameter ON tDiameter.overwrite = 'diameter' AND tDiameter.id = diameter.tagFk + JOIN vn.itemTag size ON size.itemFk = i.id + JOIN vn.tag tSize ON tSize.overwrite = 'size' AND tSize.id = size.tagFk + SET i.`compression` = (PI() * POW(diameter.`value`/ 2, 2) * size.`value`) + / + ((p.width * p.depth * p.height) / ii.NumberOfItemsPerCask) + WHERE (PI() * POW(diameter.`value`/ 2, 2) * size.`value`) + / + ((p.width * p.depth * p.height) / ii.NumberOfItemsPerCask) <> 0; + + OPEN cur1; + + read_loop: LOOP + SET done = FALSE; + FETCH cur1 INTO vBuyFk; + IF done THEN + LEAVE read_loop; + END IF; + + call vn.buy_afterUpsert(vBuyFk); + + END LOOP; + + CLOSE cur1; +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 DROP PROCEDURE IF EXISTS `item_ValuateInventory` */; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; @@ -50753,10 +50811,11 @@ DELIMITER ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `manaSpellersRequery`(vWorkerFk INTEGER) BEGIN -/* -Hay una version en salix que machacará toda esta funcion/procedimiento -avisa a jgallego de los cambios que quieres hacer -*/ +/** + * Recalcula el mana consumido por un trabajador + * + * @param vWorkerFk Id Trabajador + */ DECLARE vWorkerIsExcluded BOOLEAN; DECLARE vFromDated DATE; DECLARE vToDated DATE DEFAULT TIMESTAMPADD(DAY,1,CURDATE()); @@ -50765,23 +50824,22 @@ avisa a jgallego de los cambios que quieres hacer DECLARE vManaBank INT; DECLARE vManaGreugeType INT; - SELECT id INTO vMana - FROM `component` WHERE code = 'mana'; - - SELECT id INTO vAutoMana - FROM `component` WHERE code = 'autoMana'; - - SELECT id INTO vManaBank - FROM `bank` WHERE code = 'mana'; - - SELECT id INTO vManaGreugeType - FROM `greugeType` WHERE code = 'mana'; - SELECT COUNT(*) INTO vWorkerIsExcluded FROM workerManaExcluded WHERE workerFk = vWorkerFk; IF NOT vWorkerIsExcluded THEN + SELECT id INTO vMana + FROM `component` WHERE code = 'mana'; + + SELECT id INTO vAutoMana + FROM `component` WHERE code = 'autoMana'; + + SELECT id INTO vManaBank + FROM `bank` WHERE code = 'mana'; + + SELECT id INTO vManaGreugeType + FROM `greugeType` WHERE code = 'mana'; SELECT max(dated) INTO vFromDated FROM clientManaCache; @@ -52485,10 +52543,15 @@ BEGIN pallets = NULL, lastScanned = NULL WHERE routeFk = vRouteFk; - + UPDATE routeGate SET routeFk = vRouteFk WHERE deviceId = vDevice COLLATE utf8_general_ci; + + UPDATE vn.route r + JOIN vn.beach b ON b.name = vDevice + SET r.beachFk = b.id + WHERE r.id = vRouteFk; END ;; DELIMITER ; @@ -52922,77 +52985,77 @@ DELIMITER ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `saleItemShelvingMake`(IN `vTicketFk` INT, IN `vSectorFk` INT) -BEGIN - - SET @rest:= CAST(0 AS DECIMAL(10,0)); - SET @saleFk := CAST(0 AS DECIMAL(10,0)); - SET @reserved := CAST(0 AS DECIMAL(10,0)); - - UPDATE vn.itemShelving ish - JOIN vn.saleItemShelving sis ON sis.itemShelvingFk = ish.id - JOIN sale s ON s.id = sis.saleFk - SET ish.visible = sis.quantity + ish.visible, - ish.available = sis.quantity + ish.visible - WHERE s.ticketFk = vTicketFk; - - DELETE sis.* - FROM saleItemShelving sis - JOIN sale s ON s.id = sis.saleFk - WHERE s.ticketFk = vTicketFk; - - INSERT INTO saleItemShelving( saleFk, - itemShelvingFk, - quantity, - ubication) - SELECT saleFk, - itemShelvingFk, - CAST(Reserved as DECIMAL(10,0)) as Reserved, - ubication - FROM - (SELECT saleFk, - itemShelvingFk, - ubication, - @rest := IF(@saleFk = saleFk, @rest, quantity) as Falta, - @reserved := IF(available < @rest, available, IF(@rest < packing,0,@rest)) as Reserved, - @rest := @rest - @reserved, - @saleFk := saleFk - FROM - ( SELECT s.id as saleFk, - ish.created, - ish.id as itemShelvingFk, - ish.available, - s.quantity, - ish.packing, - CONCAT(p.`column`, '-',p.`row`,': ', sh.code ) as ubication - FROM vn.sale s - JOIN vn.ticket t ON t.id = s.ticketFk - JOIN vn.sector sc ON sc.warehouseFk = t.warehouseFk - JOIN vn.parking p ON p.sectorFk = sc.id - JOIN vn.shelving sh ON sh.parkingFk = p.id - JOIN vn.itemShelving ish ON ish.shelvingFk = sh.code AND ish.itemFk = s.itemFk - WHERE t.id = vTicketFk - AND sc.id = vSectorFk - AND s.quantity MOD ish.packing = 0 - AND s.quantity >= ish.packing - ORDER BY s.id, - sh.priority DESC, - ish.packing DESC, - ish.created - ) sub - ) sub2 - WHERE Reserved > 0; - - UPDATE vn.itemShelving ish - JOIN vn.saleItemShelving sis ON sis.itemShelvingFk = ish.id - JOIN vn.sale s ON s.id = sis.saleFk - SET ish.available = ish.visible - sis.quantity, - ish.visible = ish.visible - sis.quantity - WHERE s.ticketFk = vTicketFk - AND s.isPicked = FALSE; - - CALL vn.saleItemShelvingIsPicked(vTicketFk, TRUE); - - +BEGIN + + SET @rest:= CAST(0 AS DECIMAL(10,0)); + SET @saleFk := CAST(0 AS DECIMAL(10,0)); + SET @reserved := CAST(0 AS DECIMAL(10,0)); + + UPDATE vn.itemShelving ish + JOIN vn.saleItemShelving sis ON sis.itemShelvingFk = ish.id + JOIN sale s ON s.id = sis.saleFk + SET ish.visible = sis.quantity + ish.visible, + ish.available = sis.quantity + ish.visible + WHERE s.ticketFk = vTicketFk; + + DELETE sis.* + FROM saleItemShelving sis + JOIN sale s ON s.id = sis.saleFk + WHERE s.ticketFk = vTicketFk; + + INSERT INTO saleItemShelving( saleFk, + itemShelvingFk, + quantity, + ubication) + SELECT saleFk, + itemShelvingFk, + CAST(Reserved as DECIMAL(10,0)) as Reserved, + ubication + FROM + (SELECT saleFk, + itemShelvingFk, + ubication, + @rest := IF(@saleFk = saleFk, @rest, quantity) as Falta, + @reserved := IF(available < @rest, available, IF(@rest < packing,0,@rest)) as Reserved, + @rest := @rest - @reserved, + @saleFk := saleFk + FROM + ( SELECT s.id as saleFk, + ish.created, + ish.id as itemShelvingFk, + ish.available, + s.quantity, + ish.packing, + CONCAT(p.`column`, '-',p.`row`,': ', sh.code ) as ubication + FROM vn.sale s + JOIN vn.ticket t ON t.id = s.ticketFk + JOIN vn.sector sc ON sc.warehouseFk = t.warehouseFk + JOIN vn.parking p ON p.sectorFk = sc.id + JOIN vn.shelving sh ON sh.parkingFk = p.id + JOIN vn.itemShelving ish ON ish.shelvingFk = sh.code AND ish.itemFk = s.itemFk + WHERE t.id = vTicketFk + AND sc.id = vSectorFk + AND s.quantity MOD ish.packing = 0 + AND s.quantity >= ish.packing + ORDER BY s.id, + sh.priority DESC, + ish.packing DESC, + ish.created + ) sub + ) sub2 + WHERE Reserved > 0; + + UPDATE vn.itemShelving ish + JOIN vn.saleItemShelving sis ON sis.itemShelvingFk = ish.id + JOIN vn.sale s ON s.id = sis.saleFk + SET ish.available = ish.visible - sis.quantity, + ish.visible = ish.visible - sis.quantity + WHERE s.ticketFk = vTicketFk + AND s.isPicked = FALSE; + + CALL vn.saleItemShelvingIsPicked(vTicketFk, TRUE); + + END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -53730,33 +53793,33 @@ DELIMITER ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; CREATE DEFINER=`root`@`%` PROCEDURE `scanTreeCreate__`() -BEGIN - CALL nestTree( - 'vn2008', - 'scan', - 'vn2008', - 'scanTree' - ); - - UPDATE vn2008.scanTree st - JOIN ( - SELECT sl.scan_id, - MAX(sl.odbc_date) lastScanned, - COUNT(DISTINCT t.routeFk) routeCount, - MIN(t.routeFk) mod 1000 as minRoute, - MAX(t.routeFk) mod 1000 as maxRoute, - COUNT(sl.scan_line_id) as scanned - FROM vn2008.scan_line sl - JOIN expedition e ON e.id = sl.`code` - JOIN ticket t ON t.id = e.ticketFk - WHERE t.routeFk - GROUP BY sl.scan_id - ) rs ON rs.scan_id = st.id - SET st.lastScanned = rs.lastScanned, - st.routeCount = rs.routeCount, - st.minRoute = rs.minRoute, - st.maxRoute = IF(rs.minRoute != rs.maxRoute, rs.maxRoute,NULL), - st.scanned = rs.scanned; +BEGIN + CALL nestTree( + 'vn2008', + 'scan', + 'vn2008', + 'scanTree' + ); + + UPDATE vn2008.scanTree st + JOIN ( + SELECT sl.scan_id, + MAX(sl.odbc_date) lastScanned, + COUNT(DISTINCT t.routeFk) routeCount, + MIN(t.routeFk) mod 1000 as minRoute, + MAX(t.routeFk) mod 1000 as maxRoute, + COUNT(sl.scan_line_id) as scanned + FROM vn2008.scan_line sl + JOIN expedition e ON e.id = sl.`code` + JOIN ticket t ON t.id = e.ticketFk + WHERE t.routeFk + GROUP BY sl.scan_id + ) rs ON rs.scan_id = st.id + SET st.lastScanned = rs.lastScanned, + st.routeCount = rs.routeCount, + st.minRoute = rs.minRoute, + st.maxRoute = IF(rs.minRoute != rs.maxRoute, rs.maxRoute,NULL), + st.scanned = rs.scanned; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -58501,6 +58564,132 @@ DELIMITER ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; +/*!50003 DROP PROCEDURE IF EXISTS `ticket_closeAll` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8mb4 */ ; +/*!50003 SET character_set_results = utf8mb4 */ ; +/*!50003 SET collation_connection = utf8mb4_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`root`@`%` PROCEDURE `ticket_closeAll`() +BEGIN +/** + * Realiza el cierre de todos los + * tickets de la tabla tmp.ticketClosure. + * + * @param vTicketFk Id del ticket + */ + DECLARE vDone BOOL; + DECLARE vClientFk INT; + DECLARE vCurTicketFk INT; + DECLARE vIsTaxDataChecked BOOL; + DECLARE vCompanyFk INT; + DECLARE vShipped DATE; + DECLARE vNewInvoiceId INT; + DECLARE vHasDailyInvoice BOOL; + DECLARE vWithPackage BOOL; + DECLARE vHasToInvoice BOOL; + + DECLARE cur CURSOR FOR + SELECT ticketFk FROM tmp.ticketClosure; + + DECLARE CONTINUE HANDLER FOR NOT FOUND SET vDone = TRUE; + DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN + RESIGNAL; + END; + + DROP TEMPORARY TABLE IF EXISTS tmp.ticketClosure2; + CREATE TEMPORARY TABLE tmp.ticketClosure2 + SELECT ticketFk FROM tmp.ticketClosure; + + INSERT INTO tmp.ticketClosure + SELECT id FROM stowaway s + JOIN tmp.ticketClosure2 tc ON s.shipFk = tc.ticketFk; + OPEN cur; + + proc: LOOP + SET vDone = FALSE; + + FETCH cur INTO vCurTicketFk; + + IF vDone THEN + LEAVE proc; + END IF; + + -- ticketClosure start + SELECT + c.id, + c.isTaxDataChecked, + t.companyFk, + t.shipped, + co.hasDailyInvoice, + w.isManaged, + c.hasToInvoice + INTO vClientFk, + vIsTaxDataChecked, + vCompanyFk, + vShipped, + vHasDailyInvoice, + vWithPackage, + vHasToInvoice + FROM ticket t + JOIN `client` c ON c.id = t.clientFk + JOIN province p ON p.id = c.provinceFk + JOIN country co ON co.id = p.countryFk + JOIN warehouse w ON w.id = t.warehouseFk + WHERE t.id = vCurTicketFk; + + INSERT INTO ticketPackaging (ticketFk, packagingFk, quantity) + (SELECT vCurTicketFk, p.id, COUNT(*) + FROM expedition e + JOIN packaging p ON p.itemFk = e.itemFk + WHERE e.ticketFk = vCurTicketFk AND p.isPackageReturnable + AND vWithPackage + GROUP BY p.itemFk); + + -- No retornables o no catalogados + INSERT INTO sale (itemFk, ticketFk, concept, quantity, price, isPriceFixed) + (SELECT e.itemFk, vCurTicketFk, i.name, COUNT(*) AS amount, getSpecialPrice(e.itemFk, vClientFk), 1 + FROM expedition e + JOIN item i ON i.id = e.itemFk + LEFT JOIN packaging p ON p.itemFk = i.id + WHERE e.ticketFk = vCurTicketFk AND IFNULL(p.isPackageReturnable, 0) = 0 + AND getSpecialPrice(e.itemFk, vClientFk) > 0 + GROUP BY e.itemFk); + + CALL vn.zonePromo_Make(); + + IF(vHasDailyInvoice) AND vHasToInvoice THEN + + -- Facturacion rapida + CALL ticketTrackingAdd(vCurTicketFk, 'DELIVERED', NULL); + -- Facturar si está contabilizado + IF vIsTaxDataChecked THEN + CALL invoiceOut_newFromClient( + vClientFk, + (SELECT invoiceSerial(vClientFk, vCompanyFk, 'M')), + vShipped, + vCompanyFk, + NULL, + vNewInvoiceId); + END IF; + ELSE + CALL ticketTrackingAdd(vCurTicketFk, (SELECT vn.getAlert3State(vCurTicketFk)), NULL); + END IF; + END LOOP; + + CLOSE cur; + + DROP TEMPORARY TABLE IF EXISTS tmp.ticketClosure; +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; /*!50003 DROP PROCEDURE IF EXISTS `ticket_closeByTicket` */; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; @@ -59664,9 +59853,9 @@ DELIMITER ; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8 */ ; -/*!50003 SET character_set_results = utf8 */ ; -/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET character_set_client = utf8mb4 */ ; +/*!50003 SET character_set_results = utf8mb4 */ ; +/*!50003 SET collation_connection = utf8mb4_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; @@ -59681,58 +59870,55 @@ BEGIN * @return tmp.timeBusinessCalculate */ - DROP TABLE IF EXISTS tmp.timeBusinessCalculate; - DROP TEMPORARY TABLE IF EXISTS tmp.businessFullTime; - - CALL rangeDateInfo(vDatedFrom, vDatedTo); - - CREATE TABLE tmp.timeBusinessCalculate - SELECT dated, - businessFk, - userFk, - departmentFk, - hourStart, - hourEnd, - timeTable, - timeWorkSeconds, - SEC_TO_TIME(timeWorkSeconds) timeWorkSexagesimal, - timeWorkSeconds / 3600 timeWorkDecimal, - timeWorkSeconds timeBusinessSeconds, - SEC_TO_TIME(timeWorkSeconds) timeBusinessSexagesimal, - timeWorkSeconds / 3600 timeBusinessDecimal, - type, - permissionRate, - hoursWeek, - discountRate - FROM(SELECT rd.dated, - b.business_id businessFk, - w.userFk, - bl.department_id departmentFk, - IF(j.start = NULL, NULL, GROUP_CONCAT(DISTINCT LEFT(j.start,5) ORDER BY j.start ASC SEPARATOR ' - ')) hourStart , - IF(j.start = NULL, NULL, GROUP_CONCAT(DISTINCT LEFT(j.end,5) ORDER BY j.end ASC SEPARATOR ' - ')) hourEnd, - IF(j.start = NULL, NULL, GROUP_CONCAT(DISTINCT LEFT(j.start,5), " - ", LEFT(j.end,5) ORDER BY j.end ASC SEPARATOR ' - ')) timeTable, - IF(j.start = NULL, 0, IFNULL(SUM(TIME_TO_SEC(j.end)) - SUM(TIME_TO_SEC(j.start)),0)) timeWorkSeconds, - cs.type, - cs.permissionRate, - cs.discountRate, - cl.hours_week hoursWeek - FROM tmp.rangeDate rd - LEFT JOIN postgresql.business b ON rd.dated BETWEEN b.date_start AND ifnull(b.date_end, vDatedTo ) - LEFT JOIN postgresql.profile AS pr ON b.client_id = pr.profile_id - LEFT JOIN postgresql.person AS p ON pr.person_id = p.person_id - LEFT JOIN vn.worker AS w ON p.id_trabajador = w.id - JOIN tmp.`user` u ON u.userFK = w.userFK - JOIN postgresql.business_labour AS bl ON b.business_id = bl.business_id - LEFT JOIN postgresql.business_labour_payroll AS bp ON bl.business_id = bp.business_id - LEFT JOIN postgresql.professional_category AS pc ON bl.professional_category_id = pc.professional_category_id - LEFT JOIN postgresql.workcenter AS wc ON bl.workcenter_id = wc.workcenter_id - LEFT JOIN postgresql.calendar_labour_type AS cl ON bl.calendar_labour_type_id = cl.calendar_labour_type_id - LEFT JOIN postgresql.journey AS j ON j.business_id = b.business_id and j.day_id=WEEKDAY(rd.dated)+1 - LEFT JOIN postgresql.calendar_employee ce ON ce.business_id=b.business_id and ce.date = rd.dated - LEFT JOIN postgresql.calendar_state cs ON cs.calendar_state_id = ce.calendar_state_id - WHERE rd.dated BETWEEN vDatedFrom AND vDatedTo - GROUP BY w.userFk,dated - )sub; + DROP TEMPORARY TABLE IF EXISTS tmp.timeBusinessCalculate; + + CREATE TEMPORARY TABLE tmp.timeBusinessCalculate + SELECT dated, + businessFk, + userFk, + departmentFk, + hourStart, + hourEnd, + timeTable, + timeWorkSeconds, + SEC_TO_TIME(timeWorkSeconds) timeWorkSexagesimal, + timeWorkSeconds / 3600 timeWorkDecimal, + timeWorkSeconds timeBusinessSeconds, + SEC_TO_TIME(timeWorkSeconds) timeBusinessSexagesimal, + timeWorkSeconds / 3600 timeBusinessDecimal, + type, + permissionRate, + hoursWeek, + discountRate + FROM(SELECT t.dated, + b.business_id businessFk, + w.userFk, + bl.department_id departmentFk, + IF(j.start = NULL, NULL, GROUP_CONCAT(DISTINCT LEFT(j.start,5) ORDER BY j.start ASC SEPARATOR ' - ')) hourStart , + IF(j.start = NULL, NULL, GROUP_CONCAT(DISTINCT LEFT(j.end,5) ORDER BY j.end ASC SEPARATOR ' - ')) hourEnd, + IF(j.start = NULL, NULL, GROUP_CONCAT(DISTINCT LEFT(j.start,5), " - ", LEFT(j.end,5) ORDER BY j.end ASC SEPARATOR ' - ')) timeTable, + IF(j.start = NULL, 0, IFNULL(SUM(TIME_TO_SEC(j.end)) - SUM(TIME_TO_SEC(j.start)),0)) timeWorkSeconds, + cs.type, + cs.permissionRate, + cs.discountRate, + cl.hours_week hoursWeek + FROM vn.time t + LEFT JOIN postgresql.business b ON t.dated BETWEEN b.date_start AND ifnull(b.date_end, vDatedTo ) + LEFT JOIN postgresql.profile AS pr ON b.client_id = pr.profile_id + LEFT JOIN postgresql.person AS p ON pr.person_id = p.person_id + LEFT JOIN vn.worker AS w ON p.id_trabajador = w.id + JOIN tmp.`user` u ON u.userFK = w.userFK + JOIN postgresql.business_labour AS bl ON b.business_id = bl.business_id + LEFT JOIN postgresql.business_labour_payroll AS bp ON bl.business_id = bp.business_id + LEFT JOIN postgresql.professional_category AS pc ON bl.professional_category_id = pc.professional_category_id + LEFT JOIN postgresql.workcenter AS wc ON bl.workcenter_id = wc.workcenter_id + LEFT JOIN postgresql.calendar_labour_type AS cl ON bl.calendar_labour_type_id = cl.calendar_labour_type_id + LEFT JOIN postgresql.journey AS j ON j.business_id = b.business_id and j.day_id=WEEKDAY(t.dated)+1 + LEFT JOIN postgresql.calendar_employee ce ON ce.business_id=b.business_id and ce.date = t.dated + LEFT JOIN postgresql.calendar_state cs ON cs.calendar_state_id = ce.calendar_state_id + WHERE t.dated BETWEEN vDatedFrom AND vDatedTo + GROUP BY w.userFk,dated + )sub; UPDATE tmp.timeBusinessCalculate t @@ -59751,7 +59937,7 @@ BEGIN t.timeWorkDecimal = t.timeWorkDecimal - (t.timeWorkDecimal * permissionRate) WHERE permissionRate <> 0; -UPDATE tmp.timeBusinessCalculate t + UPDATE tmp.timeBusinessCalculate t JOIN vn.calendarHolidays ch ON ch.dated = t.dated JOIN postgresql.business_labour bl ON bl.business_id = t.businessFk AND bl.workcenter_id = ch.workcenterFk SET t.timeWorkSeconds = 0, @@ -59761,7 +59947,6 @@ UPDATE tmp.timeBusinessCalculate t t.type = 'Festivo' WHERE t.type IS NULL; -DROP TEMPORARY TABLE IF EXISTS tmp.rangeDate; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -59915,6 +60100,114 @@ BEGIN DROP TEMPORARY TABLE tmp.`user`; +END ;; +DELIMITER ; +/*!50003 SET sql_mode = @saved_sql_mode */ ; +/*!50003 SET character_set_client = @saved_cs_client */ ; +/*!50003 SET character_set_results = @saved_cs_results */ ; +/*!50003 SET collation_connection = @saved_col_connection */ ; +/*!50003 DROP PROCEDURE IF EXISTS `timeBusiness_calculate__` */; +/*!50003 SET @saved_cs_client = @@character_set_client */ ; +/*!50003 SET @saved_cs_results = @@character_set_results */ ; +/*!50003 SET @saved_col_connection = @@collation_connection */ ; +/*!50003 SET character_set_client = utf8mb4 */ ; +/*!50003 SET character_set_results = utf8mb4 */ ; +/*!50003 SET collation_connection = utf8mb4_general_ci */ ; +/*!50003 SET @saved_sql_mode = @@sql_mode */ ; +/*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; +DELIMITER ;; +CREATE DEFINER=`root`@`%` PROCEDURE `timeBusiness_calculate__`(vDatedFrom DATETIME, vDatedTo DATETIME) +BEGIN + +/** + * Horas que debe trabajar un empleado según contrato y día. + * @param vDatedFrom workerTimeControl + * @param vDatedTo workerTimeControl + * @table tmp.user(userFk) + * @return tmp.timeBusinessCalculate + */ + + DROP TABLE IF EXISTS tmp.timeBusinessCalculate; + DROP TEMPORARY TABLE IF EXISTS tmp.businessFullTime; + + CALL rangeDateInfo(vDatedFrom, vDatedTo); + + CREATE TABLE tmp.timeBusinessCalculate + SELECT dated, + businessFk, + userFk, + departmentFk, + hourStart, + hourEnd, + timeTable, + timeWorkSeconds, + SEC_TO_TIME(timeWorkSeconds) timeWorkSexagesimal, + timeWorkSeconds / 3600 timeWorkDecimal, + timeWorkSeconds timeBusinessSeconds, + SEC_TO_TIME(timeWorkSeconds) timeBusinessSexagesimal, + timeWorkSeconds / 3600 timeBusinessDecimal, + type, + permissionRate, + hoursWeek, + discountRate + FROM(SELECT rd.dated, + b.business_id businessFk, + w.userFk, + bl.department_id departmentFk, + IF(j.start = NULL, NULL, GROUP_CONCAT(DISTINCT LEFT(j.start,5) ORDER BY j.start ASC SEPARATOR ' - ')) hourStart , + IF(j.start = NULL, NULL, GROUP_CONCAT(DISTINCT LEFT(j.end,5) ORDER BY j.end ASC SEPARATOR ' - ')) hourEnd, + IF(j.start = NULL, NULL, GROUP_CONCAT(DISTINCT LEFT(j.start,5), " - ", LEFT(j.end,5) ORDER BY j.end ASC SEPARATOR ' - ')) timeTable, + IF(j.start = NULL, 0, IFNULL(SUM(TIME_TO_SEC(j.end)) - SUM(TIME_TO_SEC(j.start)),0)) timeWorkSeconds, + cs.type, + cs.permissionRate, + cs.discountRate, + cl.hours_week hoursWeek + FROM tmp.rangeDate rd + LEFT JOIN postgresql.business b ON rd.dated BETWEEN b.date_start AND ifnull(b.date_end, vDatedTo ) + LEFT JOIN postgresql.profile AS pr ON b.client_id = pr.profile_id + LEFT JOIN postgresql.person AS p ON pr.person_id = p.person_id + LEFT JOIN vn.worker AS w ON p.id_trabajador = w.id + JOIN tmp.`user` u ON u.userFK = w.userFK + JOIN postgresql.business_labour AS bl ON b.business_id = bl.business_id + LEFT JOIN postgresql.business_labour_payroll AS bp ON bl.business_id = bp.business_id + LEFT JOIN postgresql.professional_category AS pc ON bl.professional_category_id = pc.professional_category_id + LEFT JOIN postgresql.workcenter AS wc ON bl.workcenter_id = wc.workcenter_id + LEFT JOIN postgresql.calendar_labour_type AS cl ON bl.calendar_labour_type_id = cl.calendar_labour_type_id + LEFT JOIN postgresql.journey AS j ON j.business_id = b.business_id and j.day_id=WEEKDAY(rd.dated)+1 + LEFT JOIN postgresql.calendar_employee ce ON ce.business_id=b.business_id and ce.date = rd.dated + LEFT JOIN postgresql.calendar_state cs ON cs.calendar_state_id = ce.calendar_state_id + WHERE rd.dated BETWEEN vDatedFrom AND vDatedTo + GROUP BY w.userFk,dated + )sub; + + + UPDATE tmp.timeBusinessCalculate t + LEFT JOIN postgresql.journey j ON j.business_id = t.businessFk + SET t.timeWorkSeconds = t.hoursWeek / 5 * 3600, + t.timeWorkSexagesimal = SEC_TO_TIME( t.hoursWeek / 5 * 3600), + t.timeWorkDecimal = t.hoursWeek / 5, + t.timeBusinessSeconds = t.hoursWeek / 5 * 3600, + t.timeBusinessSexagesimal = SEC_TO_TIME( t.hoursWeek / 5 * 3600), + t.timeBusinessDecimal = t.hoursWeek / 5 + WHERE DAYOFWEEK(t.dated) IN(2,3,4,5,6) AND j.journey_id IS NULL ; + + UPDATE tmp.timeBusinessCalculate t + SET t.timeWorkSeconds = t.timeWorkSeconds - (t.timeWorkSeconds * permissionRate) , + t.timeWorkSexagesimal = SEC_TO_TIME ((t.timeWorkDecimal - (t.timeWorkDecimal * permissionRate)) * 3600), + t.timeWorkDecimal = t.timeWorkDecimal - (t.timeWorkDecimal * permissionRate) + WHERE permissionRate <> 0; + +UPDATE tmp.timeBusinessCalculate t + JOIN vn.calendarHolidays ch ON ch.dated = t.dated + JOIN postgresql.business_labour bl ON bl.business_id = t.businessFk AND bl.workcenter_id = ch.workcenterFk + SET t.timeWorkSeconds = 0, + t.timeWorkSexagesimal = 0, + t.timeWorkDecimal = 0, + t.permissionrate = 1, + t.type = 'Festivo' + WHERE t.type IS NULL; + +DROP TEMPORARY TABLE IF EXISTS tmp.rangeDate; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -59962,8 +60255,7 @@ BEGIN FROM (SELECT wtc.* FROM workerTimeControl wtc JOIN tmp.`user` w ON w.userFk = wtc.userFk - WHERE wtc.timed BETWEEN vDatedFrom AND vDatedTo AND - isSendMail = FALSE + WHERE wtc.timed BETWEEN vDatedFrom AND vDatedTo ORDER BY userFk, timed ASC ) wtc WHERE wtc.timed BETWEEN vDatedFrom AND vDatedTo @@ -60543,22 +60835,22 @@ DELIMITER ; /*!50003 SET character_set_client = @saved_cs_client */ ; /*!50003 SET character_set_results = @saved_cs_results */ ; /*!50003 SET collation_connection = @saved_col_connection */ ; -/*!50003 DROP PROCEDURE IF EXISTS `weight_Put` */; +/*!50003 DROP PROCEDURE IF EXISTS `weight_Put__` */; /*!50003 SET @saved_cs_client = @@character_set_client */ ; /*!50003 SET @saved_cs_results = @@character_set_results */ ; /*!50003 SET @saved_col_connection = @@collation_connection */ ; -/*!50003 SET character_set_client = utf8 */ ; -/*!50003 SET character_set_results = utf8 */ ; -/*!50003 SET collation_connection = utf8_general_ci */ ; +/*!50003 SET character_set_client = utf8mb4 */ ; +/*!50003 SET character_set_results = utf8mb4 */ ; +/*!50003 SET collation_connection = utf8mb4_general_ci */ ; /*!50003 SET @saved_sql_mode = @@sql_mode */ ; /*!50003 SET sql_mode = 'NO_ENGINE_SUBSTITUTION' */ ; DELIMITER ;; -CREATE DEFINER=`root`@`%` PROCEDURE `weight_Put`() +CREATE DEFINER=`root`@`%` PROCEDURE `weight_Put__`() BEGIN SET @isModeInventory := TRUE; - CALL cache.last_buy_refresh(TRUE); + CALL cache.last_buy_refresh(FALSE); -- jgf 2020/09/14 cuelga la BBDD al actualizar varios DROP TEMPORARY TABLE IF EXISTS tmp.peso; @@ -62239,31 +62531,10 @@ BEGIN IFNULL(vWorkerFk,u.id) = u.id ORDER BY u.id, tb.dated; DECLARE CONTINUE HANDLER FOR NOT FOUND SET vDone = TRUE; - SELECT CONCAT( IFNULL(nif, ""), " - ", firstName, " ", name ) INTO vWorkerInfo - FROM postgresql.person - WHERE id_trabajador = vWorkerFk; - SET vHeader = CONCAT("


-
-

", vWorkerInfo , "

- - - - - - - - - - - - "); - - DROP TEMPORARY TABLE IF EXISTS tmp.timeControlCalculate; + + DROP TABLE IF EXISTS tmp.timeControlCalculate; + DROP TABLE IF EXISTS tmp.timeBusinessCalculate; + DROP TEMPORARY TABLE IF EXISTS tmp.timeControlCalculate; DROP TEMPORARY TABLE IF EXISTS tmp.timeBusinessCalculate; SELECT CONCAT (MIN(dated), " 00:00:00"), CONCAT (MAX(dated), " 23:59:59") INTO vStarted, vEnded @@ -62287,13 +62558,14 @@ BEGIN ELSE CALL timeControl_calculateByUser(vWorkerFk,vStarted,vEnded); CALL timeBusiness_calculateByUser(vWorkerFk,vStarted,vEnded); - END IF; + END IF; SET vTimeWorkDecimalTotal = 0; SET vBody= ""; - OPEN vCursor; FETCH vCursor INTO vSender, vWorkerFk, vDated, vTimeWorkDecimal, vTimeWorkSexagesimal, vTimeTable, vTimeWorkedDecimal, vTimeWorkedSexagesimal, vAbsenceType, vBusinessFk ; + SET vWorkerFkOld = vWorkerFk ; + SET vSenderOld = vSender; proc: LOOP IF vDone THEN LEAVE proc; @@ -62361,10 +62633,9 @@ BEGIN ORDER BY timed DESC LIMIT 1)sub on sub.id= wtc.id SET direction = "out" ; - - + END IF; - + SELECT CONCAT(IFNULL(vBody,""), "
- Según la información recogida en el sistema adjuntamos la tabla con los registros de las horas trabajadas en el período indicado. - Si está conforme tiene que contestar indicando únicamente la palabra OK, en caso contrario puede contestar detallando la causa de la disconformidad. - Rogamos nos conteste lo antes posible. -

-
FechaDíaFichadasDescripciónHoras
", DATE_FORMAT(vDated, "%d/%m/%Y"), " ", CASE WEEKDAY(vDated)+1 @@ -62387,7 +62658,31 @@ BEGIN SET vDone = FALSE; FETCH vCursor INTO vSender, vWorkerFk, vDated, vTimeWorkDecimal, vTimeWorkSexagesimal, vTimeTable, vTimeWorkedDecimal, vTimeWorkedSexagesimal, vAbsenceType, vBusinessFk ; - IF vWorkerFk <> vWorkerFkOld OR vDone THEN + IF vWorkerFk <> vWorkerFkOld OR vDone THEN + SELECT CONCAT( IFNULL(nif, ""), " - ", firstName, " ", name ) INTO vWorkerInfo + FROM postgresql.person + WHERE id_trabajador = vWorkerFkOld; + SET vHeader = CONCAT("


+
+

", vWorkerInfo , "

+ + + + + + + + + + + + "); + SET vFooter = CONCAT(" @@ -62399,21 +62694,17 @@ BEGIN VALUES (vSenderOld, "timecontrol@verdnatura.es", CONCAT("Registro de horas semana ", vWeek, " año ", vYear) , CONCAT(vHeader," " , vBody," ", vFooter)); INSERT IGNORE INTO workerTimeControlMail (workerFk, year,week) - VALUES(vWorkerFk, vYear, vWeek); - + VALUES(vWorkerFkOld, vYear, vWeek); SET vBody = ""; SET vTimeWorkDecimalTotal = 0; - + SET vWorkerFkOld = vWorkerFk ; + SET vSenderOld = vSender; END IF; - - SET vWorkerFkOld = vWorkerFk ; - SET vSenderOld = vSender; - END LOOP; CLOSE vCursor; - DROP TEMPORARY TABLE tmp.timeBusinessCalculate; - DROP TEMPORARY TABLE tmp.timeControlCalculate; + DROP TABLE IF EXISTS tmp.timeControlCalculate; + DROP TABLE IF EXISTS tmp.timeBusinessCalculate; END ;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -66428,6 +66719,24 @@ USE `vn`; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; +-- +-- Final view structure for view `expeditionCommon` +-- + +/*!50001 DROP VIEW IF EXISTS `expeditionCommon`*/; +/*!50001 SET @saved_cs_client = @@character_set_client */; +/*!50001 SET @saved_cs_results = @@character_set_results */; +/*!50001 SET @saved_col_connection = @@collation_connection */; +/*!50001 SET character_set_client = utf8mb4 */; +/*!50001 SET character_set_results = utf8mb4 */; +/*!50001 SET collation_connection = utf8mb4_general_ci */; +/*!50001 CREATE ALGORITHM=UNDEFINED */ +/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ +/*!50001 VIEW `expeditionCommon` AS select `et`.`id` AS `truckFk`,`et`.`ETD` AS `etd`,ifnull(ucase(`et`.`description`),'SIN ESCANEAR') AS `description`,`es`.`palletFk` AS `palletFk`,`t`.`routeFk` AS `routeFk`,`es`.`id` AS `scanFk`,`e`.`id` AS `expeditionFk`,`r`.`expeditionTruckFk` AS `expeditionTruckFk`,`t`.`warehouseFk` AS `warehouseFk` from (((((`vn`.`ticket` `t` left join `vn`.`expedition` `e` on((`t`.`id` = `e`.`ticketFk`))) left join `vn`.`expeditionScan` `es` on((`e`.`id` = `es`.`expeditionFk`))) left join `vn`.`expeditionPallet` `ep` on((`es`.`palletFk` = `ep`.`id`))) left join `vn`.`expeditionTruck` `et` on((`ep`.`truckFk` = `et`.`id`))) left join `vn`.`routesMonitor` `r` on((`r`.`routeFk` = `t`.`routeFk`))) where ((`t`.`shipped` >= curdate()) and (`t`.`routeFk` <> 0)) */; +/*!50001 SET character_set_client = @saved_cs_client */; +/*!50001 SET character_set_results = @saved_cs_results */; +/*!50001 SET collation_connection = @saved_col_connection */; + -- -- Final view structure for view `expeditionPallet_Print` -- @@ -66490,12 +66799,12 @@ USE `vn`; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; -/*!50001 SET character_set_client = utf8 */; -/*!50001 SET character_set_results = utf8 */; -/*!50001 SET collation_connection = utf8_general_ci */; +/*!50001 SET character_set_client = utf8mb4 */; +/*!50001 SET character_set_results = utf8mb4 */; +/*!50001 SET collation_connection = utf8mb4_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ -/*!50001 VIEW `expeditionTruck_Control` AS select `et`.`id` AS `id`,`et`.`ETD` AS `ETD`,ifnull(ucase(`et`.`description`),'SIN ESCANEAR') AS `description`,count(distinct `ep`.`id`) AS `pallets`,count(distinct `t`.`routeFk`) AS `routes`,count(distinct `es`.`id`) AS `scans`,count(distinct `e`.`id`) AS `expeditions`,sum((`et`.`id` <> `rm`.`expeditionTruckFk`)) AS `fallos` from (((((`vn`.`ticket` `t` left join `vn`.`expedition` `e` on((`t`.`id` = `e`.`ticketFk`))) left join `vn`.`expeditionScan` `es` on((`e`.`id` = `es`.`expeditionFk`))) left join `vn`.`expeditionPallet` `ep` on((`es`.`palletFk` = `ep`.`id`))) left join `vn`.`expeditionTruck` `et` on((`ep`.`truckFk` = `et`.`id`))) left join `vn2008`.`Rutas_monitor` `rm` on((`rm`.`Id_Ruta` = `t`.`routeFk`))) where ((`t`.`shipped` >= curdate()) and `t`.`routeFk`) group by `et`.`id` order by `fallos` desc,`et`.`ETD` */; +/*!50001 VIEW `expeditionTruck_Control` AS select `e`.`truckFk` AS `id`,`e`.`etd` AS `ETD`,`e`.`description` AS `description`,count(distinct `e`.`palletFk`) AS `pallets`,count(distinct `e`.`routeFk`) AS `routes`,count(distinct `e`.`scanFk`) AS `scans`,count(distinct `e`.`expeditionFk`) AS `expeditions`,sum((`e`.`truckFk` <> `e`.`expeditionTruckFk`)) AS `fallos` from `vn`.`expeditionCommon` `e` group by `e`.`truckFk` order by `fallos` desc,`e`.`etd` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; @@ -66508,12 +66817,12 @@ USE `vn`; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; -/*!50001 SET character_set_client = utf8 */; -/*!50001 SET character_set_results = utf8 */; -/*!50001 SET collation_connection = utf8_general_ci */; +/*!50001 SET character_set_client = utf8mb4 */; +/*!50001 SET character_set_results = utf8mb4 */; +/*!50001 SET collation_connection = utf8mb4_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ -/*!50001 VIEW `expeditionTruck_Control_Detail` AS select `et`.`id` AS `id`,`et`.`ETD` AS `ETD`,ifnull(ucase(`et`.`description`),'SIN ESCANEAR') AS `destino`,`ep`.`id` AS `pallet`,count(distinct `t`.`routeFk`) AS `routes`,count(distinct `es`.`id`) AS `scans`,count(distinct `rm`.`expeditionTruckFk`) AS `destinos`,sum((`et`.`id` <> `rm`.`expeditionTruckFk`)) AS `fallos` from (((((`vn`.`ticket` `t` left join `vn`.`expedition` `e` on((`t`.`id` = `e`.`ticketFk`))) left join `vn`.`expeditionScan` `es` on((`e`.`id` = `es`.`expeditionFk`))) left join `vn`.`expeditionPallet` `ep` on((`es`.`palletFk` = `ep`.`id`))) left join `vn`.`expeditionTruck` `et` on((`ep`.`truckFk` = `et`.`id`))) left join `vn2008`.`Rutas_monitor` `rm` on((`rm`.`Id_Ruta` = `t`.`routeFk`))) where ((`t`.`shipped` >= curdate()) and `t`.`routeFk`) group by `et`.`id`,`ep`.`id` order by `fallos` desc,`et`.`ETD`,`et`.`id` */; +/*!50001 VIEW `expeditionTruck_Control_Detail` AS select `e`.`truckFk` AS `id`,`e`.`etd` AS `ETD`,`e`.`description` AS `destino`,`e`.`palletFk` AS `pallet`,count(distinct `e`.`routeFk`) AS `routes`,count(distinct `e`.`scanFk`) AS `scans`,count(distinct `e`.`expeditionTruckFk`) AS `destinos`,sum((`e`.`truckFk` <> `e`.`expeditionTruckFk`)) AS `fallos` from `vn`.`expeditionCommon` `e` group by `e`.`truckFk`,`e`.`palletFk` order by `fallos` desc,`e`.`etd`,`e`.`truckFk` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; @@ -66526,12 +66835,66 @@ USE `vn`; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; -/*!50001 SET character_set_client = utf8 */; -/*!50001 SET character_set_results = utf8 */; -/*!50001 SET collation_connection = utf8_general_ci */; +/*!50001 SET character_set_client = utf8mb4 */; +/*!50001 SET character_set_results = utf8mb4 */; +/*!50001 SET collation_connection = utf8mb4_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ -/*!50001 VIEW `expeditionTruck_Control_Detail_Pallet` AS select `et`.`id` AS `id`,`et`.`ETD` AS `ETD`,ifnull(ucase(`et`.`description`),'SIN ESCANEAR') AS `destino`,`ep`.`id` AS `pallet`,`t`.`routeFk` AS `route`,count(distinct `es`.`id`) AS `scans`,`et2`.`description` AS `destinos`,sum((`et`.`id` <> `rm`.`expeditionTruckFk`)) AS `fallos`,`rm`.`expeditionTruckFk` AS `expeditionTruckFk` from ((((((`vn`.`ticket` `t` left join `vn`.`expedition` `e` on((`t`.`id` = `e`.`ticketFk`))) left join `vn`.`expeditionScan` `es` on((`e`.`id` = `es`.`expeditionFk`))) left join `vn`.`expeditionPallet` `ep` on((`es`.`palletFk` = `ep`.`id`))) left join `vn`.`expeditionTruck` `et` on((`ep`.`truckFk` = `et`.`id`))) left join `vn2008`.`Rutas_monitor` `rm` on((`rm`.`Id_Ruta` = `t`.`routeFk`))) left join `vn`.`expeditionTruck` `et2` on((`et2`.`id` = `rm`.`expeditionTruckFk`))) where ((`t`.`shipped` >= curdate()) and `t`.`routeFk`) group by `et`.`id`,`ep`.`id`,`t`.`routeFk` order by `fallos` desc,`ep`.`id` */; +/*!50001 VIEW `expeditionTruck_Control_Detail_Pallet` AS select `e`.`truckFk` AS `id`,`e`.`etd` AS `ETD`,`e`.`description` AS `destino`,`e`.`palletFk` AS `pallet`,`e`.`routeFk` AS `route`,count(distinct `e`.`scanFk`) AS `scans`,`et`.`description` AS `destinos`,sum((`e`.`truckFk` <> `e`.`expeditionTruckFk`)) AS `fallos`,`e`.`expeditionTruckFk` AS `expeditionTruckFk` from (`vn`.`expeditionCommon` `e` left join `vn`.`expeditionTruck` `et` on((`et`.`id` = `e`.`expeditionTruckFk`))) group by `e`.`truckFk`,`e`.`palletFk`,`e`.`routeFk` order by `fallos` desc,`e`.`palletFk` */; +/*!50001 SET character_set_client = @saved_cs_client */; +/*!50001 SET character_set_results = @saved_cs_results */; +/*!50001 SET collation_connection = @saved_col_connection */; + +-- +-- Final view structure for view `expeditionTruck_Control_Detail_Pallet__` +-- + +/*!50001 DROP VIEW IF EXISTS `expeditionTruck_Control_Detail_Pallet__`*/; +/*!50001 SET @saved_cs_client = @@character_set_client */; +/*!50001 SET @saved_cs_results = @@character_set_results */; +/*!50001 SET @saved_col_connection = @@collation_connection */; +/*!50001 SET character_set_client = utf8mb4 */; +/*!50001 SET character_set_results = utf8mb4 */; +/*!50001 SET collation_connection = utf8mb4_general_ci */; +/*!50001 CREATE ALGORITHM=UNDEFINED */ +/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ +/*!50001 VIEW `expeditionTruck_Control_Detail_Pallet__` AS select `et`.`id` AS `id`,`et`.`ETD` AS `ETD`,ifnull(ucase(`et`.`description`),'SIN ESCANEAR') AS `destino`,`ep`.`id` AS `pallet`,`t`.`routeFk` AS `route`,count(distinct `es`.`id`) AS `scans`,`et2`.`description` AS `destinos`,sum((`et`.`id` <> `rm`.`expeditionTruckFk`)) AS `fallos`,`rm`.`expeditionTruckFk` AS `expeditionTruckFk` from ((((((`vn`.`ticket` `t` left join `vn`.`expedition` `e` on((`t`.`id` = `e`.`ticketFk`))) left join `vn`.`expeditionScan` `es` on((`e`.`id` = `es`.`expeditionFk`))) left join `vn`.`expeditionPallet` `ep` on((`es`.`palletFk` = `ep`.`id`))) left join `vn`.`expeditionTruck` `et` on((`ep`.`truckFk` = `et`.`id`))) left join `vn2008`.`Rutas_monitor` `rm` on((`rm`.`Id_Ruta` = `t`.`routeFk`))) left join `vn`.`expeditionTruck` `et2` on((`et2`.`id` = `rm`.`expeditionTruckFk`))) where ((`t`.`shipped` >= curdate()) and `t`.`routeFk`) group by `et`.`id`,`ep`.`id`,`t`.`routeFk` order by `fallos` desc,`ep`.`id` */; +/*!50001 SET character_set_client = @saved_cs_client */; +/*!50001 SET character_set_results = @saved_cs_results */; +/*!50001 SET collation_connection = @saved_col_connection */; + +-- +-- Final view structure for view `expeditionTruck_Control_Detail__` +-- + +/*!50001 DROP VIEW IF EXISTS `expeditionTruck_Control_Detail__`*/; +/*!50001 SET @saved_cs_client = @@character_set_client */; +/*!50001 SET @saved_cs_results = @@character_set_results */; +/*!50001 SET @saved_col_connection = @@collation_connection */; +/*!50001 SET character_set_client = utf8mb4 */; +/*!50001 SET character_set_results = utf8mb4 */; +/*!50001 SET collation_connection = utf8mb4_general_ci */; +/*!50001 CREATE ALGORITHM=UNDEFINED */ +/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ +/*!50001 VIEW `expeditionTruck_Control_Detail__` AS select `et`.`id` AS `id`,`et`.`ETD` AS `ETD`,ifnull(ucase(`et`.`description`),'SIN ESCANEAR') AS `destino`,`ep`.`id` AS `pallet`,count(distinct `t`.`routeFk`) AS `routes`,count(distinct `es`.`id`) AS `scans`,count(distinct `rm`.`expeditionTruckFk`) AS `destinos`,sum((`et`.`id` <> `rm`.`expeditionTruckFk`)) AS `fallos` from (((((`vn`.`ticket` `t` left join `vn`.`expedition` `e` on((`t`.`id` = `e`.`ticketFk`))) left join `vn`.`expeditionScan` `es` on((`e`.`id` = `es`.`expeditionFk`))) left join `vn`.`expeditionPallet` `ep` on((`es`.`palletFk` = `ep`.`id`))) left join `vn`.`expeditionTruck` `et` on((`ep`.`truckFk` = `et`.`id`))) left join `vn2008`.`Rutas_monitor` `rm` on((`rm`.`Id_Ruta` = `t`.`routeFk`))) where ((`t`.`shipped` >= curdate()) and `t`.`routeFk`) group by `et`.`id`,`ep`.`id` order by `fallos` desc,`et`.`ETD`,`et`.`id` */; +/*!50001 SET character_set_client = @saved_cs_client */; +/*!50001 SET character_set_results = @saved_cs_results */; +/*!50001 SET collation_connection = @saved_col_connection */; + +-- +-- Final view structure for view `expeditionTruck_Control__` +-- + +/*!50001 DROP VIEW IF EXISTS `expeditionTruck_Control__`*/; +/*!50001 SET @saved_cs_client = @@character_set_client */; +/*!50001 SET @saved_cs_results = @@character_set_results */; +/*!50001 SET @saved_col_connection = @@collation_connection */; +/*!50001 SET character_set_client = utf8mb4 */; +/*!50001 SET character_set_results = utf8mb4 */; +/*!50001 SET collation_connection = utf8mb4_general_ci */; +/*!50001 CREATE ALGORITHM=UNDEFINED */ +/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ +/*!50001 VIEW `expeditionTruck_Control__` AS select `et`.`id` AS `id`,`et`.`ETD` AS `ETD`,ifnull(ucase(`et`.`description`),'SIN ESCANEAR') AS `description`,count(distinct `ep`.`id`) AS `pallets`,count(distinct `t`.`routeFk`) AS `routes`,count(distinct `es`.`id`) AS `scans`,count(distinct `e`.`id`) AS `expeditions`,sum((`et`.`id` <> `rm`.`expeditionTruckFk`)) AS `fallos` from (((((`vn`.`ticket` `t` left join `vn`.`expedition` `e` on((`t`.`id` = `e`.`ticketFk`))) left join `vn`.`expeditionScan` `es` on((`e`.`id` = `es`.`expeditionFk`))) left join `vn`.`expeditionPallet` `ep` on((`es`.`palletFk` = `ep`.`id`))) left join `vn`.`expeditionTruck` `et` on((`ep`.`truckFk` = `et`.`id`))) left join `vn2008`.`Rutas_monitor` `rm` on((`rm`.`Id_Ruta` = `t`.`routeFk`))) where ((`t`.`shipped` >= curdate()) and `t`.`routeFk`) group by `et`.`id` order by `fallos` desc,`et`.`ETD` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; @@ -67220,6 +67583,24 @@ USE `vn`; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; +-- +-- Final view structure for view `routesMonitor` +-- + +/*!50001 DROP VIEW IF EXISTS `routesMonitor`*/; +/*!50001 SET @saved_cs_client = @@character_set_client */; +/*!50001 SET @saved_cs_results = @@character_set_results */; +/*!50001 SET @saved_col_connection = @@collation_connection */; +/*!50001 SET character_set_client = utf8mb4 */; +/*!50001 SET character_set_results = utf8mb4 */; +/*!50001 SET collation_connection = utf8mb4_general_ci */; +/*!50001 CREATE ALGORITHM=UNDEFINED */ +/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ +/*!50001 VIEW `routesMonitor` AS select `vn2008`.`Rutas_monitor`.`Id_Ruta` AS `routeFk`,`vn2008`.`Rutas_monitor`.`name` AS `name`,`vn2008`.`Rutas_monitor`.`Ubicacion` AS `beachFk`,`vn2008`.`Rutas_monitor`.`pedidosEncajados` AS `ticketPacked`,`vn2008`.`Rutas_monitor`.`pedidosLibres` AS `ticketFree`,`vn2008`.`Rutas_monitor`.`pedidosProduccion` AS `ticketProduction`,`vn2008`.`Rutas_monitor`.`bultos` AS `packages`,`vn2008`.`Rutas_monitor`.`notas` AS `note`,`vn2008`.`Rutas_monitor`.`fecha` AS `dated`,`vn2008`.`Rutas_monitor`.`dockFk` AS `dockFk`,`vn2008`.`Rutas_monitor`.`m3` AS `m3`,`vn2008`.`Rutas_monitor`.`priority` AS `priority`,`vn2008`.`Rutas_monitor`.`etd` AS `etd`,`vn2008`.`Rutas_monitor`.`expeditionTruckFk` AS `expeditionTruckFk` from `vn2008`.`Rutas_monitor` */; +/*!50001 SET character_set_client = @saved_cs_client */; +/*!50001 SET character_set_results = @saved_cs_results */; +/*!50001 SET collation_connection = @saved_col_connection */; + -- -- Final view structure for view `saleFreight__` -- @@ -67269,7 +67650,25 @@ USE `vn`; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ -/*!50001 VIEW `saleVolume` AS select `s`.`ticketFk` AS `ticketFk`,`s`.`id` AS `saleFk`,round(((`ic`.`cm3delivery` * `s`.`quantity`) / 1000),0) AS `litros`,`t`.`routeFk` AS `routeFk`,`t`.`shipped` AS `shipped`,((`s`.`quantity` * `ic`.`cm3delivery`) / 1000000) AS `volume`,((`s`.`quantity` * `ic`.`grams`) / 1000) AS `physicalWeight`,(((`s`.`quantity` * `ic`.`cm3delivery`) * greatest(`i`.`density`,167)) / 1000000) AS `weight`,((`s`.`quantity` * `ic`.`cm3delivery`) / 1000000) AS `physicalVolume`,(((`s`.`quantity` * `ic`.`cm3delivery`) * ifnull(`t`.`zonePrice`,`z`.`price`)) / `cb`.`volume`) AS `freight`,`t`.`zoneFk` AS `zoneFk`,`t`.`clientFk` AS `clientFk`,`s`.`isPicked` AS `isPicked` from (((((`sale` `s` join `item` `i` on((`i`.`id` = `s`.`itemFk`))) join `ticket` `t` on((`t`.`id` = `s`.`ticketFk`))) join `zone` `z` on((`z`.`id` = `t`.`zoneFk`))) join `packaging` `cb` on((`cb`.`id` = '94'))) join `itemCost` `ic` on(((`ic`.`itemFk` = `s`.`itemFk`) and (`ic`.`warehouseFk` = `t`.`warehouseFk`)))) */; +/*!50001 VIEW `saleVolume` AS select `s`.`ticketFk` AS `ticketFk`,`s`.`id` AS `saleFk`,round(((`ic`.`cm3delivery` * `s`.`quantity`) / 1000),0) AS `litros`,`t`.`routeFk` AS `routeFk`,`t`.`shipped` AS `shipped`,`t`.`landed` AS `landed`,((`s`.`quantity` * `ic`.`cm3delivery`) / 1000000) AS `volume`,((`s`.`quantity` * `ic`.`grams`) / 1000) AS `physicalWeight`,(((`s`.`quantity` * `ic`.`cm3delivery`) * greatest(`i`.`density`,167)) / 1000000) AS `weight`,((`s`.`quantity` * `ic`.`cm3delivery`) / 1000000) AS `physicalVolume`,(((`s`.`quantity` * `ic`.`cm3delivery`) * ifnull(`t`.`zonePrice`,`z`.`price`)) / `cb`.`volume`) AS `freight`,`t`.`zoneFk` AS `zoneFk`,`t`.`clientFk` AS `clientFk`,`s`.`isPicked` AS `isPicked` from (((((`sale` `s` join `item` `i` on((`i`.`id` = `s`.`itemFk`))) join `ticket` `t` on((`t`.`id` = `s`.`ticketFk`))) join `zone` `z` on((`z`.`id` = `t`.`zoneFk`))) join `packaging` `cb` on((`cb`.`id` = '94'))) join `itemCost` `ic` on(((`ic`.`itemFk` = `s`.`itemFk`) and (`ic`.`warehouseFk` = `t`.`warehouseFk`)))) */; +/*!50001 SET character_set_client = @saved_cs_client */; +/*!50001 SET character_set_results = @saved_cs_results */; +/*!50001 SET collation_connection = @saved_col_connection */; + +-- +-- Final view structure for view `saleVolume_Today_VNH` +-- + +/*!50001 DROP VIEW IF EXISTS `saleVolume_Today_VNH`*/; +/*!50001 SET @saved_cs_client = @@character_set_client */; +/*!50001 SET @saved_cs_results = @@character_set_results */; +/*!50001 SET @saved_col_connection = @@collation_connection */; +/*!50001 SET character_set_client = utf8 */; +/*!50001 SET character_set_results = utf8 */; +/*!50001 SET collation_connection = utf8_general_ci */; +/*!50001 CREATE ALGORITHM=UNDEFINED */ +/*!50013 DEFINER=`z-developer`@`%` SQL SECURITY DEFINER */ +/*!50001 VIEW `saleVolume_Today_VNH` AS select `t`.`nickname` AS `Cliente`,`p`.`name` AS `Provincia`,`c`.`country` AS `Pais`,cast(sum(`sv`.`volume`) as decimal(5,1)) AS `volume` from (((((`saleVolume` `sv` join `ticket` `t` on((`t`.`id` = `sv`.`ticketFk`))) join `address` `a` on((`a`.`id` = `t`.`addressFk`))) join `province` `p` on((`p`.`id` = `a`.`provinceFk`))) join `country` `c` on((`c`.`id` = `p`.`countryFk`))) join `warehouse` `w` on((`w`.`id` = `t`.`warehouseFk`))) where ((`w`.`name` = 'VNH') and (`t`.`shipped` between curdate() and `util`.`dayend`(curdate()))) group by `t`.`nickname`,`p`.`name` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; @@ -67811,4 +68210,4 @@ USE `vncontrol`; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-09-09 11:59:03 +-- Dump completed on 2020-09-28 8:35:00 diff --git a/db/export-data.sh b/db/export-data.sh index 0aa9fb319..1d1b41d78 100755 --- a/db/export-data.sh +++ b/db/export-data.sh @@ -44,6 +44,7 @@ TABLES=( cplusTaxBreak pgc tag + time claimResponsible claimReason claimRedelivery
+ Según la información recogida en el sistema adjuntamos la tabla con los registros de las horas trabajadas en el período indicado. + Si está conforme tiene que contestar indicando únicamente la palabra OK, en caso contrario puede contestar detallando la causa de la disconformidad. + Rogamos nos conteste lo antes posible. +

+
FechaDíaFichadasDescripciónHoras
TOTAL