fix: refs #6861 saleTrackingAdd
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
This commit is contained in:
parent
63c0ec308f
commit
3463036086
|
@ -8,16 +8,8 @@ BEGIN
|
|||
*
|
||||
* @param vSectorCollectionFk Identificador de vn.sectorCollection
|
||||
*/
|
||||
REPLACE saleTracking(
|
||||
saleFk,
|
||||
isChecked,
|
||||
workerFk,
|
||||
stateFk
|
||||
)
|
||||
SELECT sgd.saleFk,
|
||||
TRUE,
|
||||
sc.userFk,
|
||||
s.id
|
||||
REPLACE saleTracking(saleFk, isChecked, workerFk, stateFk)
|
||||
SELECT sgd.saleFk, TRUE, sc.userFk, s.id
|
||||
FROM sectorCollection sc
|
||||
JOIN sectorCollectionSaleGroup scsg ON scsg.sectorCollectionFk = sc.id
|
||||
JOIN saleGroupDetail sgd ON sgd.saleGroupFk = scsg.saleGroupFk
|
||||
|
|
Loading…
Reference in New Issue