Finish Hotfix-90
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -12,11 +12,11 @@ public class Migration_20241119102437 extends BaseMigration implements Migration
|
||||
return;
|
||||
|
||||
executeStatement(
|
||||
"update mtb_lisa set qta_cnf = round(qta_cnf\rap_conv, 5)\n" +
|
||||
"update mtb_lisa set qta_cnf = round(qta_cnf/rap_conv, 5)\n" +
|
||||
"where rap_conv <> 1\n" +
|
||||
"and qta_cnf is not null\n",
|
||||
"update mtb_lisa_data \n" +
|
||||
"set qta_cnf = round(mtb_lisa_data.qta_cnf\rap_conv, 5)\n" +
|
||||
"set qta_cnf = round(mtb_lisa_data.qta_cnf/rap_conv, 5)\n" +
|
||||
"from mtb_lisa_data inner join mtb_lisa on mtb_lisa.cod_art_for = mtb_lisa_data.cod_art_for and mtb_lisa.cod_alis = mtb_lisa_data.cod_alis\n" +
|
||||
"where rap_conv <> 1\n" +
|
||||
"and mtb_lisa_data.qta_cnf is not null\n"
|
||||
|
||||
Reference in New Issue
Block a user