Fix ordine con data errata in saveProductionPlan
This commit is contained in:
@@ -307,9 +307,11 @@ public class ProductionPlanService {
|
||||
"SELECT num_ord, qta_prod\n" +
|
||||
"FROM dtb_ordt\n" +
|
||||
"WHERE cod_jcom = %s\n" +
|
||||
" AND cod_prod = %s",
|
||||
" AND cod_prod = %s\n" +
|
||||
" AND data_ord = %s",
|
||||
saveProductionPlanDTO.getCodJcom(),
|
||||
saveProductionPlanDTO.getCodProd()
|
||||
saveProductionPlanDTO.getCodProd(),
|
||||
saveProductionPlanDTO.getDataOrd()
|
||||
);
|
||||
|
||||
if (numOrdL == null || numOrdL == 0) {
|
||||
|
||||
Reference in New Issue
Block a user