Merge tag 'Hotfix-52' into develop
Finish Hotfix-52
This commit is contained in:
@@ -18,7 +18,7 @@ public class WMSApprovvigionamentoLineeService {
|
|||||||
|
|
||||||
public List<WMSApprovvigionamentoLineeDTO> retrieveFabbisogno(String numOrd, String codMdep) throws Exception {
|
public List<WMSApprovvigionamentoLineeDTO> retrieveFabbisogno(String numOrd, String codMdep) throws Exception {
|
||||||
String sql = "declare @codMdep varchar(5)\n" +
|
String sql = "declare @codMdep varchar(5)\n" +
|
||||||
"set @codMdep = '34';\n" +
|
"set @codMdep = " + UtilityDB.valueToString(codMdep) + ";\n" +
|
||||||
" \n" +
|
" \n" +
|
||||||
" \n" +
|
" \n" +
|
||||||
"WITH withdraw_mtb_colr AS (SELECT cod_mart,\n" +
|
"WITH withdraw_mtb_colr AS (SELECT cod_mart,\n" +
|
||||||
@@ -72,7 +72,7 @@ public class WMSApprovvigionamentoLineeService {
|
|||||||
" INNER JOIN mtb_aart ON grouped_ord.cod_mart = mtb_aart.cod_mart\n" +
|
" INNER JOIN mtb_aart ON grouped_ord.cod_mart = mtb_aart.cod_mart\n" +
|
||||||
" GROUP BY grouped_ord.cod_mart, mtb_aart.unt_mis, grouped_ord.cod_jfas)\t\t\t\t\n" +
|
" GROUP BY grouped_ord.cod_mart, mtb_aart.unt_mis, grouped_ord.cod_jfas)\t\t\t\t\n" +
|
||||||
"\t\t\t\t ,\n" +
|
"\t\t\t\t ,\n" +
|
||||||
" ord_without_positioned_mtb_colt AS (SELECT tmp_ord.cod_mart,\n" +
|
" ord_without_positioned_mtb_colt AS (SELECT DISTINCT tmp_ord.cod_mart,\n" +
|
||||||
" tmp_ord.cod_jfas,\n" +
|
" tmp_ord.cod_jfas,\n" +
|
||||||
" ISNULL(custom_mtb_colr_on_linea.posizione, tmp_ord.cod_jfas) AS posizione,\n" +
|
" ISNULL(custom_mtb_colr_on_linea.posizione, tmp_ord.cod_jfas) AS posizione,\n" +
|
||||||
" unt_mis,\n" +
|
" unt_mis,\n" +
|
||||||
|
|||||||
Reference in New Issue
Block a user