refs #5858 perf: remove bad comments
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
a31b689ae2
commit
dbc3fc8007
|
@ -17,7 +17,6 @@ BEGIN
|
|||
`zoneFk` = NEW.zoneFk,
|
||||
`geoFk` = NEW.geoFk,
|
||||
`userFk` = account.myUser_getId();
|
||||
-- CALL `vn`.`zoneIncluded_checkCollisions`(NEW.zoneFk, NEW.geoFk);
|
||||
|
||||
END$$
|
||||
DELIMITER ;
|
||||
|
@ -42,7 +41,6 @@ BEGIN
|
|||
`geoFk` = NEW.geoFk,
|
||||
`userFk` = account.myUser_getId();
|
||||
|
||||
-- CALL `vn`.`zoneIncluded_checkCollisions`();
|
||||
|
||||
|
||||
END$$
|
||||
|
@ -68,6 +66,5 @@ BEGIN
|
|||
`geoFk` = OLD.geoFk,
|
||||
`userFk` = account.myUser_getId();
|
||||
|
||||
-- CALL `vn`.`zoneIncluded_checkCollisions`();
|
||||
END$$
|
||||
DELIMITER ;
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
DROP PROCEDURE IF EXISTS `vn`.`zoneIncluded_checkCollisions`;
|
||||
|
||||
DELIMITER $$
|
||||
$$
|
||||
CREATE DEFINER=`root`@`localhost` PROCEDURE `vn`.`zoneIncluded_checkCollisions`()
|
||||
BEGIN
|
||||
-- DROP TEMPORARY TABLE IF EXISTS tmp.toCheck;
|
||||
DECLARE vZonesToCheck INT;
|
||||
DECLARE vDone INT DEFAULT FALSE;
|
||||
DECLARE vZoneFk INT;
|
||||
DECLARE vCounter INT;
|
||||
|
||||
END$$
|
||||
DELIMITER ;
|
|
@ -3012,7 +3012,6 @@ INSERT INTO `vn`.`invoiceCorrectionType` (`id`, `description`)
|
|||
(3, 'Error in customer data');
|
||||
|
||||
|
||||
-- Auto-generated SQL script #202312181416
|
||||
UPDATE salix.ACL
|
||||
SET principalId='employee'
|
||||
WHERE id=391;
|
||||
WHERE model ="Notification";
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
const models = require('vn-loopback/server/server').models;
|
||||
const LoopBackContext = require('loopback-context');
|
||||
let conn = null;
|
||||
describe('zone toggleIsIncluded()', () => {
|
||||
beforeAll(async() => {
|
||||
conn = await models.Item.dataSource.connector;
|
||||
const activeCtx = {
|
||||
accessToken: {userId: 9},
|
||||
http: {
|
||||
|
@ -17,7 +15,7 @@ describe('zone toggleIsIncluded()', () => {
|
|||
});
|
||||
});
|
||||
|
||||
fit('should return the created location with isIncluded true', async() => {
|
||||
it('should return the created location with isIncluded true', async() => {
|
||||
const tx = await models.Zone.beginTransaction({});
|
||||
|
||||
try {
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
SELECT
|
||||
z.name
|
||||
FROM vn.zoneIncluded zI
|
||||
LEFT JOIN vn.zone z ON z.Id = zI.zoneFk
|
||||
WHERE zI.id = ?;
|
|
@ -15,21 +15,5 @@ module.exports = {
|
|||
},
|
||||
props: {
|
||||
zoneCollisions: {type: Array, required: true}
|
||||
// zoneFk: {
|
||||
// type: String,
|
||||
// required: true
|
||||
// },
|
||||
// z: {
|
||||
// type: Object,
|
||||
// required: true
|
||||
// },
|
||||
// zn: {
|
||||
// type: Object,
|
||||
// required: true
|
||||
// },
|
||||
// w: {
|
||||
// type: Object,
|
||||
// required: true
|
||||
// }
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue