|
|
|
@ -155,7 +155,7 @@ public class MesProductionRecordServiceImpl extends BaseMesService<MesProduction
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!StringUtil.isEmpty(mesProductionRecord.getWorkCenterCode())) {
|
|
|
|
|
sql += " and mpr.work_center_code ='" + mesProductionRecord.getWorkCenterCode() + "' ";
|
|
|
|
|
sql += " and mpr.work_center_code like '%" + mesProductionRecord.getWorkCenterCode() + "%' ";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!StringUtil.isEmpty(mesProductionRecord.getShiftCode())) {
|
|
|
|
@ -163,7 +163,7 @@ public class MesProductionRecordServiceImpl extends BaseMesService<MesProduction
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!StringUtil.isEmpty(mesProductionRecord.getWorkCellCode())) {
|
|
|
|
|
sql += " and mpr.work_cell_code ='" + mesProductionRecord.getWorkCellCode() + "' ";
|
|
|
|
|
sql += " and mpr.work_cell_code like '%" + mesProductionRecord.getWorkCellCode() + "%' ";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!StringUtil.isEmpty(mesProductionRecord.getEquipmentName())) {
|
|
|
|
|